Re: [beagleboard] PWM Subsystem Time Base input clock frequency?

2014-02-03 Thread Charles Steinkuehler
On 2/2/2014 10:34 AM, robjsstew...@gmail.com wrote: > Thank you for the reply Charles. That makes sense. The section in the > TRM on the Time-Base submodule, 15.2.2.3, pp 2004 identifies the "CPU > system clock" SYSCLKOUT as the source clock for the submodule. I'll > use your information in my driv

Re: [beagleboard] PWM Subsystem Time Base input clock frequency?

2014-02-03 Thread robjsstewart
On Friday, January 31, 2014 5:57:32 PM UTC-5, Charles Steinkuehler wrote: > On 1/31/2014 12:38 PM, robjsstew...@gmail.com wrote: > > > According to the TRM, the Time Base module on each of the PWM > > > subsystems is clocked directly from the cpu clock. That is, its being > > > clocked at a peri

Re: [beagleboard] PWM Subsystem Time Base input clock frequency?

2014-02-03 Thread robjsstewart
CPU Friday, January 31, 2014 5:57:32 PM UTC-5, Charles Steinkuehler wrote: > On 1/31/2014 12:38 PM, robjsstew...@gmail.com wrote: > > > According to the TRM, the Time Base module on each of the PWM > > > subsystems is clocked directly from the cpu clock. That is, its being > > > clocked at a per

Re: [beagleboard] PWM Subsystem Time Base input clock frequency?

2014-01-31 Thread Charles Steinkuehler
On 1/31/2014 12:38 PM, robjsstew...@gmail.com wrote: > According to the TRM, the Time Base module on each of the PWM > subsystems is clocked directly from the cpu clock. That is, its being > clocked at a period of 1 nsec. Where exactly are you seeing this? Virtually nothing on the chip but the A

[beagleboard] PWM Subsystem Time Base input clock frequency?

2014-01-31 Thread Peter Baltus
I guess I would argue that with 16 bits the counter can count up to 65535 and wrap around after 65536 counts of 128ns max. That gives a max period of the PWM of 8.39ms and a min frequency of 119Hz - I think. But it has been a long day, so I might very well be very wrong ;-) Peter -- For mo

[beagleboard] PWM Subsystem Time Base input clock frequency?

2014-01-31 Thread Peter Baltus
I guess I would argue that with 16 bits the counter can count up to 65535 and wrap around after 65536 counts of 128ns max. That gives a max period of the PWM of 8.39ms and a min frequency of 119Hz - I think. But it has been a long day, so I might very well be very wrong ;-) Peter -- For mo

[beagleboard] PWM Subsystem Time Base input clock frequency?

2014-01-31 Thread robjsstewart
According to the TRM, the Time Base module on each of the PWM subsystems is clocked directly from the cpu clock. That is, its being clocked at a period of 1 nsec. It can be prescaled down to 1/128,for a period of 128 nsecs. The period and the counter compare registers are only 16 bits wide so th