Table of Contents
- MAX32625 Ultra-Low Power Microcontroller
- High performance ARM® Cortex™-M4F Core
- 96MHz, 160KB SRAM, 512KB Flash
- Ultra-Low Power for Battery Applications
- 106µA/MHz Active Executing from Flash
- 600nA Low Power Mode with RTC Enabled
- 2.56µW Ultra-Low Power Data Retention Mode
- 5µs Fast Wakeup to 96MHz
- USB 2.0 Full-Speed Device
- SPI, I2C, UART, 1-Wire Serial Interfaces
- RTC, PWM, AES
- Four-Input 10-Bit ADC
- 40 Dual Voltage GPIO
- 8mm X 8mm 68 pin TQFN
- Expansion Connections
- Arduino form-factor headers
- Micro SD Card Connector
- Micro USB Connector
- Prototype area
- Integrated Peripherals
- 4 LEDs
- 2 User push-buttons
- mbed DAPLink Debug Interface
- [USB MSC] Drag-and-drop programming
- [USB HID] SWD Debugger
- [USB CDC] Virtual UART Console
Getting Started with mbed¶
1. Connect your microcontroller to a PC¶
Use the USB lead to connect your mbed to a PC. The status light will come on, indicating it has power. After a few seconds of activity, the PC will recognise the mbed Microcontroller as a standard USB drive.
|Windows XP example||Mac OS X example|
2. Click the MBED.HTM link to get logged in¶
Go to the new USB Drive, and click MBED.HTM to open it in a web browser.
If you do not have an mbed account, choose "Signup", and create your mbed Account. Otherwise, log in with your normal username and password.
This will give you access to the website, tools, libraries and documentation.
Your mbed Microcontroller can appear on your computer as a serial port. On Mac and Linux, this will happen by default. For Windows, you need to install a driver:
See Windows-serial-configuration for full details about setting up Windows for serial communication with your mbed Microcontroller
From a host PC to communicate with mbed you will need a
terminal application. This allows the mbed Microcontroller to print to your PC screen, and for you to send characters back to your mbed.
- Terminals - Using Terminal applications to communicate between the Host PC and the mbed Micrcontroller
Some terminal programs (e.g. TeraTerm) list the available serial ports by name. However, if you do need to know the identity of the serial port so that you can attach a terminal or an application to it:
Downloading A program¶
1. Save a program binary (.bin) to the Platform¶
Download the appropriate "Blinky!" binary:
- MAX32625MBED: blinky_max32625mbed.bin
Note: the source code for this program will be seen in the next section.
Save the program binary file to your mbed Microcontroller Disk, just like you would with a normal USB disk. The Status LED will flash as the PC writes the file to the Microcontroller disk. The file is now consumed.
2. Press the Reset Button¶
When the Reset Button is pressed, the microcontroller will be reset and the last programmed application will begin to run.
The Microcontroller is now running the program; flashing LED1 forever! If you reset the Microcontroller, or disconnect and reconnect the power, the program will simply restart.
The MAX32625MBED is loaded with a default firmware out of the box. To check your current firmware (Interface Version), open DETAILS.TXT file in the DAPLINK drive. To update the firmware, follow the steps below:
- Download the latest firmware file, version 0254: max32620_max32625mbed_if_crc.bin
- Temporarily short circuit the pads (SW1) on MAX32625MBED board and then connect the board to a computer.
- Once you see a MAINTENANCE drive on the computer, disconnect the short circuit.
- Drag-n-Drop the downloaded firmware file on the MAINTENANCE drive.
The firmware update can be verified by checking the Interface Version as mentioned previously.
This is a very simple guide, reviewing the steps required to get Blinky working on an Mbed OS platform.
Follow the guide to creating your own programs using the online compiler