Adafruit SAMD Board not found

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Adafruit SAMD Board not found

Post by Amorphis984 »

I followed the Trinket M0 instructions for installing the proper board file, but I'm having trouble finding the Adafruit SAMD board. The instructions in the "adafruit-trinket-m0-circuitpython-arduino.pdf" file states that after installing the Arduino SAMD file you need to install the Adafruit SAMD file by typing "Adafruit SAMD" in the search box of the Board Manager, but no such board file is displayed. I have entered the URL "https://adafruit.github.io/arduino-board-index/ package_adafruit_index.json" in the Additional Boards Manager URLs box but I'm not having any luck. Will someone please step me through the process of installing the correct board for the Adafruit Trinket M0. Also, will the Adafruit Trinket M0 require any special library?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

If you go into Boards Manager and search for "SAMD", you don't see the Adafruit entry?
bsp.png
bsp.png (39.05 KiB) Viewed 313 times

User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Re: Adafruit SAMD Board not found

Post by Amorphis984 »

I have search for "Adafruit SAMD" and just "SAMD" and the Adafruit SAMD has not come up.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

Double check the URL under preferences. Should be:

Code: Select all

https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
Make sure there aren't any typos or it's not attached to the end of another URL, etc.
board_man.jpg
board_man.jpg (26.74 KiB) Viewed 308 times

User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Re: Adafruit SAMD Board not found

Post by Amorphis984 »

I copied the link from your message and this time I was able to find the Adafruit SAMD board on the Board Manager. Thank you. Although I had copied the same link as it appeared in the Adafruit Trinket M0 PDF file, with no success. I compared the two links, and they appear identical.

Also, the pinout document for the Trinket M0 states that SDA in on Pad 0, and SCL is on Pad 1. However, at the bottom of the Trinket M0 the silkscreen has SCL on Pad 2. Which is correct?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

Also, the pinout document for the Trinket M0 states that SDA in on Pad 0, and SCL is on Pad 1.
Please link to page that says SCL is on Pad 1.

User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Re: Adafruit SAMD Board not found

Post by Amorphis984 »

Attached is a partial image of the Trinket M0 pinout pdf. Is this incorrect or is SCL on Pin 2?
Attachments
SCL Pin1.JPG
SCL Pin1.JPG (99.19 KiB) Viewed 303 times

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

That sort of looks like a Pretty Pins generated pinout diagram. But it's different than the one currently used in the guide:
https://learn.adafruit.com/adafruit-tri ... no/pinouts
The text also agrees:
https://learn.adafruit.com/adafruit-tri ... -2910532-4

SDA = 0
SCL = 2

Can you link to where you found that PDF pinout diagram?

User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Re: Adafruit SAMD Board not found

Post by Amorphis984 »

When following the link "https://learn.adafruit.com/adafruit-tri ... /downloads" and you Select "EagleCAD files on Github," The download zip file contains the pinout pdf file.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

Thanks. Found it. It's a PDF living in the PCB repo:
https://github.com/adafruit/Adafruit-Trinket-M0-PCB

That nomenclature may be confusing. It's referring to the "pads" of the SERCOM peripherals. You'd look at the Sx.y labels for the sercom references, where x is the sercom number and y is the pad number for that sercom. For example here is the specific sercom (0) and pads (0 and 1) used for I2C:
pads.jpg
pads.jpg (84 KiB) Viewed 291 times
Note that they end up being on the Trinket M0 pins labeled 0 and 2.

User avatar
Rufustoad
 
Posts: 3
Joined: Mon Apr 25, 2022 10:14 pm

Re: Adafruit SAMD Board not found

Post by Rufustoad »

Hi, I have the same issue as the title of this post?? I have downloaded the SAMD Board with success and have gone back to the board manager as instructed and Adafruit still does not exist. The lights on the board are on but Arduino does not see it nor has the option of the Trinket MO. What am I missing??

User avatar
Amorphis984
 
Posts: 12
Joined: Fri Dec 28, 2018 1:30 pm

Re: Adafruit SAMD Board not found

Post by Amorphis984 »

After using different variations in the wording in my search criteria, I was successful when I just used the word "Adafruit" and nothing else. I was then able to see the full list of options, which included the Trinket M0. Good luck.

User avatar
Rufustoad
 
Posts: 3
Joined: Mon Apr 25, 2022 10:14 pm

Re: Adafruit SAMD Board not found

Post by Rufustoad »

Thanks Amorphis984.
This sucks as I have redownloaded Arduino three different times on two different laptops and still don't see this option. I am now at Arduino 1.8.19. The only options are Adafruit Circuit Playground Express. Nothing else available for this Trinket MO.
Does anyone have a link to Arduino that actually has this board in the file??
You would think in todays age it would be a bit easier.

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Adafruit SAMD Board not found

Post by adafruit_support_carter »

The Adafruit Boards Manager URL was added in the Arudino IDE's Preferences?
https://learn.adafruit.com/adafruit-tri ... -ide-setup

Both the Arduino SAMD *and* the Adafruit SAMD Board Support Packages are installed?
https://learn.adafruit.com/adafruit-tri ... rduino-ide

You are looking for the board in the Arduino IDE under?
Tools -> Board -> Adafruit SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards

User avatar
Rufustoad
 
Posts: 3
Joined: Mon Apr 25, 2022 10:14 pm

Re: Adafruit SAMD Board not found

Post by Rufustoad »

adafruit_support_carter wrote:The Adafruit Boards Manager URL was added in the Arudino IDE's Preferences?
https://learn.adafruit.com/adafruit-tri ... -ide-setup

Both the Arduino SAMD *and* the Adafruit SAMD Board Support Packages are installed?
https://learn.adafruit.com/adafruit-tri ... rduino-ide

You are looking for the board in the Arduino IDE under?
Tools -> Board -> Adafruit SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards

THANKYOU THANKYOU!! I was in the wrong link and missed one step!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”