spi eeprom communication

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

spi eeprom communication

899 Views
nag159
Contributor I

Hi,

I am using AT25640 SPI EEPROM to communicate with MPC5634M processor via DSPI port.

 

I am able to see the commands send to the EEPROM but there is no response from EEPROM. Whenever I try to read data from EEPROM i always see 00 on the data out line of EEPROM.

I tried to read the status register first.

 

The following are the steps I follwed to read the status register.

 

1. make CS low

2. send read status register command

3. read data on data out of eeprom  
4. send dummy byte  

5.  read data on data out of eeprom  
6. make3 CS high

 

Thanks in advance

Regards,

Nagaraju S

Labels (1)
0 Kudos
1 Reply

437 Views
FridgeFreezer
Senior Contributor I

A few stupid questions:

- Are you sure IN/OUT are the right way round?

- Have you proved the EEPROM works with another board / processor / BusPirate?

- Is your SPI working with other devices?

0 Kudos