Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top