2 of 2 people found this helpful
1. The scan time in CSX is dependent on the number of sub-conversions and the Tx clock speed. Scan time = (N / (Tx Clock freq)), where N = number of sub-conversions.
Increasing number of sub-conversion results in increased signal but also increases the scan time.
2. If you observe the CY8CKIT-041-40xx design files, the touch pad size is 3.5 mm each side. This can be implemented in your design as well and will provide a reliable response.
3. If your project was built in PSoC Creator then the porting is straightforward, the same code can be used. And, it is recommended to use PSoC 4S part over the PSoC 6 for CapSense since there is a noise issue in PSoC 6. CapSense sensors should be assigned to port 6 and 7 only in PSoC 6 (refer the errata section in PSoC 6 datasheet).
This was a very complete answer, thank you so much! I bought the 4100S kit this morning!
It brings other questions to mind:
1. After refering to the CY8CKIT-041-40xx design files you shared, I think my first design was flawed. the CY8CKIT pad has half electrodes at its border. This means, if I understand correctly, that the RX-TX pairing of a single sensing element should be best in the middle of the X formed by the electrodes, as illustrated here:
And that would mean the full electrodes bordering my design were useless and slicing them in half would have helped increasing sensing area?
2. So the CY8CKIT-041-40xx 's trackpad electrode side length is 3.5mm. That's great! is there a reference in the datasheet that would help me understand what are the limitations, minimum side length, and its influence on other parameters of the capsense application (for instance, a formula that would determine how SNR is influenced by electrode size)
3. I never programmed PSOCs on PCBs before, but I plan to do for my next iteration. I was thinking of using a miniprog kit like this one https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-debug-kit and add a JTAG connector to my PCB. Is this the optimal way (when using capsense, in case some pins have conflicting functionalities)?
4. When looking at different 4100S and 4100S Plus chips available on digikey, https://www.digikey.ca/products/en/integrated-circuits-ics/embedded-microcontrollers/685?k=psoc%204100s Are all the options just different packages (except for differences between 4100S and 4100S plus)? If not, is there a document that explains what CY8C4147AZI-S455 has vs CY8C4125LQI-S423 for example?
Thank you again
1. The way CSX touch-pad works is that it excites one row of electrodes called the Tx electrode. It provides a square wave along one row and senses each column for any activity (called Rx electrode). So it is the area between the Tx and Rx that contributes to signal. In the current design, you can add half electrodes in the top layer to increase the sensing are (as you have mentioned).
Whenever there is a finger, the mutual capacitance between the Tx and Rx electrode will reduce and this is sensed by the CapSense IP.
2. We are working on updating the design guide with these information. At present, the reference touchpad layout is the recommended design.
3. Yes. Miniprog3 is the preferred programming tool. You can have a 5 pin connector with SWDIO and SWDCLK lines to the correcponding pins in the IC to program/debug. If the SWD pins are used for CapSense design, the device can still be programmed, but debug functionality will not be present.
4. No, PSoC 4100S and 4100S plus are different architectures and are different family of controllers. PSoC 4100S Plus has a newer CapSense IP compared to 4100S. The PSoC 4100S Plus family of devices offer larger flash memory, more peripherals, and more I/Os when compared to the PSoC 4100S. You can refer this KBA for referenece: Differences between PSoC 4100S Plus and PSoC 4100S Family of Devices - KBA222580