Digilent chipKIT wf32 Reference Manual Download Page 3

chipKIT™ WF32™ Board Reference Manual 

 

 

Copyright Digilent, Inc. All rights reserved. 

Other product and company names mentioned may be trademarks of their respective owners.

 

Page 

3

 of 

24

 

 

12 

User LEDs 

27 

J2- USB- UART Handshaking Signals 

13 

JP6,7- SPI Master/ SPI Slave Select 

28 

USB connector for USB Serial Converter 

14 

J10- SPI Connector 

29 

Serial Communication LEDs 

15  

JP10- USB Host or OTG Select 

 

 

 

 

MPIDE and USB Serial Communications 

The WF32 board is designed to be used with MPIDE. The MPIDE development platform was created by modifying 
the Arduino IDE. It is backwards-compatible with the Arduino IDE. Links for where to obtain the MPIDE installation 
files and 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 WF32 board. The 
serial port on the WF32 board is implemented using an FTDI FT232RQ USB serial converter. Before attempting to 
use the MPIDE to communicate with the WF32, the appropriate USB device driver must be installed. 

The WF32 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 WF32 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 JP1, which can be disconnected. JP1 is normally shorted, but if the 
shorting block is removed, the automatic reset operation will be disabled. 

Two red LEDs (LD1 and LD2) will blink when data is being sent or received between the WF32 and the PC over the 
serial connection. 

The header connector J2 provides access to the other serial handshaking signals provided by the FT232RQ. 
Connector J2 is not loaded at the factory and can be installed by the user to access these signals. 

 

Power Supply 

The WF32 is designed to be powered via USB (J1), from an external power supply (J14 or J17), or from the USB OTG 
receptacle (J12). Jumper block J15 is used to select which power supply is used. The power supply voltage selected 
by J15 is applied to the unregulated power bus, VU. 

In order to operate the WF32 as a USB device powered from the USB serial interface, connector J1, place a 
shorting block in the UART position of jumper block J15. To operate the WF32 from an external power supply, 

Summary of Contents for chipKIT wf32

Page 1: ...ginal Arduino IDE modified to support PIC32 It contains everything needed to start developing embedded applications The WF32 features a USB serial port interface for connection to the MPIDE and can be...

Page 2: ...Microchip MRF24WG0MA WiFi Module 16 J13 USB Connectors 2 User Buttons 17 JP9 USB Overcurrent Detect 3 JP3 Microchip Debug Tool Connector 18 JP11 Hos USB Bus Power Enable 4 J6 Signals 19 J8 Analog and...

Page 3: ...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 T...

Page 4: ...on board systems and is available at the shield power connector J3 to provide 3 3V power to external circuitry such as shields The 5V regulator section provides a low dropout linear regulator No circ...

Page 5: ...to 5V0 as follows LDO Out LDO In VU 5V0 GND EN Ext An external 5V regulator can be used This would be desirable for example when operating from batteries An external switch mode 5V regulator could be...

Page 6: ...nize this voltage as a logic high input and some won t Many 5V logic devices will work reliably with 3 3V inputs 5 Input Output Connections The WF32 board provides 43 of the I O pins from the PIC32 mi...

Page 7: ...twork firmware The MRF24WG0MA firmware provides the 802 11 network protocol software support The DNETcK and DWIFIcK libraries provide the TCP IP network protocol support that works with the 802 11 pro...

Page 8: ...USB embedded host The USB device is connected either directly to the WF32 or via cable to this connector Connector J12 on the bottom right side of the board is the Device OTG connector This is a stan...

Page 9: ...must be able to supply enough current to power both the WF32 and the attached USB device since the WF32 provides power to the attached USB device when operating as a host The USB 2 0 specification req...

Page 10: ...is possible to use these pins to connect to an external serial device when not using the USB serial interface This uses UART1 U1RX U1TX on the PIC32 microcontroller UART 4 Asynchronous serial port Pi...

Page 11: ...lass from the DSPI standard library but this is not recommended for normal operation of the board 10 3 C Synchronous serial interface The PIC32 microcontroller shares analog pins A4 and A5 with the tw...

Page 12: ...Kohm trimmer pot connected between the VCC3V3 supply and ground The wiper of the pot is connected to analog input A13 The pot is read using the analogRead function 10 10 RTCC Real Time Clock Calendar...

Page 13: ...d in place of a PICkit3 to program the WF32 with the Microchip Development tools The chipKIT PGM has a smaller form factor and does not need a 6 pin cable to connect to JP2 The Microchip MPLAB IDE or...

