I encountered two problems in configuring FXIO for SPI communication with S32K312:
1. The baud rate configured by EB is 100KHz, but according to the measurement results, it is actually 200K. What's going on?
2. The configuration of the three parameters Cs2Cs, Clk2Cs and Cs2Clk in EB seems to be invalid for FXIO. What's going on?
The following are screenshots of the configuration and test results.
Solved! Go to Solution.
Hello @WeiCh,
1.
Is the system clock set precisely to one of the clock options listed in the RM?
For example: 152. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz)
2.
This is a HW feature of the LPSPI module.
Regards,
Daniel
Hello @WeiCh,
1.
Is the system clock set precisely to one of the clock options listed in the RM?
For example: 152. Option B - Reduced Speed mode (CORE_CLK @ 120 MHz)
2.
This is a HW feature of the LPSPI module.
Regards,
Daniel
Yes,clock config is Option-B.I have found the answer in the latest version of the update record. It should be that there is a problem with the clock source selected when calculating the baud rate.Thinks!