cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Leo_liu1
Contributor

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
Reply
1 Solution
BrandonP_16
Employee

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
Reply
4 Replies
BrandonP_16
Employee

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
Reply
Leo_liu1
Contributor

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
Reply
BrandonP_16
Employee

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
Reply
Leo_liu1
Contributor

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
Reply