chipKIT WF32

From chipKIT
Jump to: navigation, search
chipKIT WF32
WF32
Specifications
Controller PIC32MX695F512L
Flash 512kB
RAM 32kB
Speed 80MHz
Links
Designer Digilent Inc.
Product Page digilentinc.com
User Guide chipkit_wf32_rm.pdf
Schematic

WF32(Rev. B)

WF32 (Rev. C)
Tech Support chipkit.net/forum
Board Files Eagle (ZIP)
Bootloader HEX Bootloader Image (ZIP)
Purchase From Microchip

chipKIT™ WF32 by Digilent is an easy-to-use platform for developing WiFi applications. As with other chipKIT boards, it uses chipKIT-core™ development environment and Arduino IDE for compatibility with existing code examples, tutorials and resources. It is also compatible with MPLAB® X IDE.

The WF32 includes several peripherals on board, including WiFi radio module, USB OTG (host or device) interface, microSD card slot, buttons, LEDs, potentiometer and lots of extra I/O. A full-featured HTML server application is available by download. This board can be powered by USB or an external power supply.

For a similar more powerful board see chipKIT™ Wi-Fire.


The Board Design

  • PIC32MX695F512L processor with 512K Flash, 32K RAM
  • Up to 80 MHz operating speed
  • MRF24WG0MA WiFi module (802.11 b/g)
  • Micro SD card connector (bit-banged SPI interface)
  • USB 2.0 OTG interface
  • 4 user LEDs, 2 buttons, potentiometer
  • 43 available I/O lines (5V Tolerant)
  • 12 Analog Inputs (Not 5V Tolerant)


Useful Board Pins

LEDs

LED Name Description
LD1 USB TX Activity LED
LD2 USB RX Activity LED
LD3 Digital pin 47
LD4 Digital pin 48
LD5 Digital pin 43
LD6 Digital pin 13

Buttons

Button Name Digital Pin
BTN1 46
BTN2 47


Analog Inputs

Analog Input Digital Pin
A0 14
A1 15
A2 16
A3 17
A4 18
A5 19
A6 20
A7 21
A8 22
A9 23
A10 24
A11 25
A12 60
A13 61

Serial Objects

Serial Object UART TX Pin RX Pin
Serial USB/UART1 1 0
Serial1 UART4 40 39
Serial1 UART3 11 12

I2C

I2C Object Channel SDA Pin SCL Pin
DTWI0 / Wire 1 SDA4 (46) SCL4 (45)
DTWI1 2 0 1
DTWI2 3 12 11


SPI

SPI Object Channel SS MOSI Pin MISO Pin SCK Pin
DSPI0 / SPI 1 10 11 12 13
DSPI1 2 15 3 38 8
DSPI2 3 39 1 0 40

Note: The SD Card and WiFi Module also use SPI interfaces.


Pinout Table

Quick reference: There are four user LEDs (Pin 13, Pin 43, Pin 47, Pin 48). Pins 47 and 48 do not attach to any connector. There are also 12 analog inputs (Pin 14 - Pin 25, A0 - A11). There are also 43 GPIO pins available.

