Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [samd21g]

The tag has no usage guidance.

0
votes
0answers
43 views

Adafruit Feather M0 Basic update bootloader

I bought a Feather M0 Basic from a reseller Lawicel however I'm missing the UF2 boot feature. When I press the reset button two times I just get a serial and have to program circuitpython using Bossa....
2
votes
2answers
178 views

How to determine the source of constants in libraries?

Preamble: I am trying to figure out how to program and use the timers in the Feather M0 using the Arduino IDE. I have seen a number of examples published, but I'm not one to just blindly copy some ...
3
votes
1answer
265 views
+200

Adding a custom board to the Arduino IDE

I would like to know what is the procedure for adding a custom board to the Arduino IDE? My custom board is similar to the Arduino Zero. Instead of using the ATSAMD21G18, my board is based around the ...
0
votes
0answers
422 views

SAMD: 'function' in namespace 'std' does not name a type

I'm trying to compile a sketch that uses the following code: std::function<void(char*)> callback = std::bind(&Animator::_callback, this, std::placeholders::_1); Verification of the sketch ...
0
votes
1answer
73 views

samd21 linking, change the base addresse from the default

I'm working on creating a safe firmware upgrade for my adafruit feather m0. I understand from my CTO that wrote the previous upgrade that for either samd21 or all arm m0 (not sure which) the compiler ...
1
vote
1answer
168 views

add ID number to the feather m0 bootloader (flash)

I'm trying to add a serial number to the bootloader's flash area of Adafruit Feather m0 board. Seems like feather m0 0-0x2000 area on the flash is non writable by the arduino sketch. i wanted to add a ...
1
vote
1answer
301 views

Timer interrupt library for new Arduino based on MCU SAMD21

I'm looking for a timer interrupt library for the new Arduinos based on MCU SAMD21. I want to wake up periodically the MCU form sleep state, do some task and go sleep again. Using one timer interrupt ...
3
votes
1answer
886 views

Built-in capacitive touch detection with SAMD21 development board (Arduino Zero Compatible)

I bought this SAMD21 development board which shows up as an "Arduino/Genuino Zero (Native USB Port)" when plugged in. And I've successfully got a blink sketch running on it all good so far: The ...
3
votes
1answer
163 views

Arduino Zero D0/D1 set output high

I am trying to use D0/D1 as normal IO pins but DigitalWrite does not work as on an Arduino UNO. I know the SAMD21G has SERCOM but I can't seem to find an example of not using D0/D1 as an UART port. ...