The freeze mode of the PIT timer in MPC5775ERM is described, but in my impression, the PIT is set to freeze mode. During online debugging, the timer will count. Is there a difference between the freeze mode between PIT and STM? In other words, after these two are set to freeze, they will not run during online debugging, or will the operation be suspended only when the online debugging is paused or interrupted?
Hello,
The counters are freeze in case you are in debug mode. Once you execute for example step in debug your core is executing instruction the counter will run and stop on next instruction halt. The counter will increment as it would during the instruction execution in real time. So you can see its proper value on next instruction.
So you can see in debug mode how your counters increment. If you require the counter to be off in debug mode then simply disable them in debugger via script or via direct write to register.
Best regards,
Peter