ricaun / ArduinoUniqueID

Arduino Library to gets the Manufacture Serial Number from the Atmel AVR, SAM, SAMD, STM32, and ESP Microcontroller.
MIT License
220 stars 50 forks source link

Support Atmel SAM3X8E (Arduino Due) #1

Closed TimGremalm closed 5 years ago

TimGremalm commented 5 years ago

ArduinoUniqueID now reads the first 128 bits from flash if it's the SAM-series.

Inspiration: https://gist.github.com/pingud98/251fcf22d5c74c2af8515abdd382fd1e and http://forum.arduino.cc/index.php?topic=289190.0

Atmel SAM3X8E ARM Cortex-M3 datasheet: http://ww1.microchip.com/downloads/en/devicedoc/atmel-11057-32-bit-cortex-m3-microcontroller-sam3x-sam3a_datasheet.pdf

ricaun commented 5 years ago

I order some Arduino Zero (SAMD21) and was planning to implement this exact code!!! Nice!! Great job man!!