Matrix Creator HAL - SAM3S2C MCU ADC support

I am wondering if there is support for accessing the analog pins of the MCU on the Matrix Creator (A0 pin 19, A1 pin 21). I am using the Matrix Creator HAL. I have been searching the documentation and source files extensively, but I am unable to find any information on accessing the ADC (analog to digital converter). Any help on this matter is greatly appreciated!


We currently don’t have support built out for accessing the MCU’s analog pins on the MATRIX Creator through MATRIX HAL.

The best way to tackle this would be to add ADC reading code to our current MCU code and send it to MATRIX HAL. You can find the code here.

You can then flash your new code to the MCU using these steps.