TDGL021-2

TDGL021-2 Datasheet


Part Datasheet
TDGL021-2 TDGL021-2 TDGL021-2 (pdf)
PDF Datasheet Preview
Wi FIRE Reference Manual

Building on the previous successes with the chipKIT WF32, the Wi-FIRE uses the same 43 available I/O pins, 12 analog inputs, operating voltage, 4 user LEDs, potentiometer, buttons, uses MRF24 on-board wireless module, microSD Card, dedicated SPI Signals and high efficiency switching 3.3V switching power supply for low-power operation. Where the boards differ is in what the PIC32MZ processor can deliver. The Wi-FIRE is significantly faster than its WF32 counterpart, with 200 MHz operation speed, 2MB of Flash, 512kB RAM, High-Speed USB and a 50MHz SPI. The PIC32MZ core includes the MIPS M5150 CPU Core from Imagination Technologies. The M5150 is a highly efficient, compact core that is optimized for cloud-connected based projects, using Imagination Technologies' FlowCloud software. The Wi-FIRE can be programmed using MPIDE and with the addition of a compatible insystem programmer/debugger, can be used with the more fully featured/advanced Microchip X IDE.

PIC32MZ2048EFG100 microcontroller 200 MHz 32-bit MIPS M5150, 2MB Flash, 512K RAM Microchip MRF24WG0MA WiFi module MicroSD card connector USB Hi-Speed OTG controller with A and micro-AB connectors 50 MHz SPI 43 available I/O pins four user LEDs PC connection uses a USB A > mini B cable not included 12 analog inputs 3.3V operating voltage 200Mhz operating frequency 7V to 15V input voltage recommended 30V input voltage maximum 0V to 3.3V analog input voltage range High efficiency, switching 3.3V power supply providing low power operation

Wi-FIRE Hardware Overview

Call Out 1 2 3 4 5 6 7 8 9 10 11

Component Description IC3- Microchip MRF24WG0MA WiFi Module User Buttons JP1- Microchip Debug Tool Connector J6- I2C Signals BTN3- Reset JP2- Reset Disable J7- Digital Signal Connector PIC32 Microcontroller Potentiometer J10- Digital Signal Connector User LEDs

Call Out 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

Component Description JP6- USB Host or OTG Select J9- SPI Connector J12- USB Connectors JP8- Hos USB Bus Power Enable JP7- USB Overcurrent Detect J8- Analog and Digital Signal Connector JP9- 3.3v / 5.0v Shield Voltage Select J5- Shield Power Connector J17- 5.0V Regulator Configuration J16- Power Select Jumper J13- Micro SD Connector J15- External Power Connector J14- External Power Connector J4- USB- UART Handshaking Signals USB connector for USB Serial Converter Serial Communication LEDs

MPIDE and USB Serial Communications

The WiFire board is designed to be used with the Multi-Platform IDE MPIDE , the MPIDE development platform was created by modifying the Arduino IDE. It and is backwards-compatible with the Arduino IDE. Links for where to obtain the MPIDE installation files, and as well as instructions for installing MPIDE, can be found at

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. The header connector J4 provides access to the other serial handshaking signals provided by the FT232RQ. Connector J4 is not loaded at the factory and can be installed by the user to access these signals.

Power Supply

The WiFire is designed to be powered via USB J1 , from an external power supply J14 or J15 , or from the USB OTG receptacle J11 . Jumper block J16 is used to select which power supply is used. The power supply voltage selected by J16 is applied to the unregulated power bus, VU.
a 5V regulator. All systems on the WiFire board itself operate at 3.3V and are powered by the 3.3V regulator. The 5V regulator is used to provide power for external circuits, such as shields, that require 5V for operation and to supply USB 5.0Vv when the WiFire is used as a USB Host. The 5V regulator can be completely disabled if it is not needed for a given application.

When a shield is used, connectoer J5 provides power to the shield. Connectoer J5 pin 8 provides VIN as applied by the external power source J14 or J15. If no power is provided to J14 or J15, VIN will not be powered. For most shields, pin 5 on connector J5 would provide 5.0Vv to the shield however, the WiFire is not 5v tolerant and it would be very easy for a shield to destroy an input if 5.0Vv were applied to the PIC32MZ. For this reason, JP9 was added to control the voltage supplied to the shield’s 5Vv source. By default, JP9 is loaded to supply only 3.3Vv on the 5.0Vv pin so that the shield does not get 5Vv and thus cannot inadvertently apply 5.0Vv to any input to the WiFire. If the shield requires 5.0Vv to operate, the shield will not work when 3.3Vv is applied JP9 must be selected to provide 5.0Vv for the shield to work. However, extreme caution should be used when selecting 5.0Vv on JP9 to ensure that the shield will observe IOREF and not supply 5.0Vv to any input to the WiFire as this will damage the input to the PIC32MZ on the WiFire.

The WiFire board is designed for low power operation and efficient use of battery power;, as such a switching mode voltage regulator is used for the 3.3V power supply. This switching mode regulator is made up of a Microchip MCP16301 and associated circuitry, which. It can operate on input voltages from 4V to 30V with up to 96% efficiency, and is rated for 600mA total current output. The MCP16301 has internal short circuit protection and thermal protection. The 3.3V regulator takes its input from the unregulated power bus, VU, and produces its output on the VCC3V3 power bus. The VCC3V3 bus provides power to all on-board systems and is available at the shield power connector J5 to provide 3.3V power to external circuitry, such as shields.

