Other Parts Discussed in Thread: MSP430F5419A
Hi all,
I am trying to interface my MSP430F5419A with M95-M02 (SPI based external EEPROM from ST micro). I don't have much experience in SPI. I have just followed few links on the web and trying to read and write the data. But I want to know the flow of code for this SPI IC first. I have pointed out the flow. Can you please tell me is it true ?
1) Initiliaze SPI first.
2) To Send dummy data in spi tx buff and recieve the same in rx buff
3) Then Write data to memory (16 bit addr 8 bit data 0xa0). Each and every byte is echoed in rx buff
4) Then Read memory by sending dummy data 0x00.
Nikunj