Psoc4/How to change CapSense CSD[V2.60] to CapSense[V6.0]

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Leo_liu1
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

Hi all,

CapSense component that my project used is CapSense CSD[V2.60],now i want to change it to CapSense[V6.0] on the basis of the original project.

So,what code that i should modify to make it works,project attached.

Thanks.

pastedImage_0.png

Best Regards,

Leo

0 Likes
1 Solution
BrandonP_16
Employee
Employee
5 sign-ins First question asked 10 solutions authored

Hi Leo,

Actually CapSense CSD[V2.60] and CapSense[V6.0] are not compatible each other. For detail, please refer the CapSense[V6.0] component datasheet "Page 1. Note" section. (Right click on CapSense[V6.0] in Component Catalog)

You can also find changed API list in Migration Guide section.

Thanks,

Brandon

View solution in original post

0 Likes
4 Replies
BrandonP_16
Employee
Employee
5 sign-ins First question asked 10 solutions authored

Hi Leo,

Actually CapSense CSD[V2.60] and CapSense[V6.0] are not compatible each other. For detail, please refer the CapSense[V6.0] component datasheet "Page 1. Note" section. (Right click on CapSense[V6.0] in Component Catalog)

You can also find changed API list in Migration Guide section.

Thanks,

Brandon

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Brandon,

When I use iic to make psoc4 communicate with main chip(stm32f072),main chip receive iic buffer from psoc4 。

When I touch button(such as 7),received data is right,but when I release my finger ,the received data (version number is 2 but received 1 ) is wrong 。

Could you please give me some suggestion,thanks。

My iic buffer ,received data attached。

0 Likes

Hi Leo,

I cannot understand with your logging data.

1. What is "01 FF FF" data, which I marked blue box? It seems the data is corrupted during communication.

2. This logs seems UART data, not I2C. Do you capture this data through main chip UART or PSoC4 UART?

LogQ1.png

I think if you share the PSoC project file, we can solve this problem easier.

Thanks,

Brandon

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Brandon,

Iic buffer has 3 param,version = 0x02, key means button number(0xff means release),cmd = 0xff.

Data is iic buffer that main chip received from psoc4 though main chip uart.

0 Likes