AnsweredAssumed Answered

S32K144 SPI Speed

Question asked by zhou wei on Mar 4, 2019
Latest reply on Mar 4, 2019 by Lukas Zadrapa

Dear engineer,

In S32K144 working in (Run mode), SPI0 as slave (using DMA), PLLCLK=160MHz,LPSPI0_CLK=BUSCLK=80MHz;

I would like SPI's Baud Rate>20MHz, but when sending data using a 21.5mhz host (STM32), S32K144 will have partial data errors (high half byte of random bytes).The project configuration is shown in the following figure:

The data is correct on the SPI bus, but there are always a few bytes in the S32K144 RXBuffer (20 bytes) that are wrong (Baud Rate>12MHz, less than 12MHz host send interval less than 2ms will also be wrong).

Attachments

Outcomes