SPI communication Debug

Status
Not open for further replies.

rvkei11

Newbie level 5
Joined
Feb 26, 2010
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,340
Hi all,

I think in SPI there is no acknowledge bit. How we can ensure the data is written in the slave?

Thanks in advance
 

SPI protocol is not a complete standard like the I2C protocol. You have to check the datasheet of the slave device for how the data frame in sent.
Some slave devices send acknowledge some don't. It all depends on your slave device.

Hope this helps.
 

Hi all,

SPi is not a standard protocol...So to check weather all 8 bits of data has been sent to slave is to check SSPIF bit in cASE OF pic MICROCONTROLLER or buffer full status register...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…