2021-08-10 11:25 PM
I have written 0x96 in an external flash at 0th address for 256 lengths and while reading it back the first byte had 0x16 and the rest of the bytes had 0x96 and this issue is observed occasionally.
Settings:
MCU: STM32L433
SPI: SPI 1 in DMA
Bit rate: 24Mhz
Pclk2: 48Mhz
Steps:
Found a similar issue discussed is the stm32L4 errata sheet where if SPI is configured in high frequency we might see an extra clock at the end of the last transfer.
In my case, I have used PCLK as 48Mhz, SPI bit rate as 24Mhz, and BR[2:0] as 000. Would the issue mentioned in the errata sheet occur in my case? Is that applicable to my setting?
Thanks