gpio not works after change clock settings

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

gpio not works after change clock settings

326 Views
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 Kudos
Reply
2 Replies

299 Views
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 Kudos
Reply

135 Views
pasa_kevin_y
Contributor III

We found we have to call Mcu_Init()

0 Kudos
Reply