Hi,
I have a S32K344 evaluation board. I am configuring the LPSPI_0 to transfer 16-bit data at 8MHz. The CLK is outputted on PTC8 (standard plus pad). As you can see in the figure below, the CLK periodicity is incorrect and it is changing!!! Why CLK is behaving like this?
LPSPI_0 functional clock is 80MHz
CCR1[SCKHLD] = CCR1[SCKSET] = 4
When the bus rate is decreased to 5MHz, the CLK behaves correctly.
已解决! 转到解答。