chipKIT Pin # PIC32 Pin # PIC32 Signal Function
0 52 SDA3/SDI3/U1RX/RF2 GPIO, UART
1 53 SCL3/SDO3/U1TX/RF8 GPIO, UART
2 18 AERXD0/INT1/RE8 GPIO, external INT
3 72 SDO1/OC1/INT0/RD0 PWM 1
4 88 ETXD0/PMD10/RF1 GPIO
5 76 OC2/RD1 PWM 2
6 77 OC2/RD1 PWM 3
7 19 AERXD1/INT2/RE9 GPIO, external INT,USBOC INT
8 66 AETXCLK/SCL1/INT3/RA14 GPIO, external INT(shared with P32_USBOC)
9 78 OC4/RD3 PWM 4
10 81 OC5/PMWR/CN13/RD4 PWM 5 (JPR to digital pin 10 position)
11 12 ERXDV/AERXDV/ECRSDV/AECRSDV/SCL4/SDO2/U3TX/PMA3/CN10/RG8 SPI_SDO
12 11 ECRS/SDA4/SDI2/U3RX/PMA4/CN9/RG7 SPI_SDI
13 10 ECOL/SCK2/U6TX/U3RTS/PMA5/CN8/RG6 SPI_SCK, User LED LD6
14/A0 23 AN2/C2IN-/CN4/RB2 AIN0, GPIO
15/A1 21 AN4/C1IN-/CN6/RB4 AIN1, GPIO
16/A2 32 AN8/C1OUT/RB8 AIN2, GPIO
17/A3 25 PGED1/AN0/CN2/RB0 AIN3, GPIO
18/A4 34 AN10/CVrefout/PMA13/RB10 AIN4, GPIO
19/A5 35 AN11/ERXERR/AETXERR/PMA12/RB11 AIN5, GPIO
20/A6 22 AN3/C2IN+/CN5/RB3 AIN6, GPIO
21/A7 20 AN5/C1IN+/VBUSON/CN7/RB5 AIN7, P32_VBUSON
22/A8 33 AN9/C2OUT/RB9 AIN8, GPIO
23/A9 24 PGEC1/AN1/CN3/RB1 AIN9, GPIO
24/A10 43 AN14/ERXD2/AETXD3/PMALH/PMA1/RB14 AIN10, GPIO
25/A11 44 AN15/ERXD3/AETXD2/OCFB/PMALL/PMA0/CN12/RB15 AIN11, GPIO
26 93 PMD0/RE0 GPIO
27 94 PMD1/RE1 GPIO
28 98 PMD2/RE2 GPIO
29 99 PMD3/RE3 GPIO
30 100 PMD4/RE4 GPIO
31 3 PMD5/RE5 GPIO
32 4 PMD6/RE6 GPIO
33 5 PMD7/RE7 GPIO
34 82 PMRD/CN14/RD5 GPIO
35 71 EMDC/AEMDC/IC4/PMCS1/PMA14/RD11 GPIO
36 83 ETXEN/PMD14/CN15/RD6 GPIO
37 84 ETXCLK/PMD15/CN16/RD7 GPIO
38 9 T5CK/SDI1/RC4 GPIO
39 47 AETXD0/SS3/U4RX/U1CTS/CN20/RD14 GPIO, UART
40 48 AETXD1/SCK3/U4TX/U1RTS/CN21/RD15 GPIO, UART
41 28 Vref-/CVref-/AERXD2/PMA7/RA9 GPIO, VREF-
42 29 Vref+/CVref+/AERXD3/PMA6/RA10 VREF+
43 87 ETXD1/PMD11/RF0 User LED LD5
44 14 ERXCLK/AERXCLK/EREFCLK/AEREFCLK/SS2/U6RX/U3CTS/PMA2/CN11/RG9 SPI_SS (JPR to digital pin position)
45 58 SCL2/RA2 I2C, wire (jumper to A5)
46 59 SDA2/RA3 I2C, wire (jumper to A4)
47 17 TMS/RA0 User LED LD3
48 38 TCK/RA1 User LED LD4
49 1 AERXERR/RG15 SD Card
50 95 TRD2/RG14 SD Card
51 96 TRD1/RG12 SD Card
52 97 TRD0/RG13 SD Card
53 39 SCK4/U5TX/U2RTS/RF13 MRF24 SPI
54 40 SS4/U5RX/U2CTS/RF12 MRF24 SPI
55 49 SDA5/SDI4/U2RX/PMA9/CN17/RF4 MRF24 SPI
56 50 SCL5/SDO4/U2TX/PMA8/CN18/RF5 MRF24 SPI
57 67 AETXEN/SDA1/INT4/RA15 MRF24 INT
58 89 ETXERR/PMD9/RG1 MRF24 HIBERNATE
59 90 PMD8/RG0 MRF24 RESET
60 41 AN12/ERXD0/AECRS/PMA11/RB12 power supply input voltage monitor
61 42 AN13/ERXD1/AECOL/PMA10/RB13
62 60 TDI/RA4 I2C Pullup (SDA)
63 61 TDO/RA5 I2C Pullup (SCL)
64 80 ETXD3/PMD13/CN19/RD13 5V Power Enable
65 91 TRCLK/RA6 BTN1
66 92 TRD3/RA7 BTN2
67 6 T2CK/RC1 shared with digital pin 34
68 7 T3CK/RC2 (shared with digital pin 35
69 8 T4CK/RC3 shared with digital pin 36
70 68 RTCC/EMDIO/AEMDIO/IC1/RD8 shared with digital pin 2
71 69 SS1/IC2/RD9 shared with digital pin 7
72 70 SCK1/IC3/PMCS2/PMA15/RD10 shared with digital pin 8
73 79 ETXD2/IC5/PMD12/RD12 shared with digital pin 10
N/A 26 PGEC2/AN6/OCFA/RB6 ICSP
N/A 27 PGED2/AN7/RB7 ICSP
N/A 63 OSC1/CLKI/RC12 XTAL
N/A 73 SOSCI/CN1/RC13 SOSC XTAL
N/A 74 SOSCO/T1CK/CN0/RC14 SOSC XTAL
N/A 64 OSC2/CLKO/RC15 XTAL
N/A 51 USBID/RF3 P32_USBID
N/A 57 D+/RG2 P32_USBD+
N/A 56 D-/RG3 P32_USBD-
N/A 2 VDD POWER
N/A 13 MCLR ICSP
N/A 15 VSS POWER
N/A 16 VDD POWER
N/A 30 AVDD POWER
N/A 31 AVSS POWER
N/A 36 VSS POWER
N/A 37 VDD POWER
N/A 45 VSS POWER
N/A 46 VDD POWER
N/A 54 VBUS POWER
N/A 55 VUSB POWER
N/A 62 VDD POWER
N/A 65 VSS POWER
N/A 75 VSS POWER
N/A 85 VCAP/VDDCORE POWER
N/A 86 VDD POWER