7 network library software, 8 usb interface – Digilent 410-273P-KIT User Manual
Page 8
WF32 Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 8 of 24
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
7 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.
The DWIFIcK library supports both the MRF24WB0MA and MRF24WG0MA modules. The correct header file must
be used to specify the network hardware being used by the sketch. When writing a network sketch on the WF32,
use the following hardware library:
#include
The Digilent chipKIT network libraries are available for download from the Digilent web site:
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.
8 USB Interface
The PIC32MX695 microcontroller on the WF32 contains a USB 2.0 Compliant, Full Speed Device and On-The-Go
(OTG) controller. This controller provides the following features:
USB full speed host and device support.
Low speed host support.
USB OTG support.
Endpoint buffering anywhere in system RAM.
Integrated DMA to access system RAM and Flash memory.
Connector J13 on the top right side of the board is a standard USB type A receptacle. This connector will be used
when the WF32 has been programmed to operate as a 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 standard USB micro-AB
connector. Connect a cable with a micro-A plug (optionally available from Digilent) from this connector to an
available USB port on a PC or USB hub for device operation.
The USB specification allows for two types of devices with regard to how they are powered: self-powered devices
and bus powered devices. A self-powered device is one that is powered from a separate power supply and does
not draw power from the USB bus. A bus powered device is one that draws power from the USB bus and does not
have a separate power supply.