Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
chipkit_wf32:refmanual [2015/05/04 22:46] – Marthachipkit_wf32:refmanual [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 48: Line 48:
 | 1         | IC3- Microchip MRF24WG0MA WiFi Module  | 16        | J13- USB Connectors                      | | 1         | IC3- Microchip MRF24WG0MA WiFi Module  | 16        | J13- USB Connectors                      |
 | 2         | User Buttons                           | 17        | JP9- USB Overcurrent Detect              | | 2         | User Buttons                           | 17        | JP9- USB Overcurrent Detect              |
-| 3         | JP3- Microchip Debug Tool Connector    | 18        | JP11- Hos USB Bus Power Enable           |+| 3         | JP2- Microchip Debug Tool Connector    | 18        | JP11- Hos USB Bus Power Enable           |
 | 4         | J6- I2C Signals                        | 19        | J8- Analog and Digital Signal Connector  | | 4         | J6- I2C Signals                        | 19        | J8- Analog and Digital Signal Connector  |
 | 5         | BTN1- Reset                            | 20        | JP5, JP4- Analog or I2C Select Jumper    | | 5         | BTN1- Reset                            | 20        | JP5, JP4- Analog or I2C Select Jumper    |
 | 6         | JP1- Reset Disable                     | 21        | J3- Shield Power Connector               | | 6         | JP1- Reset Disable                     | 21        | J3- Shield Power Connector               |
-| 7         | J9- Digital Signal Connector           | 22        | J16- 5.0V Supply Select                  |+| 7         | J7- Digital Signal Connector           | 22        | J16- 5.0V Supply Select                  |
 | 8         | JP3- Pin 10 Signal Select Jumper       | 23        | J15- Power Select Jumper                 | | 8         | JP3- Pin 10 Signal Select Jumper       | 23        | J15- Power Select Jumper                 |
 | 9         | PIC32 Microcontroller                  | 24        | J11- Micro SD Connector                  | | 9         | PIC32 Microcontroller                  | 24        | J11- Micro SD Connector                  |
 | 10        | Potentiometer                          | 25        | J17- External Power Connector            | | 10        | Potentiometer                          | 25        | J17- External Power Connector            |
-| 11        | J7- Digital Signal Connector           | 26        | J14- External Power Connector            |+| 11        | J9- Digital Signal Connector           | 26        | J14- External Power Connector            |
 | 12        | User LEDs                              | 27        | J2- USB- UART Handshaking Signals        | | 12        | User LEDs                              | 27        | J2- USB- UART Handshaking Signals        |
 | 13        | JP6,7- SPI Master/ SPI Slave Select    | 28        | USB connector for USB Serial Converter   | | 13        | JP6,7- SPI Master/ SPI Slave Select    | 28        | USB connector for USB Serial Converter   |
 | 14        | J10- SPI Connector                     | 29        | Serial Communication LEDs                | | 14        | J10- SPI Connector                     | 29        | Serial Communication LEDs                |
 | 15        | JP10- USB Host or OTG Select           |           |                                          | | 15        | JP10- USB Host or OTG Select           |           |                                          |
 +
  
 ---- ----
Line 204: Line 205:
 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. 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 I2C and are connected to the 2x1 female header connector, J6. Pins 47 and 48 connect to the user LEDs LD5 and LD6.+In addition to the connector pin, Pin 13 also connects to the user %%LED%% LD6. 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 I2C and are connected to the 2x1 female header connector, J6. Pins 47 and 48 connect to the user LEDs LD3 and LD4, respectively.*****
  
 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. 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.
  
 +**Note* ** //The board defs file for the WF32 on MPIDE currently has the user LEDs labeled as the following:
 +\\
 +\\
 +#define PIN_LED1 13\\
 +#define PIN_LED2 43\\
 +#define PIN_LED3 48\\
 +#define PIN_LED4 47\\
 +\\
 +these should be corrected to:\\
 +#define    PIN_LED6    13\\    
 +#define    PIN_LED5    43\\    
 +#define    PIN_LED4    48\\    
 +#define    PIN_LED3    47\\    
 +\\
 +Users can access the board defs file by following the path C:\...\MAIN_MPIDE_FOLDER_NAME\hardware\pic32\variants\WF32\Board_defs.h
 +You can edit the file through a program such as notepad and find the appropriate lines starting on line #102 //
  
 ---- ----
Line 244: Line 261:
 </code> </code>
  
-The Digilent chipKIT network libraries are available for download from the Digilent web site: www.digilentinc.com. These libraries make use of a custom version of the Microchip Application Library. It is necessary to accept the Microchip Application Library license agreement before downloading the library.+The Digilent chipKIT network libraries are available [[/agreement|here]]. These libraries make use of a custom version of the Microchip Application Library. It is necessary to accept the Microchip Application Library license agreement before downloading the library.
  
 There are reference examples demonstrating the use of these libraries in the library download. There are more extensive examples available on the Digilent web site as well. There are reference examples demonstrating the use of these libraries in the library download. There are more extensive examples available on the Digilent web site as well.
Line 395: Line 412:
  
 Jumper JP3 is used to select PWM output or the SPI SS function on Pin 10. The shorting block on JP3 should be in Jumper JP3 is used to select PWM output or the SPI SS function on Pin 10. The shorting block on JP3 should be in
-the PWM position to select PWM output. It should be in the SS position to select the SPI SS function. JP4 will+the PWM position to select PWM output. It should be in the SS position to select the SPI SS function. JP3 will
 normally be in the PWM position. In general, the only time it needs to be in the SS position is when the WF32 normally be in the PWM position. In general, the only time it needs to be in the SS position is when the WF32
 board is being used as an SPI slave device. board is being used as an SPI slave device.
Line 468: Line 485:
  
  
-Pin 13 (LD6), Pin 43 (LD5), Pin 47 (LD4), Pin 48 (LD3). Pin 13 is shared between a connector pin and the LED. Pin 43,+Pin 13 (LD6), Pin 43 (LD5), Pin 48 (LD4), Pin 47 (LD3). Pin 13 is shared between a connector pin and the LED. Pin 43,
 48, and 47 only goes to the LED and not to any connector pin. Driving the pin HIGH turns the LED on, driving it LOW 48, and 47 only goes to the LED and not to any connector pin. Driving the pin HIGH turns the LED on, driving it LOW
 turns it off. turns it off.