Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I have a CY8CKIT-049-4200 prototyping kit and I want to tune the CapSense buttons over UART through its onboard CY7C65211 USB-UART bridge.
I followed the datasheet PSoC 4 Capacitive Sensing 5.0, page 120.
I set up the UART SCB component at TX-only, 115200 bps, 8 bits accordingly.
Then I copied the example code to the main.c, flash the program under bootloader.
After I launch the Sense Tuner I set the communication the same as the UART SCB.
Then after I clicked "connect", I got the error "The requested packet is not found" after several seconds.
In addition, If I try to replug the USB cable, there's a possibility that the cursor of my computer will go mad, it will move randomly and this symptom disappears when I pulled the Tx wire on the PSoC. I tried switching the USB port, reinstall IDE with driver and working on another PC but with no luck.
We would like to say that CapSense Tuner do not support communication via UART. CapSense Tuner GUI supports communication through only I2C.
If you have Miniprog or Kitprog with you, configure the EZI2C block as I2C, please connect it to respective I2C pins, set the Data rate and sub address size accordingly. I attached example projects for your reference.