Maxim Integrated


Maxim's microcontrollers provide low-power, efficient, and secure solutions for challenging embedded applications.

MAX32630FTHR APPS

MAX32630FTHR Applictions

This page provides some helpful notes and examples for the MAX32630FTHR platform. /media/uploads/switches/max32630fthr_hdk.png

Getting Started

To begin working with the MAX32630FTHR platform you should check that it is connected properly. In order to minimize the size and weight of the board, the DAPLINK functionality is provided on a separate board (included with purchase of MAX32630FTHR) over a fine pitch 10 pin ribbon cable. This cable provides connectivity for the I/O voltage, reset, SWD signals, and the console UART. The I/O voltage is driven from the target so that the adapter can use the correct signal levels. The adapter does not provide power to the target. To prepare the boards for programming follow these steps:

  1. Connect the programming adapter to the MAX32630FTHR board with the fine pitch 10 pin ribbon cable.
  2. Apply power to the MAX32630FTHR board through the micro USB connector.
  3. Connect the programming adapter to a computer.
  4. Drag-n-drop the image onto the "DAPLINK" drive.
  5. Press the power/reset button to launch the new code.

Powering the Board

The MAX32630FTHR is designed to be powered from either a 5V source or a battery. The MAX14690 PMIC takes care of charging the battery and automatically switches between the two sources. The most common way to apply power is through the USB connector. When powered from a 5V supply through the USB connector or VBUS header pin the MAX14690 will automatically turn on and enable the dual buck regulators to boot the MAX32630 microcontroller. When powered from battery, the part will remain off until the power/reset button is pressed for a half second, or until USB power is applied. Once enabled, the PMIC will remain on until a shutdown command is sent, or until the power/reset button has been held for 12 seconds. The PMIC can be configured through I2C and a library for the MAX14690 is provided and included in the MAX32630FTHR library to allow access to the most common functions. The MAX32630FTHR library applies the most common configuration by default and you should only need to make adjustments if you are trying to optimize power consumption for battery powered operation.

Signal Levels

The MAX32630 microcontroller has two I/O power rails and allows each I/O signals to be assigned to either rail independently. The default voltages for the two rails on this board are 1.8V for VDDIO and 3.3V for VDDIOH. The supply for VDDIOH is a programmable LDO and this level can be changed, but it is also used for USB transceiver and microSD card so you may lose some functionality if you adjust the voltage. The MAX32630FTHR board library takes care of setting the voltage for the on board resources like the PMIC, Bluetooth, BMI160 and microSD card, and allows you to specify the default voltage for the expansion headers when it is instantiated. You can also adjust the signal level of an individual I/O using the vddioh() method.

Adafruit FeatherWing Compatibility

The MAX32630FTHR board was inspired by the Feather boards developed by Adafruit. It is designed to make use of many of the FeatherWings available on their site, but compatibility with all wings is not guaranteed. There are examples for some of the wings that are known to work below.

128x32 OLED Monochrome Add-on For All Feather Boards. AdaFruit product ID 2900.

Example Applications

Here are some examples demonstrating how to use some of the various features of the board.

Import programFTHR_OLED

Adafruit FeatherOLED example for the MAX32630FTHR board

Import programMAX_ADC

Maxim ADC Library Example

Import programFTHR_USB_serial

USB serial demo passes data from virtual serial port to debug serial port

Import programFTHR_SD_Demo

Example program demonstrates SD card library

Import programFTHR_USBMSD_Demo

USB Mass Storage Device demo with SD card

Import programMAX32630FTHR_IMU_Hello_World

Simple demo of BMI160 Library

Notes

MAXREFDES100HDK Firmware Update

Please visit our MAXREFDES100HDK wiki page for details on how to load the correct firmware onto your adapter.


All wikipages