S32K144 SPI Speed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K144 SPI Speed

2,107 Views
zhouwe
Contributor II

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:pastedImage_1.png

pastedImage_2.png

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

pastedImage_3.png

0 Kudos
2 Replies

1,797 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

pastedImage_1.png

Regards,

Lukas

1,797 Views
zhouwe
Contributor II

Dear engineer,

Thank you very much for your reply.

0 Kudos