SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By marcusone
#193147
I am having difficulty finding out if you can control the PWM frequency (not the Duty cycle) of the output of this chip?

I.e. I need a 25kHz signal, which I control the duty cycle. The Arduino if I remember correctly is 100Hz, and there is a way to change that, but only works for 1-2pins using interrupt timers.

I need a chip with multiple output that can be configured for 25kHz.

Thanks,
By kill
#194287
With reservation, i haven't tied this yet, just found this question searching for something else :)
Afaik. according the data sheet the frequency of the led driver is controlled by two things:
1. the clkX clock that is derived from the fOsc clock via the divisor, ( bit 6:4 in the misc register)
2. by having an external clock driving fOsc and setting the clock control register (regClock).

Or by both ....