Page 1
Building on the previous successes with the chipKIT WF32, the Wi-FIRE uses the same 43 available I/O pins, 12 analog inputs, 3.3 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.
2. 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 www.chipkit.net/started.
Page 6
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.
Page 7
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: ...
Page 8
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.
4. 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.
Page 10
The chipKIT/Arduino system uses logical pin numbers to identify digital I/O pins on the connectors. The logical pin numbers for the I/O pins on the WiFire are 0-42. These pin numbers are labeled in the silk screen on the board. Additional pins 43-70 allow access to the on board components such as the uSD, MRF24 WiFi radio, User LEDs / BTNs, and POT.
If you have previously installed the http://chipkit.net/started/install‐chipkit‐software. Digilent Network Stack as a 3rd party library, you will need to delete the Network libraries from your 3rd party sketchbook\libraries subdirectory and use the one installed with the chipKIT core (MPIDE). Having both libraries installed will cause compile time errors.
Page 12
The USB specification allows for two types of devices with regard to how they are powered: self- powered devices and bus powered devices. A self-powered device is one that is powered from a separate power supply and does not draw power from the USB bus. A bus powered device is one that draws power from the USB bus and does not have a separate power supply.
When using the WiFire outside the MPIDE environment, the Microchip Harmony Library provides USB stack code that can be used with the board. There are reference designs available on the Microchip web site demonstrating both device and host operation of PIC32 microcontrollers. These reference designs can be modified for developing USB firmware for the WiFire.
Page 14
These signals also appear on connector J7. Be aware that pin 13 (SCK) is shared with USER LED1, and that both LED1 and the SPI port cannot be used concurrently. SPI1: Synchronous serial port. This is an additional SPI interface on the PIC32 microcontroller that can be assessed using the DSPI1 object from the DSPI standard library.
Page 15
ground. The wiper of the pot is connected to analog input A12 or chipKIT pin 48. The pot is read using the analogRead() function. 10.10 VU Voltage Monitor The supply voltage as provided by J16 can be monitored on analog input A13 or digital pin 49. The voltage presented to the analog input is 1/11th of the actual VU voltage.
WiFire board. The Digilent chipKIT PGM can also be used in place of a PICkit3 to program the WiFire with the Microchip Development tools. The chipKIT PGM has a smaller form factor and does not need a 6-pin cable to connect to JP1.
Page 17
Pin # Port Bit PIC32 Signal Name Function RF02 EBIRDY3/RPF2/SDA3/RF2 GPIO, U4RX RF08 8 EBIRDY2/RPF8/SCL3/RF8 GPIO, U4TX RE08 AN25/AERXD0/RPE8/RE8 GPIO, IC1, INT1 RD00 EMDIO/AEMDIO/RPD0/RTCC/INT0/RD0 PWM 1, INT0, OC1 RA03 EBIRDY1/SDA2/RA3 GPIO RD01 RPD1/SCK1/RD1 PWM 2, OC2 RD02 EBID14/ETXEN/RPD2/PMD14/RD2 PWM 3, OC3 RE09 AN26/AERXD1/RPE9/RE9 GPIO, IC2, INT2...
Page 20
RA01 TCK/EBIA19/AN29/RA1 RA00 TMS/EBIA16/AN24/RA0 RF12 TDO/EBIA17/AN31/RPF12/RF12 RF13 TDI/EBIA18/AN30/RPF13/SCK5/RF13 RA06 TRCLK/SQICLK/RA6 TRCLK RG13 TRD0/SQID0/RG13 TRD0 RG12 TRD1/SQID1/RG12 TRD1 RG14 TRD2/SQID2/RG14 TRD2 RA07 TRD3/SQID3/RA7 TRD3 POWER POWER MCLR MCLR, ICSP RB06 PGEC2/AN46/RPB6/RB6 ICSP RB07 PGED2/AN47/RPB7/RB7 ICSP AVDD POWER AVSS POWER POWER POWER POWER POWER RC12...
Page 21
VBUS POWER VUSB3V3 POWER POWER PIC32_USBD- PIC32_USBD+ RF03 USBID/RPF3/RF3 PIC32_USBID POWER POWER RC13 SOSCI/RPC13/RC13 SOSC XTAL RC14 SOSCO/RPC14/T1CK/RC14 SOSC XTAL POWER POWER POWER POWER POWER POWER Port Pin # MCU Pin PIC32 Signal Name Function RA00 TMS/EBIA16/AN24/RA0 RA01 TCK/EBIA19/AN29/RA1 RA02 EBICS0/SCL2/RA2 GPIO RA03...
Page 26
PIC32_USBD PIC32_USBD+ POWER POWER POWER POWER POWER POWER POWER POWER Port Bit Pin # PIC32 Signal Name Function RG15 AN23/AERXERR/RG15 USER_LED4 RA05 EBIA5/AN34/PMA5/RA5 BTN1 RE05 EBID5/AN17/RPE5/PMD5/RE5 GPIO RE06 EBID6/AN16/PMD6/RE6 GPIO RE07 EBID7/AN15/PMD7/RE7 GPIO RC01 EBIA6/AN22/RPC1/PMA6/RC1 GPIO, T2CK, IC7 RC02 EBIA12/AN21/RPC2/PMA12/RC2 AIN2, GPIO RC03 EBIWE/AN20/RPC3/PMWR/RC3...
Need help?
Do you have a question about the Wi-FIRE and is the answer not in the manual?
Questions and answers