This quick start guide explains how to interface the MAX11301WING with the MAX32630FTHR. A demo program is used to show a working program using the two devices.
The MAX11301WING is a rapid development prototyping board designed for quick integration with other Maxim Feather and Wing evaluation boards. The MAX11301 PIXI™ is a highly configurable mixed signal IC that provides versatility to any application. This quick start guide explains how to configure the MAX11301 PIXI programmable IC to read a potentiometer's wiper position using two digital-to-analog converters (DACs) and one analog-to-digital converter (ADC). The internal DACs are configured for ±5V output range, and connecting a potentiometer between the two DAC outputs with the center wiper connected to an internal ADC allows sensing over the entire voltage range. When paired with a MAX32630FTHR microcontroller platform, the MAX11301WING ADC conversions can be read and converted into a voltage value. If connected to a PC, the unprocessed and converted data can be printed to a serial terminal.
Follow the below steps to set up the MAX11301WING with the MAX32630FTHR+MAX32620PICO platform using the MAX11301WING_Demo program software.
Figure 1 shows the hardware schematic for the MAX11301WING demo program.
- Computer with two USB ports
- MAX32630FTHR microcontroller
- Any Mbed® programmer, MAX32625PICO recommended
- MAX11301WING PIXI 20-port I/O
- 10kΩ potentiometer
- Three cables that can connect the MAX11301WING to a potentiometer
- One fine-pitch, 10-pin ribbon cable, included with the MAX32630FTHR
- Two USB cables to connect the MAX32625PICO and MAX32630FTHR to a computer
- Connect the MAX32625PICO to the MAX32630FTHR using the 10-pin ribbon cable used for programming and communication. The 10-pin header on the MAX32630FTHR and MAX32625PICO boards have a mating groove and can only connect in the proper orientation.
- Ensure jumpers J1 and J2 are installed on the MAX11301WING to connect the -7.5V rail to AVSSIO and the +7.5V rail to AVDDIO of the PIXI.
- Stack the MAX11301WING on top of the MAX32630FTHR. The MAX11301WING form factor has 16 pins on one side of the board and
12 pins on the other. Make sure the 16-pin header (H1) and 12-pin header (H3) align on each board when stacking. Figure 2
shows the MAX11301WING stacking on the MAX32630FTHR.
- Connect the potentiometer between PORT0 and PORT1 of the MAX11301WING, located on header H2, pins 1 and 4. Figure 3 displays the H2 header pinout and highlights the desired ports with a red box.
- Connect the potentiometer wiper to PORT9 of the MAX11301WING, located on header H2, pin 28. Reference Figure 3 for a pinout of the H2 header with PORT9 highlighted with a red box.
- Connect the MAX32625PICO and MAX32630FTHR to a PC using the USB cables. The green and blue LEDs on the MAX11301WING should turn on, indicating that the board has power.
- Go to os.mbed.com and log in. If you do not have an account, create one.
- After signing in, navigate to the MAX32630FTHR Mbed landing page by clicking the following link:
os.mbed.com/platforms/MAX32630FTHR. On the right-hand side, click the Add to your Mbed compiler button to add
the MAX32630FTHR as a target microcontroller board to your compiler. Figure 4 highlights the Add to your Mbed
compiler button with a red box on the MAX32630FTHR landing page.
- Install the Windows® OS driver for Mbed microcontrollers by scrolling down the MAX32630FTHR Mbed landing
page to reach the PC Configuration section; follow the installation instructions. Figure 5 displays the PC Configuration section.
- Import the MAX11301WING_Demo program at Maxim-Integrated/MAX11301WING_Demo into the
compiler's program work space by clicking the Import to Compiler button on the right-hand side. Figure 6
highlights the import button on the MAX11301WING_Demo repository page with a red box. This automatically opens the Mbed
compiler in a new window. When this window opens, select Import to import the program.
- In the compiler window, select the MAX11301WING_Demo program in your program work space. In the upper right corner, the
target microcontroller is displayed. Confirm the MAX32630FTHR is the target microcontroller. Figure 7 highlights the
location of the target microcontroller on the compiler webpage with a red box. If the MAX32630FTHR is not selected, click
this area to select a target microcontroller. Once clicked, the selection window appears; select MAX32630FTHR.
- With the MAX11301WING_Demo program selected in the program work space, click the Compile button in the command
banner at the top of the screen. Figure 8 highlights the Compile button. This initiates the download of the
program's binary file.
- The MAX32625PICO board appears as a USB drive with the name DAPLINK in your native file navigation program.
Figure 9 highlights the DAPLINK drive with a red box. Program the MAX32630FTHR by dragging the binary file onto
the DAPLINK drive. Red LEDs flash on the MAX32625PICO until programming is complete. This typically takes a few seconds.
- Install the serial terminal program Tera Term by visiting this link and following the installation instructions: https://osdn.net/projects/ttssh2/releases/.
- Open Tera Term and select the Serial radio button and the Mbed device from the pull-down menu, as shown in Figure 9.
The Mbed device could be on a different COM port than what is shown in Figure 10. Click OK.
- Set the baud rate to 115200bps by navigating to Setup/Serial Port. This opens a new configuration window. Select
115200 in the Baud rate pull-down menu, as shown in Figure 11.
- Press the reset (SW1) button on the MAX32630FTHR, as displayed in Figure 12.
- Data should begin streaming to the serial terminal, as shown in Figure 13.
This completes the integration and set up of the MAX11301WING with the MAX32630FTHR. Please continue to use this quick start as an example for making your own applications using the MAX11301 PIXI. Maxim has several Wing evaluation boards to enable rapid development of entire systems. Check out Maxim's Feather and Wing solutions for your next project!