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);
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
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