My earlier blog posts about FreeRTOS on the ATmega4809 (Arduino Nano Every) were for an older version of the FreeRTOS distribution, 10.3.0-9. The instructions for making the patches to the code don’t quite work for the more recent distributions like 10.5, so to use you will need to either install an older version or work …
Month: February 2023
Today I’m going to revisit the Real Time Counter (RTC) in the SAMD21 microcontroller. When running in real time clock mode (mode 2) a single register holds the date/time value with separate bit fields for year, month, day, hour, and seconds. The value can be printed out with this code: But there are some issues …