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

CAPSENSE™ & MagSense Forum Discussions

div
Level 1
Level 1
First question asked Welcome!

Hi, 

I have a CY8CKIT-148 PSoC 4700S Inductive sensing evaluation kit. I am trying to run an example code to test the proximity sensor. When I try to configure in the tuner communication settings, I am facing an error after choosing USB-UART option. 

How do I resolve this issue? 

Thanks & Regards,

Divya

0 Likes
1 Reply
PandaS
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @div ,

The Tuner interface supports two communication protocol: EZI2C and UART. 

To use a UART-based tuner interface, the user must:

  • Initialize the UART driver and interface
  • Use a callback function to facilitate data transmission and reception using the UART driver.

The application program must:

  • Form a transmission data packet
  • Validate the data package on receiver implementation prior to passing to the CAPSENSE™ Middleware.

It is different from the EzI2C configuration for the Tuner communication.

You can refer to this API documentation for detailed explanation:

https://infineon.github.io/capsense/capsense_api_reference_manual/html/group__group__capsense__high_...

Refer to the section: Cy_CapSense_RunTuner() and at last of the explanation there are code snippets as an example.

 

Please let me know if this was the step you missed, or you did follow the above and are still facing some issues.

Warm regards

Sobhit

0 Likes