Hi!
I'm working with MCF51QE, and I'd like to generate some tones using PWM, more over, center-alinged PWM.
The problem is that I could only generate 1 periodo (only one transition), and I want it to be continuous.
What I do is:
TPM0SC = 0x68;
TPM0C2SC = 0x00;
TPM0MOD = MOD_val;
TPM0C2V = MOD_val;
What should I do for the PWM to be continuous? I guess it could be related to the TOF IRQ.. I try setting MOD value again, setting V value again, and setting both value and nothing happens
Thanks in advance!!