Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
chipkit_shield_wifi:refmanual [2015/05/28 17:18] – [Library Software] Martha | chipkit_shield_wifi:refmanual [2015/05/28 17:24] – Martha | ||
---|---|---|---|
Line 9: | Line 9: | ||
- | =====Overview==== | + | ---- |
+ | ===== Overview ===== | ||
- | The chipKIT WiFi Shield is designed for use | ||
- | with Digilent’s growing line of Uno-compatible | ||
- | chipKIT microcontroller boards such as the | ||
- | Uno32, uC32, WF32, or Max32. The chipKIT | ||
- | line of microcontroller boards is based on the | ||
- | high-performance Microchip PIC32 | ||
- | microcontrollers. | ||
- | The WiFi Shield | + | The chipKIT |
- | boards the ability to connect to and | + | Uno32™, uC32™, WF32™, or Max32™. The chipKIT line of microcontroller boards is based on the |
- | communicate with IEEE 802.11-compatible | + | high-performance Microchip® PIC32 microcontrollers. |
- | wireless networks. | + | |
- | It is intended to be used with the Digilent | + | The WiFi Shield gives chipKIT microcontroller boards |
- | network libraries DNETcK | + | |
- | available at www.digilentinc.com in file DSD- | + | |
- | 0000318. | + | |
- | The WiFi Shield provides a micro-SD card | + | It is intended to be used with the Digilent network libraries DNETcK |
- | connector. The chipKIT MPIDE SD library can | + | |
- | be used to read and write files on micro-SD | + | |
- | cards. | + | |
- | Early versions of the WiFi Shield use the | + | The WiFi Shield provides a microSD card connector. The chipKIT MPIDE SD library can be used to read and write files on microSD cards. |
- | Microchip MRF24WB0MA WiFi module. Later | + | |
- | versions use the improved MRF24WG0MA | + | Early versions of the WiFi Shield use the Microchip MRF24WB0MA WiFi module. Later versions use the improved MRF24WG0MA WiFi module. |
- | WiFi module. | + | |
{{ : | {{ : | ||
Line 44: | Line 30: | ||
Features include: | Features include: | ||
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | * | + | * |
- | =====Functional Description===== | + | ===== Functional Description ===== |
====Introduction==== | ====Introduction==== | ||
- | The WiFi Shield supports IEEE 802.11b/g/n | + | The WiFi Shield supports IEEE 802.11b/g/n networks and is designed for use with chipKIT and chipKIT-compatible microcontroller boards. |
- | networks and is designed for use with chipKIT | + | |
- | and chipKIT-compatible microcontroller | + | |
- | boards. | + | |
- | The first version of the WiFi Shield uses the | + | The first version of the WiFi Shield uses the Microchip MRF24WB0MA WiFi module. This module supports IEEE 802.11b networks at 1 and 2 Mbps data rates. |
- | Microchip MRF24WB0MA WiFi module. This | + | |
- | module supports IEEE 802.11b networks at 1 | + | |
- | and 2 Mbps data rates. | + | |
- | Later productions versions of the WiFi Shield | + | Later productions versions of the WiFi Shield use the improved Microchip MRF24WG0MA module. This module provides IEEE 802.11b/g support for embedded applications at data rates of 1 or 2 Mbps for 802.11b or 6, 9, 12, 18, 24, 36, 48, and 54 Mbps for 802.11g. |
- | use the improved Microchip MRF24WG0MA | + | |
- | module. This module provides IEEE 802.11b/g | + | |
- | support for embedded applications at data | + | |
- | rates of 1 or 2 Mbps for 802.11b or 6, 9, 12, | + | |
- | 18, 24, 36, 48, and 54 Mbps for 802.11g. | + | |
- | The production version of the board can be | + | The production version of the board can be determined by reading the part number of the MRF24Wx0MA module from the sticker (on the B module) or engraved on the metal shield (on the G module.) |
- | determined by reading the part number of the | + | |
- | MRF24Wx0MA module from the sticker (on the | + | |
- | B module) or engraved on the metal shield (on | + | |
- | the G module.) | + | |
- | The WiFi Shield is intended to be used with the | + | The WiFi Shield is intended to be used with the Digilent network libraries DNETcK and DWIFIcK, available at www.digilentinc.com. The libraries use the chipKIT MPIDE development environment and contain Microchip Applications Library code licensed from Microchip. |
- | Digilent network libraries DNETcK and | + | |
- | DWIFIcK, available at www.digilentinc.com. | + | |
- | The libraries use the chipKIT MPIDE | + | |
- | development environment and contain | + | |
- | Microchip Applications Library code licensed | + | |
- | from Microchip. | + | |
- | To use the WiFi Shield outside of the MPIDE | + | To use the WiFi Shield outside of the MPIDE development environment, |
- | development environment, | + | |
- | Applications Library, available from | + | |
- | www.microchip.com, | + | |
- | create custom library code. | + | |
- | The WiFi Shield has a micro-SD | + | The WiFi Shield has a microSD |
- | connector and four discrete LEDs. | + | |
- | The card connector uses the chipKIT MPIDE | + | The card connector uses the chipKIT MPIDE SD library to access files on a microSD-size flash memory card. |
- | SD library to access files on a micro-SD-size | + | |
- | flash memory card. | + | |
- | The LEDs are connected to four digital I/O pins | + | The LEDs are connected to four digital I/O pins on the chipKIT microcontroller board and can be accessed using the pinMode() and digitalWrite() functions in the MPIDE software. |
- | on the chipKIT microcontroller board and can | + | |
- | be accessed using the pinMode() and | + | |
- | digitalWrite() functions in the MPIDE | + | |
- | software. | + | |
- | For more information, | + | For more information, |
- | Shield schematic at www.digilentinc.com. | + | |
- | ====802.11b/ | + | ==== 802.11b/g Interface ==== |
- | The 802.11b/g compatible WiFi interface on | + | The 802.11b/g compatible WiFi interface on the chipKIT WiFi Shield is provided by a Microchip MRF24Wx0MA WiFi module. This module provides the radio transceiver, |
- | the chipKIT WiFi Shield is provided by a | + | |
- | Microchip MRF24Wx0MA WiFi module. This | + | |
- | module provides the radio transceiver, | + | |
- | antenna, and 802.11-compatible network | + | |
- | firmware. | + | |
- | The MRF24Wx0MA firmware provides the | + | The MRF24Wx0MA 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. |
- | 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 | + | The primary communications interface with the WiFi module is a 4-wire SPI bus. The MRF24Wx0MA WiFi module supports SPI clock speeds up to 10MHz. An active low RESET signal can be used to reset the WiFi module, and an external interrupt signal, INT, is used by the module to signal to the host microcontroller that it needs servicing by the |
- | WiFi module is a 4-wire SPI bus. The | + | |
- | MRF24Wx0MA WiFi module supports SPI | + | |
- | clock speeds up to 10MHz. An active low | + | |
- | RESET signal can be used to reset the WiFi | + | |
- | module, and an external interrupt signal, INT, | + | |
- | is used by the module to signal to the host | + | |
- | microcontroller that it needs servicing by the | + | |
microcontroller software. | microcontroller software. | ||
- | The MRF24Wx0MA provides the following | + | The MRF24Wx0MA provides the following additional control signals: HIBERNATE (recommended for the G module only), |
- | additional control signals: HIBERNATE | + | |
- | (recommended for the G module only), | + | |
RESET, and INT. | RESET, and INT. | ||
- | For detailed information on the MRF24Wx0MA, | + | For detailed information on the MRF24Wx0MA, see the data sheet at www.microchip.com. |
- | see the data sheet at www.microchip.com. | + | |
====SD Card Interface=== | ====SD Card Interface=== | ||
+ | The microSD card connector lets you access data stored on microSD-sized cards. | ||
- | The micro-SD card connector lets you access | + | SD memory cards are accessed via the same SPI bus used to access the WiFi module. The SD card uses a separate select line from that used by the WiFi module to enable API access to the SD card. The chipKIT MPIDE SD library |
- | data stored on micro-SD-sized cards. | + | |
- | + | ||
- | SD memory cards are accessed via the same | + | |
- | SPI bus used to access the WiFi module. The | + | |
- | SD card uses a separate select line from that | + | |
- | used by the WiFi module to enable API access to the SD card. The chipKIT MPIDE SD library | + | |
is used to access files stored on the card. | is used to access files stored on the card. | ||
Line 175: | Line 103: | ||
The chipKIT network libraries are available from the www.digilentinc.com in file DSD-0000318. The file includes reference examples demonstrating the use of the libraries. More extensive examples are available for download as well. | The chipKIT network libraries are available from the www.digilentinc.com in file DSD-0000318. The file includes reference examples demonstrating the use of the libraries. More extensive examples are available for download as well. | ||
- | |||