2 Replies Latest reply on Jul 10, 2017 11:31 PM by anks

    Why SPI is giving wierd behavior?


      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!