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?
解決済! 解決策の投稿を見る。
Yes, this bit must be enabled before using the GPIO
In fact you can find some description in the data sheet
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.
Yes, this bit must be enabled before using the GPIO
In fact you can find some description in the data sheet