Page 14: ...rnal INT shared with P32_USBOC 9 78 RD03 OC4 RD3 PWM 4 10 81 RD04 OC5 PMWR CN13 RD4 PWM 5 JPR to digital pin 10 position 11 12 RG08 ERXDV AERXDV ECRSDV AECRSDV SCL4 SDO2 U3TX PMA3 CN10 RG8 SPI_SDO 12...

Page 15: ...9 RA10 Vref CVref AERXD3 PMA6 RA10 VREF 43 87 RF00 ETXD1 PMD11 RF0 User LED LD5 44 14 RG09 ERXCLK AERXCLK EREFCLK AEREFCLK SS2 U6RX U3CTS PMA2 CN11 RG9 SPI_SS JPR to digital pin 10 position 45 58 RA02...

Page 16: ...DIO IC1 RD8 shared with digital pin 2 71 69 RD09 SS1 IC2 RD9 shared with digital pin 7 72 70 RD10 SCK1 IC3 PMCS2 PMA15 RD10 shared with digital pin 8 73 79 RD12 ETXD2 IC5 PMD12 RD12 shared with digita...

Page 17: ...A RA05 61 63 TDO RA5 I2C Pullup SCL RA06 91 65 TRCLK RA6 BTN1 RA07 92 66 TRD3 RA7 BTN2 RA09 28 41 Vref CVref AERXD2 PMA7 RA9 GPIO VREF RA10 29 42 Vref CVref AERXD3 PMA6 RA10 VREF RA14 66 8 AETXCLK SCL...

Page 18: ...SOSCI CN1 RC13 SOSC XTAL RC14 74 N A SOSCO T1CK CN0 RC14 SOSC XTAL RC15 64 N A OSC2 CLKO RC15 XTAL RD00 72 3 SDO1 OC1 INT0 RD0 PWM 1 RD01 76 5 OC2 RD1 PWM 2 RD02 77 6 OC3 RD2 PWM 3 RD03 78 9 OC4 RD3 P...

Page 19: ...SDO4 U2TX PMA8 CN18 RF5 MRF24 SPI RF08 53 1 SCL3 SDO3 U1TX RF8 GPIO UART RF12 40 54 SS4 U5RX U2CTS RF12 MRF24 SPI RF13 39 53 SCK4 U5TX U2RTS RF13 MRF24 SPI RG00 90 59 PMD8 RG0 MRF24 RESET RG01 89 58 E...

Page 20: ...ion 1 RG15 49 AERXERR RG15 SD Card 2 N A VDD POWER 3 RE05 31 PMD5 RE5 GPIO 4 RE06 32 PMD6 RE6 GPIO 5 RE07 33 PMD7 RE7 GPIO 6 RC01 67 T2CK RC1 shared with digital pin 34 7 RC02 68 T3CK RC2 shared with...

Page 21: ...POWER 31 N A AVSS POWER 32 RB08 16 A2 AN8 C1OUT RB8 AIN2 GPIO 33 RB09 22 A8 AN9 C2OUT RB9 AIN8 GPIO 34 RB10 18 A4 AN10 CVrefout PMA13 RB10 AIN4 GPIO 35 RB11 19 A5 AN11 ERXERR AETXERR PMA12 RB11 AIN5...

Page 22: ...ETXCLK SCL1 INT3 RA14 GPIO external INT shared with P32_USBOC 67 RA15 57 AETXEN SDA1 INT4 RA15 MRF24 INT 68 RD08 70 RTCC EMDIO AEMDIO IC1 RD8 shared with digital pin 2 69 RD09 71 SS1 IC2 RD9 shared wi...

Page 23: ...PMD10 RF1 GPIO 89 RG01 58 ETXERR PMD9 RG1 MRF24 HIBERNATE 90 RG00 59 PMD8 RG0 MRF24 RESET 91 RA06 65 TRCLK RA6 BTN1 92 RA07 66 TRD3 RA7 BTN2 93 RE00 26 PMD0 RE0 GPIO 94 RE01 27 PMD1 RE1 GPIO 95 RG14 5...

Page 24: ...enley Court Pullman WA 99163 U S A Application of Council Directives EMC 2004 108 EC Standards EMC EN55022 2010 EN55024 2010 Product Name chipKIT WF32 Product Model Number Digilent P N 210 273 Digilen...

Reviews: