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.
@Per Westermark sir can u please give similar explaination for i2c. that how communication is started and what the master need to send to devices for communication as you explained for spi.it helped me a lot
Can I take it that you don't much like books or using Google?
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