Part Number: TMS320F280038-Q1
Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi Team,
We are using the TMS320F280038 - C2000 microcontroller family in our project. In that we have to communicate with M93C66 - EEPROM through SPI .
Connection between both two,

We are using SPI B for this communication,
initialization of the SPI B as follows

Sending and receiving the data, we follow the below routine

I follow the below procedure for writing to EEPROM IC,
1. send 0x04C0 command for enable the IC
2. send write command + address (ex., 0x059D)
3. Send the value (ex.,0x1234)
4. Send 0x0400 command for disable the IC
For reading purpose i follow the below routine,
1. send 0x04C0 command for enable the IC
2. send read command + address (ex., 0x069D)
3. receive the value from SPI Rx buf
4. Send 0x0400 command for disable the IC
Observed the SPI B registers also, the data send the SPITx Buf correctly,
But all the time i receive the 0xFFFF value from SPI Rx Buf .
Kindly suggest any point, i missed out.
Advance thanks and regards,
B.Punitha.