Download Print this page

sparkfun MicroMod SAMD51 Hook-Up Manual

Processor board

Advertisement

Quick Links

MicroMod SAMD51 Processor Board Hookup Guide
Introduction
With the MicroMod specification, we shrunk down the PCB size for the SAMD51 32-bit ARM Cortex-M4F MCU!
This tutorial covers the basic functionality of the MicroMod SAMD51 and highlights its features.
SparkFun MicroMod SAMD51 Processor
 DEV-16791
Required Materials
To follow along with this tutorial, you will need the following materials. You may not need everything though
depending on what you have. Add it to your cart, read through the guide, and adjust the cart as necessary.
SparkFun Mini Screwdriver
USB 3.1 Cable A to C - 3 Foot

Advertisement

loading
Need help?

Need help?

Do you have a question about the MicroMod SAMD51 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for sparkfun MicroMod SAMD51

  • Page 1 MicroMod SAMD51 Processor Board Hookup Guide Introduction With the MicroMod specification, we shrunk down the PCB size for the SAMD51 32-bit ARM Cortex-M4F MCU! This tutorial covers the basic functionality of the MicroMod SAMD51 and highlights its features. SparkFun MicroMod SAMD51 Processor  DEV-16791 Required Materials To follow along with this tutorial, you will need the following materials.
  • Page 2: Suggested Reading

     TOL-09146  CAB-14743 SparkFun MicroMod SAMD51 Processor SparkFun MicroMod ATP Carrier Board  DEV-16791  DEV-16885 Suggested Reading If you aren't familiar with the MicroMod ecosystem, we recommend reading here for an overview. MicroMod Ecosystem If you aren’t familiar with the following concepts, we also recommend checking out these tutorials before continuing.
  • Page 3 All of our MicroMod Processor Boards come equipped with the M.2 MicroMod Connector, which leverages the M.2 standard and specification to allow you to install your MicroMod Processor Board on your choice of carrier board. Most of the pins use a common pinout to ensure cross platform compatibility. SAMD51 Processor The brains of the processor board is the ATSAMD51J20 32-bit ARM Cortex M4 processor.
  • Page 4 Pressing the reset button twice will put the board into bootloader mode causing the LED to fade in/out. This is connected to pin 13. MicroMod SAMD51 Processor Pin Functionality The complete pin map can be found in the table below or you can refer to the schematic.
  • Page 5 MICROMOD GENERAL PINOUT TABLE MICROMOD GENERAL PIN DESCRIPTIONS AUDIO UART GPIO/BUS SDIO SPI0 Dedicated SAMD51 Alternate Primary Bottom Primary Alternate SAMD51 Function Function Function Function (Not Connected) 3.3V_IN 3.3V SPI_CIPO SPI_COPI I2S_MCLK SPI_SCK I2S_SDO SPI_CS I2S_SDI I2C_SCL1 I2S_FS I2C_SDA1 I2S_CLK PWM1 CAN_TX CAN_RX...
  • Page 6: Hardware Assembly

    PWM0 Module Key Module Key Module Key Module Key Module Key Module Key Module Key Module Key SWDIO I2C_SCL1 UART_TX2 SWDCK I2C_SDA1 UART_RX2 UART_RX1 UART_TX1 I2C_INT I2C_SCL I2C_SDA HOST_ENABLE RESET# (Open USB_D- USBHOST_D- Drain) 3.3V_EN USB_D+ USB_HOST_D+ 3.3V_IN Board Dimensions The board takes advantage of the standard MicroMod form factor.
  • Page 7 For simplicity, we'll be using the MicroMod ATP Carrier Board to program the board. At a minimum, your setup should look like the image below with the MicroMod SAMD51 inserted into the MicroMod ATP Carrier Board with a USB-C cable.
  • Page 8 UF2 Bootloader & Drivers Heads up! Please be aware that the SAMD51 Thing Plus is NOT currently supported on Windows 8 due to a lack of support drivers for those specific OS's. The SAMD51 Processor Board is easy to program thanks the UF2 bootloader. With the UF2 bootloader, the SAMD51 Thing Plus shows up on your computer as a USB storage device without having to install drivers for Windows 10, Mac, and Linux! What is UF2?
  • Page 9 To verify that your driver is working, you should see the difference in the following pictures after plugging in your SparkFun SAMD51 Thing Plus. Alternatively, once you have the Arduino IDE installed, you should also see a change in the number of available Serial/COM Ports (you may need to restart the Arduino IDE for the board to populate).
  • Page 10 Screenshot of Mac OSX terminal with the SAMD51 Processor Board on cu.usbmodemFA121. Click to enlarge. ls /dev/cu.* Note: If you are still unsure of how to access the Terminal, watch this video or read this Apple support article. Raspbian Run the following command in the CLI/Terminal and check for the following changes (your ls /dev/ttyACM* board may show up under a different device name).
  • Page 11 Install SparkFun Board Add-On Now that your ARM tools are installed, one last bit of setup is required to add support for the SparkFun SAMD boards. First, open your Arduino preferences (File > Preferences). Then find the Additional Board Manager URLs text box, and paste the below link in: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_spark...
  • Page 12 Finally, select the SparkFun MicroMod SAMD51's port when the board is connected to your computer. Navigate back up to the Tool > Port menu. The port menu will have the SparkFun MicroMod SAMD51's port, labeled as such here. On a Windows machine, the serial port should come in the form of "COM#". On a Mac or Linux...
  • Page 13 In the picture above my MicroMod SAMD51 is listed under COM25; this is because I've plugged in about as many microcontrollers into my computer, but the one in your port menu should be smaller. Arduino Examples The SAMD51 is a powerful microcontroller. Here are a few examples that highlight some of its functionality.
  • Page 14 // Print "Hello!" over hardware UART digitalWrite(LED_BUILTIN, LOW); // set the LED_BUILTIN ON delay(1000); // wait for a second digitalWrite(LED_BUILTIN, HIGH); // set the LED_BUILTIN OFF delay(1000); // wait for a second Check out the MicroMod SAMD51's built-in LED. The LED should blink every second.
  • Page 15 Open the Arduino IDE's serial monitor set at 9600 baud. You should see every programmer's favorite two-word phrase. Want to go the extra mile? Grab a 3.3V USB-to-serial converter (in this case, we are using the Serial Basic Breakout CH340). Then connect GND to GND using a M/M jumper wire. Add another M/M jumper wire between TX from the MicroMod ATP Carrier board and the RXI pin of the USB-to-serial converter.
  • Page 16 Examples > SparkFun VL53L1x 4M Laser Distance Sensor > Example1_ReadDistance. If you have not already, head to Tools > Board to select the correct board definition (in this case, SparkFun MicroMod SAMD51). Select the correct COM port that the board enumerated to. Hit upload.
  • Page 17: Resources And Going Further

    Resources and Going Further Now that you've successfully got your MicroMod SAMD51 Processor Board up and running, it's time to incorporate it into your own project! For more information, check out the resources below:...
  • Page 18 MicroMod ESP32 Processor Board Hookup Guide Guide Get started with the Artemis MicroMod Processor A short Hookup Guide to get started with the SparkFun Board in this tutorial! MicroMod ESP32 Processor Board SparkFun MicroMod Input and Display Carrier MicroMod Machine Learning Carrier Board...