STM32L462RE - SPI slave duplicated first word
Hi,
I am porting a project from STM32F103RE to STM32L462RE.
I have an issue with the SPI slave.
My problem is that in the data I send back to the master always has the first word duplicated.
I found out that more people have a similar issue:
The code works fine on F103 but duplicated the first word when I ran it on L462.
The STM32 is a SPI salve uses DMA cpol and cpha are 0 Spi click is around 11Mhz.
I reset the SPI before every read/write operation.
The master is embeded linux with the same settings.
Here is a snip of the spi lines with a logic analizer.
F103:
L462:
Any idea what the issue could be and how could I fix it?
