How to output the capsense raw data?

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

cross mob
user_1398601
Level 1
Level 1
5 replies posted 5 questions asked First reply posted

Hi:

I am using CY8C4247AZI to proximity,Software is CapSense V7.0,

I want to output capsense raw data via Can?

I look at the program and cann't find the right data to output.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

Attached .c/.h file defines write&read access to general parameters of sensor through API.

View solution in original post

0 Likes
3 Replies
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi user_1398601​,

You can refer the following example.  This code example demonstrates the configuration and use of the CAN Tx and CAN Rx mailboxes. Five CapSense buttons are configured to control the ON/OFF status, color, and brightness of an RGB LED. This data is transmitted over the CAN, and at the CAN receiver, the RGB LED is configured to reflect the received data.

https://www.cypress.com/documentation/code-examples/ce97311-psoc-4-m-can-simplex-communication-capse...

The project uses older version of psoc creator and capsense. Please use this as reference to create your own project.

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

There is a "Data Structure" section in the CapSense datasheet to describe the internal data like raw counts.

GS004823.png

Some methods are described to access to the data.

Regards,

Noriaki

0 Likes
lock attach
Attachments are accessible only for community members.
Vison_Zhang
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 250 sign-ins

Attached .c/.h file defines write&read access to general parameters of sensor through API.

0 Likes