Nicholas Cooke

PWM on 52223EVB

Discussion created by Nicholas Cooke on Feb 12, 2007
Latest reply on Feb 13, 2007 by Paolo Alcantara Cadillo
I am trying to get the PWM up and running on the 52223EVB but am battling to fathom out hte PAR for Port TD.
 
Chapter 12 shows the various ports and the memory map does not show anything for PORT TD, unless I am overlooking something simple (more than likely).
 
I have calculated the scaling value for the PWMSCLA register and for clock A but am a little confused as to the vlaue that is requried for the period register PWMPERn register.
 
Do I have to calc this value or is this a counter that is generated.
 
Thanks

Outcomes