2021-05-20 05:33 AM
Hello. I am trying to read ReRAM( FUJITSU: MB85AS4MT) by using HAL_SPI_Receive().
But the LSB is recognized as 0 even the reply from ReRAM is returning 1 to LSB.
(ex: '11111111' is recognized as '11111110', or '01010101''' is recognised '01010100' )
As far as I see the signals by the Oscilloscope, ReRAM returns the proper signal. I guess it is an STM32 board side problem. Could someone solve the issue?
System details
STM32F429 Discovery1
ReRAM : MB85AS4MT(ReRAM)
The picturs shows ReRAM read operation part, singal when ReRAM reply '11111111' but STM32 recognize it as '11111110' and my implementation.
Thank youvery much for your help.
Solved! Go to Solution.
2021-05-20 02:20 PM
Maybe the Corrupted last bit of data and/or CRC, received in Master mode with delayed SCK feedback erratum?
How is OSPEEDR set for SPI_SCK pin?
JW
2021-05-20 02:20 PM
Maybe the Corrupted last bit of data and/or CRC, received in Master mode with delayed SCK feedback erratum?
How is OSPEEDR set for SPI_SCK pin?
JW
2021-05-25 09:16 AM
Hello JW. Thank you for your reply.
The OSPEEDR set for SPI_SCK pin was "Low" as attached image.
After changing it to "Very High", it works properly. Thank you very much.