I'm new to the ARM-world and want to program an ATSAM3U4C.
My problem is to adjust the correct clockspeeds because the data sheet is really complicated.
Is there anyone who could tell me what I have to program to get the PLL to 96MHz?
>>My problem is to adjust the correct clock speeds because the data sheet is really complicated.
Usually just some multiplication and division at the end of the day, with some attention to comparison frequency and maximum VCO frequency.
Perhaps look at some other example code, not a part I'm using. Paste in the default clock setting code for review.
by following the instructions in the datasheet I'm not getting the PLL working correctly.
I know that the settings are "just" multiplications or divisions, but it seems that the datasheet is missing information about that procedure.
I do not have any example code other than the ASF from Atmel and this code is so confusing...
So I would be thankful for a concise help.
All other functions (Timers, External Interrupts etc.) are working fine.
Note that this has nothing to do with ARM; this is a manufacturer-specific implementation detail - so you really need to go to the manufacturer's documentation & support for this question.
https://www.microchip.com/wwwproducts/en/ATSAM3U4C - see the 'Documents' tab.
Have you looked at Atmel Studio to see what examples are provided ?
Or Atmel START ?
To understand what "belongs" to ARM, and what is manufacturer-specific, see:
thanks for your reply.
I tried to use the example programs provided by AtmelStudio7 but unfortunately have found no solution yet.
Again, the place to ask about that is in the Microchip SAM forum: it has nothing to do with Keil or ARM - it is entirely proprietary and specific to the SAM parts.
View all questions in Keil forum