I successfully used PIT0 by referring to the Gpt_Example_S32K344 routine. However, when I attempted to use PIT1, a hardware error occurred during initialization.
The problem occurred at the disabled PIT1 (write 1 to MCR[MDIS]).
Could you please provide any examples of using GPT Pit1?
Solved! Go to Solution.
Hi,
if error happens during first peripheral register access, most commonly this is due to disabled module clock. So check Mcu module setting if having PIT1 clocked as well for used running mode
BR, Petr
Hi,
if error happens during first peripheral register access, most commonly this is due to disabled module clock. So check Mcu module setting if having PIT1 clocked as well for used running mode
BR, Petr
Hello Petr,
Thank you for your reply. This is precisely the reason why the problem occurred.
BR, Frank