Hi,
I need 1 millisecond timer program in s12z controller. Please help as soon as possible.
We are using this MC9S12ZI128 controller
We are using MM9Z1_638 for both controller and AFE like intelligent sensor.please suggest 1 millisecond timer program
Hi @baji,
You can use one of these timers: API, RTI (both configurable in the CPMU) or TIM in the output compare mode.
For example, this is API's selectable interrupt periods:
You can refer to the attached example, it utilizes TIM and API.
It is an S12ZVL example, but all the modules are very similar on MM9Z1.
Regards,
Daniel