Re: CPU AND peripheral clocks



On Feb 28, 11:11 am, vivek <gvivek2...@xxxxxxxxx> wrote:
Thanks a lot. Very useful for me.

When programming for a chip, to set the initial configuration, how do
i select whether a peripheral should be cpu clock/2 or cpu clock/4??

These peripherals are inside the chip (like Timers etc...)

You need to know how fast you want to run the peripheral and set the
clock speed at the slowest rate that will support that. The only real
reason for using a slower programmable rate is to minimize power
consumption. Otherwise feel free to run the peripheral clock as fast
as it will go!

.