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?