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 项奖励
回复