[En-Nut-Discussion] ARM9 - PLL setup

Harald Kipp harald.kipp at egnite.de
Wed Aug 20 09:25:41 CEST 2008


Alain M. wrote:

> I am getting confused because there is a label:
> .global set_pllb
> but it sets CKGR_PLLAR (main) and nowhere is a setup for PLLB (for USB).
> 
> 1) Does anyone have an explanation for that?

The SAM7 and SAM9 crt inits are a mess.

When doing the application note for Atmel, I had a lot of trouble with 
clocks and changed them often in a hurry. Some cleanup is needed.


> 2) should I produce a dif that just fixes the PLLA problem and leave the 
> other for someone else to do? I don't have any means of testing it...
> 
> 3) should I then just add some comment that it is nedded?

I intend to have the initial clock settings configurable. Great, if you 
can provide a diff. I'd apply this first before adding more code to make 
it configurable.

Harald






More information about the En-Nut-Discussion mailing list