spi eeprom communication

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

spi eeprom communication

1,659件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,197件の閲覧回数
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 件の賞賛
返信