PSoC™ 4 Forum Discussions
Hello
We are using CYBLE 222014 as GATT Server, with this module we are facing issue while scanning in client side.
Current Advertising interval is 50ms and when we scan in client side receivng different RSSI values even in the same position RSSI Value changes to ±20 how we can make this get consistent RSSI Value.
In our solution we are keeping multiple ble devices in 3 feet distance when user stands near to ble its should show nearest one currently as RSSI changes to ±20 we are unable to archive this kindly provide best solution for this or with any Cypress module if we can able to archive this please let us know.
Show Less
When I finish compiling I see the (very helpful) line:
Flash used: 80528 of 131072 bytes (61.4%). Bootloader: 13312 bytes. Application: 67088 bytes. Metadata: 128 bytes.
How can I access the highlighted numbers (post-compile) to run a validation script?
Show LessGreetings - need to transfer 80KB firmware data from an EEPROM (M24M01) to a ST VL53L5CX ToF sensor utilizing a PSoC 4200 series (cy8c4245azi-473) and have a couple Qs?
1. Since I'd be reading, then writing data in chunks, from a PSoC point of view is there any magic number for an optimum buffer size that woks best with the I2C HW?
2 The I2CMasterReadBuf() and I2CMasterWriteBuf() functions... I went through the examples looking for some guidance and came up empty. I assume I'd still be required to precede those functions with the typical Start/WriteRegisterAddr/etc commands?
TIA,
Terry
Show LessDear Receiver,
I would like to test simple "capture function" of the timer counter block.
Because I want to know how long I pressed the switch (SW2). But my test is failed. Could you help me to check my code?!
My test board is CY8CKIT-044.
Attached file 1 is my test project. It's a full project which be compressed in ZIP file.
Attached file 2 is my *.cysch of the test project.
Attached file 3 is my *.pin setting of the test project.
Attached file 4 is my capture setting of the test project.
Attached file 5 is my main.c code of the test project.
Could you help me to check what's wrong with my project ?! (IO function is ok, but capture function is not ok!)
Thank you so much.
Show LessWe are integrating Anjay LWM2M client on Murata Type 1LD (cypress psoc). if mbedTLS is enabled there is an error trying to register. Where as the code works in non -secure mode. Also the same code works fine in mbedTLS mode from linux machine. So this has to be an issue with Anjay LWM2M and WICED integration. Trying to debug and not sure what the following error means, any help is much appreciated
Output Bytes:48 2 B4 66 D 88 34 D0 23 5B 8B 31 B2 72 64 11 28 39 6C 77 6D 32 6D 3D 31 2E 30 C 65 70 3D 74 65 73 74 62 6F 61 72 64 5 6C 74 3D 36 30 FF 3C 2F 31 2F 30 3E
send_ssl socket= 0x20015b18 , buffer= 0x20017014 , buffer_length= 53
Going for mbedtls_ssl_write
Handshake not NULL
Client id (null) client id length 0 Host name try-anjay.avsystem.com psk (null) psk_leng 0
Psk key P4s$w0rd ident testboard
Hand shake not over
MBEDTLS_SSL_CLI_C end point 0
inside mbedtls_ssl_flush_output
inside mbedtls_ssl_flush_output
avs_bio_send
avs_net_socket_send
Handshake return -26880
Going for mbedtls_ssl_write
Handshake not NULL
Client id (null) client id length 0 Host name try-anjay.avsystem.com psk (null) psk_leng 0
Psk key P4s$w0rd ident testboard
Hand shake not over
MBEDTLS_SSL_CLI_C end point 0
inside mbedtls_ssl_flush_output
Handshake return -76
wrap_handshake_result Result -76, security mode 1, dane_ta_certs (null) verify_result 0
Hand shake result : -76
socket bio_error
send failed 0 53 : -76
AVS_COAP_CLIENT_REQUEST_FAIL
failure while receiving Register response: Message too long
mapping CoAP error Message too long to network error
ANJAY_REGISTRATION_ERROR_NETWORK
could not register to server 1
Hi,
I was using CYBLE 014008/214015 with WS2812 single LED.I used the following code from Neo Pixel(https://www.hackster.io/juanespj/psoc-neopixel-easy-lightweight-library-ac6884) to set led values.
The program just turns ON the LED for Red Green and Blue with a delay of 1 sec.
Now I was trying to use the same code in 202007 -01. It does not work(It glows LED but not same color).
I believe both are running @48MHz and it should have worked.
Can any one help us to get it working?
I could see that the CPU to transfer 24 bit value(8R +8G +8B) will take nearly 1.2 msec*24,which is quite a lot.
Is there any better/faster method to get it working?
Hi!
I am using the CY8C4045FNI-DS400 (20-WLCSP) in a new design to manage some devices over i2c.
KitProg2 USB loaded with latest KitProg3 firmware.
I receive the error in the screenshot.
Can you help?
Show Less
Hello,
I would like to preform the following.
Save by the application some info on the Emulated EEPROM and then access this information while in boot mode.
is this possible?
if yes, how?
Thanks
Show LessDear Sirs and Madams,
We are considering using PSoC4S Plus as a segment LCD driver.
The data sheet for PSoC4S Plus has the following description:
-- PSoC4S Plus device datasheet URL
The data sheet for Segment LCD componet has the following description:
-- Segment component datasheet URL
We would like to use it in 8 coms and 32 segments, but is the information in the device datasheet correct?
The device under consideration for use is CY8C4126AZI-S445.
So the number of GPIOs in the 64-TQFP package is 54.
The total GPIO for 8 coms and 32 segments is 40, so the number of GPIOs is fine.
For reference, in PSoC Creator, 8 coms and 32 segments did not cause a build error in the CY8C4126AZI-S445's project.
Regards,
Show Less