This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

regarding SPI communication

while interfacing SPI with EEPROM we generally send some commands before writing or reading
how does slave differentiates that incoming data is DATA or Address or COMMAND?

Parents
  • Note that the slave-select signal is normally extremely important for the SPI listener to synchronize the internal state machine. A single spurious clock pulse would totally confuse a SPI slave about what the next bit received would mean. And it's critical for SPI to have a way to reset the slave state machine since SPI is a synchronous protocol where the slave counts bits to keep track of the state.

Reply
  • Note that the slave-select signal is normally extremely important for the SPI listener to synchronize the internal state machine. A single spurious clock pulse would totally confuse a SPI slave about what the next bit received would mean. And it's critical for SPI to have a way to reset the slave state machine since SPI is a synchronous protocol where the slave counts bits to keep track of the state.

Children