Hello, This will hopefully be the first first microcontroller I get to blink an LED (with you guys' help). I'll start by describing the setup:
I have a broken out and bread boarded SAMD10D14 (20 pin SOIC). I have a 47uF electrolytic capacitor on my Vin in addition to an 0.1uF ceramic capactior near the Vin Pin on the breakout board.
The voltage sits at about 3.05V via a voltage divider powered by a 5V usb charger. The voltage divider is made of something like a 47 and 68 ohm resistor so there is sufficient current for sure (100mA) as the led only requires at minimum something like 5. I'm also sure it works because it's been tested independently.
I'm connecting to the uC with a J-link edu via SWD with 100k pullups on SWCLK, SWDIO and nRST. I can connect and see the registers just fine.
I'm using Segger embedded studios.
My LED is connected to a 330 ohm resistor and the pin PA05.
There aren't any errors, the pin simply doesn't light up as it's supposed to. I check the registers and the value I wrote to them is there.
I have no idea what is happening. My code and a picture of the IDE:
Thanks for looking!