Digilent chipKIT wf32 Reference Manual Download Page 7

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 

7

 of 

24

 

 

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 WF32 are 0-48. These pin numbers are labeled in the silk screen on the board. 
 
Pin numbers 0-13 are the outer row of pins on J9 and J7, from right to left. Pin numbers 14-19 are the outer row of 
pins on J8 from left to right. Pins 20-25 are the inner row of pins on J8 from left to right. Pin numbers 26-41 are the 
inner row of pins on J9 and J7 from right to left. Pin 42 is the pin labeled A on J7. This pin is normally the reference 
voltage for the microcontroller’s A/D converter, but can also be used as a digital I/O pin. 
 
In addition to the connector pin, Pin 13 also connects to the user LED LD3. Pin 43 connects to user LED LD5. Pin 43 
does not attach to any connector. Pin 44 is the SS signal for SPI port 2, and discussed more in the SPI section 
below. Pins 45 and 46 are intended to be used for I

2

C and are connected to the 2x1 female header connector, J6. 

Pins 47 and 48 connect to the user LEDs LD5 and LD6. 
 
The analog inputs on connector J8 are assigned pin numbers. The outer row of pins on J8 is analog inputs A0-A5. 
The inner row of pins is A6-A11. These pins are also assigned digital pin numbers; A0-A5 are digital pins 14-19, and 
A6-A11 are 20-25.  
 

802.11b/g Interface 

The 802.11b/g compatible WiFi interface on the WF32 is provided by a Microchip MRF24WG0MA WiFi module. 
This module provides the radio transceiver, antenna, and 802.11 compatible network 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 protocol support provided by the 
WiFi module. 

The primary communications interface with the MRF24WG0MA WiFi module is a 4 wire SPI bus. This SPI bus uses 
SPI4 in the PIC32 microcontroller, and this SPI controller is dedicated to use for communications with the WiFi 
module. 

The WiFi module supports SPI clock speeds up to 25MHz. In addition to the SPI interface, the interface to the WiFi 
module also includes a reset signal, an interrupt signal and a hibernate signal. The active low RESET signal is used 
to reset the WiFi module The external interrupt signal, INT, is used by the module to signal to the host 
microcontroller that it needs servicing by the microcontroller software. The INT signal on the WiFi module is 
connected to external interrupt INT4 on the PIC32 microcontroller. The active low HIBERNATE signal is used to 
power the WiFi module down and put it into a low power state.  

The interface signals to the WiFi module are controlled by the network libraries and are not normally accessed by 
the user sketch. Refer to the schematic for the WF32 board for details on these connections. 

More detailed information about the operation of the MRF24WG0MA can be obtained from the manufacturer 
data sheet available from 

www.microchip.com

.  

 

Network Library Software 

The WiFi module on the WF32 is intended for use with the Digilent chipKIT network libraries DNETcK and DWIFIcK. 
The DNETcK library provides TCP/IP protocol support for all chipKIT compatible network interfaces supported by 
Digilent products, including the WF32. The DWIFIcK library provides the additional library support required for 
connecting to and operating with the Microchip MRF24WG0MA wireless network modules. 

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: