SPI slave and CapSense

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.
Anonymous
Not applicable

I've been working on using the PSoC 4 as a data acquisition ucontroller, communicating with a master uC as a slave SPI device. I've managed to get the master and slave communicating, and have a capsense block configured, but as soon as I call CapSense_Start() and CapSense_initializeAllBaselines() the SPI communication stops working.

   

The commented code is what I would like to have implemented, and the uncommented code is working code that just mirrors back a message to the SPI master. Any ideas as to why capSense causes SPI to fail?

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

Welcome in the forum!

   

I cannot open your project. Can you please post your complete project? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes