2 mpide and usb serial communications, 2mpide and usb serial communications – Digilent 410-302P-KIT User Manual
Page 3
WiFire Reference Manual
Call Out Component Description
Call Out
Component Description
1
IC3- Microchip MRF24WG0MA WiFi Module 15
JP8- Hos USB Bus Power Enable
2
User Buttons
16
JP7- USB Overcurrent Detect
3
JP1- Microchip Debug Tool Connector
17
J8- Analog and Digital Signal Connector
4
J6- I
2
C Signals
18
JP9- 3.3v / 5.0v Shield Voltage Select
5
BTN3- Reset
19
J5- Shield Power Connector
6
JP2- Reset Disable
20
J17- 5.0V Regulator Configuration
7
J7- Digital Signal Connector
21
J16- Power Select Jumper
8
PIC32 Microcontroller
22
J13- Micro SD Connector
9
Potentiometer
23
J15- External Power Connector
10
J10- Digital Signal Connector
24
J14- External Power Connector
11
User LEDs
25
J4- USB- UART Handshaking Signals
12
JP6- USB Host or OTG Select
26
USB connector for USB Serial Converter
13
J9- SPI Connector
27
Serial Communication LEDs
14
J12- USB Connectors
Table 1. chipKIT hardware description.
2
MPIDE and USB Serial Communications
The WiFire board is designed to be used with the MPIDE; the MPIDE development platform was created by
modifying the Arduino IDE and is backwards-compatible with the Arduino IDE. Links for where to obtain the MPIDE
installation files, as well as instructions for installing MPIDE, can be found at www.chipkit.net/started.
The MPIDE uses a serial communications port to communicate with a boot loader running on the WiFire board.
The serial port on the WiFire board is implemented using an FTDI FT232RQ USB serial converter. Before attempting
to use the MPIDE to communicate with the WiFire, the appropriate USB device driver must be installed.
The WiFire board uses a standard mini-USB connector. Generally, a USB A to mini-B cable is used for connection to
a USB port on the PC.
When the MPIDE needs to communicate with the WiFire board, the board is reset and starts running the boot
loader. The MPIDE then establishes communications with the boot loader and uploads the program to the board.
When the MPIDE opens the serial communications connection on the PC, the DTR pin on the FT232RQ chip is
driven low. This pin is coupled through a capacitor to the MCLR pin on the PIC32 microcontroller. Driving the MCLR
line low resets the microcontroller, which restarts the execution with the boot loader.
This automatic reset action (when the serial communications connection is opened) can be disabled. To disable
this operation, there is a jumper labeled JP2, which can be disconnected. JP2 is normally shorted, but if the
shorting block is removed, the automatic reset operation will be disabled.
Two red LEDs (LD5 and LD6) will blink when data is being sent or received between the WiFire and the PC over the
serial connection.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 3 of 23