Hello, I have a problem when using S32K312.
The CAN CLOCK I used originally was 60M, but I want to change it to 40M.
But after I changed it to 40M, the LPUART1 I used could send messages but could not receive messages (LPUART1 is normal at 60M).
The problem is that I see that the CLOCK of LPUART1 is AIPS_SLOW_CLK. Even if I change the CAN CLOCK from 60M to 40M, the value of AIPS_SLOW_CLK is not changed.
How can I solve this problem?
The following is the CLOCK setting of CAN CLOCK60M
The following is the CLOCK setting of CAN CLOCK40M
The following is the setting of LPUART1
The following is the UART send/receive function I use
Thanks
解決済! 解決策の投稿を見る。
Hi,
keep the CORE/PLAT/SLOW clk ratios as stated in the chapter 24.7.2 System clocking configurations of the device RM. So for Option B config it is 1/2/4. If you need 40MHz on AIPS_PLAT_CLK, you should lower other clks as well to keep ratios as stated for this config.
BR, Petr
Hi,
keep the CORE/PLAT/SLOW clk ratios as stated in the chapter 24.7.2 System clocking configurations of the device RM. So for Option B config it is 1/2/4. If you need 40MHz on AIPS_PLAT_CLK, you should lower other clks as well to keep ratios as stated for this config.
BR, Petr
Thank you very much for your reply