I need to generate one negative pulse of 10us and repeated (period) in 600us and another equal but with 30us of delay from the 1st.
I try with PWM without sucess because the shift is more then 0xff.
The idea is to use output compare and interrupt to toggle the state in the two different counter, one for the duty and one for the period. Really I'm lost in the register of MCF_GPT.
Did some have how to initialize GPT port to generate a pulse and control it under interrupt ?
Thank you in advance.