Hi everybody!
I want to send a byte with SPI in LPC2378 and i initialize the SPI block according to the user manual.
But my problem is here that when i put a byte (for example 0x9F) in S0SPDR register, the value of this register equal with 0xFF and no change at the next.
please help me to solution of this problem.
thanks a lot !
HI RAMZEI.
Am also got the same logic.But when am tryed to get sample code for the SPI protocol there all of them used 1 syntax(in my first reply)after getting this logic i was used the 2 syntax (in my first rwply).
If u have any idea about below give me solution for that one please.
I am using the landtiger development board(LPC1768) in that one they given one data flash(AT45db161D) they given communicate this one by using SPI protocol.When am try to Tx & Rx data from that am not able to getting.I was observed the CS,MOSI pins output by using oscilloscope there am getting what am given the values in the code but am not getting any signal change in MISO it will be always in High state only,finally i was tried to read the device id then also am not getting any response from that data flash,By using multimeter i was checked the that data flash i got the there is continuity, the IC was working am getting CS and MOSI pins values then why it was not responding can u give solution for this one please from last few days am working on this only.
If u don't mind can u give me Ur social media ID there I'll contact.
"VIKRAM"