user32078: I want to change the clock frequency of the Arduino Due. The default value of the main clock, according to the SAM micro-controller, is 4 Mhz. But I found in some forums that it is 84 Mhz. But I need to work with it at 16 Mhz. Hence, I need to access to the low-level clocks of the Due and change its operating clock frequency.

How can I find the low-level registers of the Due in the Arduino IDE? Any header files for the Due to change its clocking?
Is it possible to write code for the Arduino Due via Atmel Studio 7? When I tried compiling code in AS7, Chip.h was not found. How to avoid this? Is it possible with "micro" IDE in AS7? Can I access registers of the Due via AS7 and change its clocking?
I cannot find the "sam" library in the Arduino IDE. Only avr is present. How can I find this sam library?


user4143: 
How can I find the low-level registers of the Due in the Arduino IDE? Any header files for the Due to change its clocking?

Read the datasheet / programming manuals for the chip. The Arduino Due is arranged to run at 84MHz. 

I cannot find the "sam" library in the Arduino IDE. Only avr is present. How can I find this sam library?

Install it. The IDE is (fairly) modular these days.
But I have to ask... why do you want to run at 16MHz?

32078: <p>I want to change the clock frequency of the Arduino Due. The default value of the main clock, according to the SAM micro-controller, is 4 Mhz. But I found in some forums that it is 84 Mhz. But I need to work with it at 16 Mhz. Hence, I need to access to the low-level clocks of the Due and <strong>change its operating clock frequency</strong>.</p>

<ol>
<li><p>How can I find the low-level registers of the Due in the Arduino IDE? Any header files for the Due to change its clocking?</p></li>
<li><p>Is it possible to write code for the Arduino Due via Atmel Studio 7? When I tried compiling code in AS7, Chip.h was not found. How to avoid this? Is it possible with "micro" IDE in AS7? Can I access registers of the Due via AS7 and change its clocking?</p></li>
<li><p>I cannot find the "sam" library in the Arduino IDE. Only avr is present. How can I find this sam library?</p></li>
</ol>
 4143: <blockquote>
  <p>How can I find the low-level registers of the Due in the Arduino IDE? Any header files for the Due to change its clocking?</p>
</blockquote>

<p>Read the datasheet / programming manuals for the chip. The Arduino Due is arranged to run at 84MHz. </p>

<blockquote>
  <p>I cannot find the "sam" library in the Arduino IDE. Only avr is present. How can I find this sam library?</p>
</blockquote>

<p>Install it. The IDE is (fairly) modular these days.</p>

<p>But I have to ask... why do you want to run at 16MHz?</p>
