Go Down

Topic: Having trouble getting SAMD21G working standalone :( (Read 78 times) previous topic - next topic

EmanEric

Jun 14, 2018, 02:44 pm Last Edit: Jun 15, 2018, 12:20 am by EmanEric Reason: Embedded images, thx @TomGeorge
Hi all!
I am currently working on making a watch that uses an E-ink display. I am using an ATSAMD21G18A-MU micro controller to drive the display and some other features. I have designed a PCB and soldered a watch up, but I cant get the bloody thing to work! I am able to upload the Arduino Zero bootloader or code i've written to my board using the Atmel EDBG built into an arduino Zero. However, it isnt doing what it should. As a test I uploaded some code that should put Pa11 (Arduino Zero D0) high and then low once a second, but when I test with my multimeter, I get a weird voltage of 0.6V constantly on that pin. I know the chip has 3.3V power since I have tested with my multimeter. I have soldered one of my boards completely and also soldered one of my boards with only the capacitors, resistors, and crystal needed for the microcontroller, and both do the same thing. I don't think there are any bridges or shorts in the soldering, I used a stencil, and it looks good to me. I'm stuck, if anyone has any ideas as to what the problem might be, I would really appreciate it!  :)
Here is a link to an open google drive folder if anyone wants to have a look at some pictures and the Eagle files for the watch.

https://drive.google.com/drive/folders/14RDrUU1cjKvxeYfG6DDGy9j3_9FD5P4H?usp=sharing


Thanks







TomGeorge

Hi,

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html 

It will show you how to place images in  your post.


Quote
Hi all!
I am currently working on making a watch that uses an E-ink display.
I am using an ATSAMD21G18A-MU micro controller to drive the display and some other features.
I have designed a PCB and soldered a watch up, but I cant get the bloody thing to work!

I am able to upload the Arduino Zero bootloader or code i've written to my board using the Atmel EDBG built into an arduino Zero.
However, it isnt doing what it should.

As a test I uploaded some code that should put Pa11 (Arduino Zero D0) high and then low once a second, but when I test with my multimeter, I get a weird voltage of 0.6V constantly on that pin.
I know the chip has 3.3V power since I have tested with my multimeter.
I have soldered one of my boards completely and also soldered one of my boards with only the capacitors, resistors, and crystal needed for the microcontroller, and both do the same thing.
I don't think there are any bridges or shorts in the soldering, I used a stencil, and it looks good to me.
I'm stuck, if anyone has any ideas as to what the problem might be, I would really appreciate it!  :) 
Here is a link to an open google drive folder if anyone wants to have a look at some pictures and the Eagle files for the watch. 
Before you designed the PCB did you have a fully working prototype?

Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

EmanEric

Hi,

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

It will show you how to place images in  your post.

Before you designed the PCB did you have a fully working prototype?

Tom... :)

Thanks for the tip, I don't have the images hosted anywhere with a direct link, so i'm unsure of how to embed them. Maybe if I upload them, to imgur...
Anyways, I don't have a complete prototype since almost all the parts are SMD components. I have made a test board using the SAMD21G to make sure I could get it working by itself. That board works fine :). The only difference between it and my watch for the mcu section, is that the test board uses a SAMD21G-AU which is the 48 pin TQFP package. My watch uses the 48 pin QFN package, but that shouldn't make a difference. The schematic for the components that actually drive the chip are identical. It is very possible there are mistakes in the rest of the watch schematic, but the mcu still doesn't work even with only it and the necessary components soldered :(

Go Up