Capsense Outputs

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

cross mob
Anonymous
Not applicable

 Hi.

   

Is it possible to access the output from a capsense module in hardware? I.E if you want to connect the outputs from the capsense module and connect that in hardware to a LUT.

   

I am looking forward to your response.

   

Regards

   

 

   

Mattheus

0 Likes
5 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Why do you want to do that?

   

Capsense outputs are analog, so they cannot drive the digital inputs of a LUT.

0 Likes
Anonymous
Not applicable

 Hi Hli.

   

I think my first message was not clear enough.

   

I want to use the capsense to detect the buttons but when 2 buttons is is pressed at the same timeI want to change state. So the input to the LUT must only go high when the button is positively pressed.

   

 

   

Regards

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

No, thats no possible out of the box. You would need to build your own Capsense component.

   

The Capsense component is build from multiple building block (UDB Timers, PRS, IDACs).

   

You can enable the hidden components in Creator, so you have them available. Then import the CapSense component in your project so you can have a look at them ('Component' tab in the project pane, right-click, Import Component, 'Capsense*' from 'CyComponentLibrary').

   

The problem here is that the output configuration of the GPIOCapsense component would need to change with the configuration (since the number of buttons and their type can change rather freely)

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

At end of scanning a sensor in CapSense there is an interrupt stub called where you may place any code. To generate a hardware signal you can use a control register component. The LUT could be saved and replaced by program logic if you want.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Hi Bob.

   

Thank you for your help. I will try that.

   

 

   

Regards

0 Likes