- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can use "if(!(SPIS_ReadRxStatus() & SPIS_STS_RX_FIFO_NOT_EMPTY))" instead of "if(SPIS_GetRxBufferSize())"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you ANKS for your reply.
I tried that thing but i am still getting garbage values.
Do i need to slow down the clock?