Quantcast
Channel: Cypress Semiconductor - PSoC 5 Known Problems and Solutions
Viewing all articles
Browse latest Browse all 264

Why SPI is giving wierd behavior?

$
0
0

Hello Every one,

I am trying to communicate my PSOC chip 5LP (LP035) with Raspberry Pi.

PSOC is acting as slave and Pi is a Master.

Between the communication I set up a mask that is responsible for giving back the required channel value to the master (Pi).

My code was working properly but now it start behaving different (I have not change any thing!) .

It only works correct when master send a mask value either 1 or 3. 

I dont understand where the problem is laying.

I will be very thankful to you If any body can help me in it!

Looking forward to hearing from you!

Regards

 


Viewing all articles
Browse latest Browse all 264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>