RS08 PWM free running, or software poll required?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RS08 PWM free running, or software poll required?

1,490 Views
stephan
Contributor I
Hi, I have been trying to figure out from the datasheets, but have not yet been able to see if the RS08 (KA8) can handle the pwm generation on it's own after setup.  I am using C from code warrior, but is that software interrupt polling loop required to clear interrupt bits and actually run the PWM based on polling of those bits, or can it run on it's own in hardware.  I know there are no hardware interrupt vectors, but is there hardware there to toggle actually and do the PWM without software setting and clearing bits in that interrupt poll loop?
I see for timer demos that loop is actually required to handle most tasks.  If it can do the pwm itself, are there other things that also are done without interrupt bit polling?

Thankyou for clarification.
Steve
Labels (1)
0 Kudos
Reply
1 Reply

610 Views
bigmac
Specialist III
Hello Steve,
 
It would appear that the TPM module within the RS08KA8 is quite similar to the TPM module within other HCS08 devices.  It should therefore be possible to generate a PWM signal without the need for polling of any TPM flags.
 
The TPM overflow, or the channel interrupts, would only be required should it be necessary to exit wait mode as a result of these events.
 
Regards,
Mac
 
0 Kudos
Reply