gpio not works after change clock settings

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

gpio not works after change clock settings

344 次查看
pasa_kevin_y
Contributor III

on s32k324, when we change clock settings from 160Mhz PLL to 48Mhz FIRC, the GPIO does not work anymore.(all gpio, not any specific pin)

 

we use RTD MCAL API 

Mcu_InitClock(), to change the clock settings.  
 
But after we change from PLL top FIRC, we found if we read GPIO pins, they always return high even the HW is low.
 
Any suggestions?
0 项奖励
回复
2 回复数

317 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

There is RTD example Mcu_Example_S32K344 which switch clock settings by Mcu_InitClock API. Have you test it?

Did you enable the clock of SIUL2 in Clocks Tool?

Mcu_InitClock ClockConfig.png

If it still doesn't work, please send me a simplified test project.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

153 次查看
pasa_kevin_y
Contributor III

We found we have to call Mcu_Init()

0 项奖励
回复