MPC5748G SPI EEPROM

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

MPC5748G SPI EEPROM

910 Views
18647340486
Contributor II

Dear all,

I am using SPI to read and write to EEPROM(m95512), but I read result is 0xFF using the following interface :

SPI_MasterTransferBlocking(&spi_motorInstance, &cmd[0], &rec, 1, 1);

0 Kudos
2 Replies

737 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

- what do you see on SIN pin, is there different value sent from EEPROM? Can you share signals you have on SPI bus?

- what is the status returned by SPI_MasterTransferBlocking function?

- last parameter is timeout (in ms), you can try to extend it.

BR, Petr  

0 Kudos

737 Views
18647340486
Contributor II

Thank you. I have resolve to this problem. It need to wait a few times between two frames to send.

18647340486

|

|

邮箱:18647340486@163.com

|

Signature is customized by Netease Mail Master

0 Kudos