RS08 PWM free running, or software poll required?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

RS08 PWM free running, or software poll required?

1,244件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
1 返信

364件の閲覧回数
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 件の賞賛
返信