This isn't a book for the faint of heart. The Arduino Due is quite a different beast compared to the more common Arduino Uno. It uses the Arm Cortex-M3 microcontroller SAM3X8E from Microchip (formerly Atmel). Learning the internals of the Due is a possible bridge from the more straightforward world of the Arduino into the much more complicated world of Arm. If you've come this far, I assume that you have ambitions way beyond using only the Arduino API. This is a journey into the world of Arm.
Coverage includes the internals of:
Prerequisites are required for this in-depth tour through the intriguing worlds of the Arduino Uno and Mega 2560. Few details are too insignificant to remain unexplored here. Coverage includes the internals of: digital I/O, the I2C bus, the SPI bus, the Hardware Serial Library, STK500, STK500v2, interrupts, the boot sequence from power-on to setup() and loop(), analogWrite(), analogRead(), time and delays, the EEPROM Library, PROGMEM, and F().
Do you already know how to program the Arduino in C/C++ and want to delve deeper? This book guides you step by step from being an absolute beginner to knowing how to use assembly language in your Arduino sketches. We work inside the familiar Arduino IDE, and you can download all the source code from the companion website. All you need is an Arduino Uno or an Arduino Mega 2560, without any extra hardware or electronic components. Both are based upon 8-bit AVR RISC microcontrollers, and you will learn how to use AVR assembly for jumping, branching, logic operations, bit shifting and rotating, arithmetic, I/O, and more. You will also learn about the stack, function calling conventions, and interrupts.
Copyright © 2021 Arne Vidstrom. All Rights Reserved.