Problem interfacing DSP28335 device with EEPROM for SPI communication

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem interfacing DSP28335 device with EEPROM for SPI communication

1,096 次查看
bjrajendranath
Contributor I

Hi all,

I connected DSP TMS320F28335 to EEPROM 25AA512 and while debugging I am seeing the SPI registers for checking whether transmission and receiving of the data had done properly at the same time checking in the SCOPE too but I am not able to see the SPIRXBUF register and signals in the SCOPE with the data what I had stored previously in that address. I came to know that the WRITE action is not at all happening.This, I came to know by polling the WIP (Write in Progress) in the status register of EEprom 25AA512

when I am using while (!(SPI_EEPROM_Read_Status()&0x0001)); it is not coming out of the loop.But the thing is eeprom responding to RDSR instruction by giving back the proper signals of Status Register on the SO pin,and it is not responding to READ instruction bcoz WRITE instruction didnt do the job properly.

I attached the file (code) I wrote.

I have tied the WP BAR  to high and WPEN=1 and I made BP1 & BP0 as 0 & 0 only, still I am not able to write

 

Can any one help me where I went Wrong.

Thanks in advance

B J

Original Attachment has been moved to: SPI_New.txt.zip

标签 (1)
0 项奖励
回复
1 回复

786 次查看
johnlwinters
NXP Employee
NXP Employee

This particular discussion group serves Freescale devices and those who purchase them.

My understanding is the device in question may not be a Freescale device.

Is this true?

0 项奖励
回复