What frequency do you want? first of all what you need to know is the frequency of CLKIN. Best I can tell that defaults to 24Mhz. from there you can pretty easily find values to fit closely what you need for clock output frequencies. For that matter if you're unsure write a loop that produces a table of values for a given CLKIN frequency. in generating such a table using a CLKIN frequency of say 1MHZ could work quite nicely as the values can be easily scaled from such a table.
Eric On Tue, Apr 1, 2014 at 9:46 AM, Gregory Holst <gregory.ho...@gmail.com>wrote: > So I did a little searching and found some help in the documentation for > the processor http://www.ti.com/lit/ug/spruh73j/spruh73j.pdf on page 880. > It shows a formula for the frequency but I don't understand the M and Ns. > It has something to do with the phase locked loop and creating a super > high frequency clock using some fancy circuitry and I really just need to > find the default values of M and N to confirm that the output will be > around 24Mhz. Can anyone interpret this documentation to give me a better > idea of what I can expect on the CLKOUT pins on the beaglebone black? > > > On Sunday, March 30, 2014 4:01:52 AM UTC-4, Gregory Holst wrote: >> >> I need a clock signal for the LT8500 pwm chips and it would be nice to >> use the clock output on the beaglebone rather than an external oscillator. >> My guess is that it runs at the 24Mhz clock on the beaglebone which will >> work for the LT8500s but I don't really care what frequency it is for my >> application. I'm driving DC motors so a few kHz is all I need really. The >> LT8500s divides the clock frequency to create the PWM frequency. For >> example, an input of 25Mhz gives a 6kHz PWM signal on all 48 outputs. Just >> out of curiosity, >> >> 1) Is the clock frequency configurable? >> 2) Can any of the GPIO pins be configured to produce a clock signal? >> 3) If so, what frequency ranges? >> 4) I read somewhere about timers. How do those work? >> >> I quickly searched the Technical Reference Manual but I didn't see >> anything about the clkout2 pin or the timers. Is there another reference I >> should look at? >> >> Thanks! >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.