GPIO Clock Gating on S32K118

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

GPIO Clock Gating on S32K118

Jump to solution
2,824 Views
zubizeratta
Contributor II

Hello,

I am checking the clock configuration of S32K118 and noticed that there's a PLATCGC register under System Integration module: 

"CGCGPIO - Controls the clock gating to the GPIO" 

This CGCGPIO bit is not mentioned any other place in the reference manual document. What is the function of this bit? Should we enable the gating before using GPIOs? 

 

Tags (4)
0 Kudos
Reply
1 Solution
2,791 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@zubizeratta

Yes, this bit must be enabled before using the GPIO

In fact you can find some description in the data sheet

Senlent_0-1713260894136.png

 

View solution in original post

0 Kudos
Reply
2 Replies
2,780 Views
zubizeratta
Contributor II

Hello,

Thanks for the reply.

Yes, it's only mentioned in SIM module section, but I think it would be beneficial to do the same in GPIO section. Overlooking this could lead to losing some time on configuration of GPIOs. By the way It seems that there's a duplication error there so it should be "GPIO Clock Gating Control".

Regards.

2,792 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@zubizeratta

Yes, this bit must be enabled before using the GPIO

In fact you can find some description in the data sheet

Senlent_0-1713260894136.png

 

0 Kudos
Reply