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

How spi communication is done

1. Suppose i am having a spi master and spi slave (both are lpc2468 based)what is the procedure to read some bytes from a particular address of spi slave i.e what we all need to do like send some commands, data, some opcodes. how is request sent to read particular number of bytes

2.I went trough arduino website (arduino.cc/.../SPIEEPROM) and studied about spi communication between master and eeprom acting as slave.I came across opcodes over there but i was not able to understand what basically opcodes are and what is there significance.

Parents
  • sir the thing which u told me in case of spi, i was not able to find it anywhere on google.
    i studied too much tutorials on google about spi but none mentioned this thing.I nowhere found that master also needs to send same number of dummy bytes as the number of bytes it is reading.After researching a lot i thought of taking help from keil support.

    i am aware of i2c but just asked thinking that i might get some new thing to learn about i2c. as i got in case of spi

Reply
  • sir the thing which u told me in case of spi, i was not able to find it anywhere on google.
    i studied too much tutorials on google about spi but none mentioned this thing.I nowhere found that master also needs to send same number of dummy bytes as the number of bytes it is reading.After researching a lot i thought of taking help from keil support.

    i am aware of i2c but just asked thinking that i might get some new thing to learn about i2c. as i got in case of spi

Children
No data