The 5V regulator section provides a low dropout linear regulator. The regulator is provided for powering external circuitry that needs a 5V power supply, such as providing for USB 5.0Vv when the WiFire is used as a USB hHost, or to provide 5.0Vv to the shield on J5 with JP9 selected to 5.0v. This voltage regulator uses an On Semiconductor NCP1117LP. The NCP1117LP is rated for an output current of 1A. The dropout voltage of the NCP1117LP is a maximum of 1.4V at 1A output current. The maximum input voltage of the NCP1117LP is 18V. The recommended maximum operating voltage is 15V. However, if the 5.0Vv regulator is completely disable by removing all jumpers on J17, the external input voltage applied to J14 or J15 may be as high as the 30V as limited by the switching mode 3.3Vv regulator.

For input voltages above 9V, the regulator will get extremely hot when drawing high currents. The NCP1117LP has output short circuit protection as well asand internal thermal protection and will shut down automatically to prevent damage.

The 5V regulator selection on JP17 provides four 5V power configurations:
5V regulator completely disabled and no 5V power available 5V regulator bypassed and 5V provided from an external 5V power supply, such as USB on-board 5V regulator used to provide 5V power External 5V regulator used to regulate VU and provide 5V power

Jumper block J17 is used to select these various options and the following diagrams describe the use of J16. This diagram shows the arrangement of the signals on J17:

To completely disable operation of the on-board linear regulator, remove all shorting blocks from J17. To use the on-board 5V regulator, use the provided shorting blocks to connect VU to LDO In, and to connect LDO Out to 5V0, as follows:

Note In this case, when J16 is in the EXT position, and J17 is jumpered to regulate the external input, do not apply more than 18V;. tThis can destroy the 5.0V regulator. To bypass the on-board 5V regulator when powering the board from an externally regulator 5V power supply, such as USB, Use one of the provided shorting blocks to connect VU to 5V0, as follows:

An external 5V regulator can be used. This would be desirable, for example, when operating from batteries. An external switching mode 5V regulator could be used to provide higher power efficiency than the on-board linear regulator. In this case, use wires as appropriate to connect VU to the unregulated input of the external regulator. Connect the regulated 5V output to 5V0. Connect GND to the ground connection of the external regulator. Optionally, connect EN Ext to the enable input control of the external regulator, if available. This allows the external regulator to be turned off for low power operation. Digital pin 50 is then used to turn on/off the external regulator.

The PIC32MZ microcontroller is rated to use a maximum of 60mA of current when operating at 200 MHhz. The MRF24WG0MA WiFi module typically consumes a maximum of 237mA when transmitting. This allows approximately 303mA of current to power the remaining 3.3V circuitry on the WiFire board and external circuitry powered from the VCC3V3 bus. No circuitry on the WiFire board is powered from the VCC5V0 power bus, leaving all current available from the 5V regulator to power external circuitry and the USB 5.0Vv power bus when the WiFire is used as a USB Host.

The POWER connector J5 is used to power shields connected to the WiFire board. Pin 1 is unconnected, the following pins are provided on this connector:
• IOREF pin 2 This pin is tied to the VCC3V3 bus.
• RST pin 3 This connects to the MCLR pin on the PIC32 microcontroller and can be used to
reset the PIC32.
• 3V3 pin 4 This routes the 3.3V power bus to shields.
• 5V0 pin 5 This routes 3.3V or 5.0V power to shields depending on the position of JP9.
• GND pin 6, 7 This provides a common ground connection between the WiFire and the
shields. This common ground is also accessible on connectors J2 and J3.
• VIN pin 8 This connects to the voltage provided at the external power supply connectors

J14 and J15 . This can be used to provide unregulated input power to the shield. It can also be used to power the WiFire board from the shield instead of from the external power connector. If no power is supplied at J14 or J15 or from the shield, VIN will not have any power on it.
5V Compatibility

The PIC32 microcontroller operates at 3.3V. The original Arduino boards operate at 5V, as do many Arduino shields.

There are two issues to consider when dealing with 5V compatibility for 3.3V logic. The first is protection of 3.3V inputs from damage caused by 5V signals. The second is whether the 3.3V output is high enough to be recognized as a logic high value by a 5V input.

The digital I/O pins on the PIC32 microcontroller are 5V tolerant. The, whereas the analog capable I/O pins are not 5V tolerant. There are 48 analog capable I/O pins on the PIC32MZ, and this applies to most GPIO pins on the processor. Historically, clamp diodes and current limiting resistors have been used to protect the analog capable I/O from being damaged but because of the large number of analog capable I/Os, and because clamp diodes and resistors will limit the maximum speed at which these I/Os will operate, it was decided that the WiFire would not be 5V tolerant. Instead, JP9 was added to allow for the 5V0 bus to the shield to be selectable between 3.3Vv or 5.0Vv. If 5.0Vv is selected, great care must be used to ensure that no input to the PIC32MZ exceeds 3.6Vv as that will damage the PIC32MZ.

The minimum high-voltage output of the PIC32 microcontroller is rated at 2.4V when sourcing 12mA of current. When driving a high impedance input typical of CMOS logic the output high voltage will be close to 3.3V. Some 5V devices will recognize this voltage as a logic high input, and some won’t. Many 5V logic devices will work reliably with 3.3V inputs.

Input/ Output Connections
More datasheets: 24-516-10 | 28-516-10 | 28-516-11S | 24-516-11 | 24-516-11S | 24-516-11M | 40-516-11 | 3522 | 26504-SBK | AS8002-AQFP


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived TDGL021-2 Datasheet file may be downloaded here without warranties.

Datasheet ID: TDGL021-2 509771