User manual

GHI Electronics,LLC Embedded Master User Manual
Hardware and Software Library
PIN# TFT# Name Description
32 42 USB_DEVIC_DP USB Device Data Plus
31 41 USB_DVICE_DM USB Device Data Minus
26 26 USB_VBUS
(P1.30)
USB Device power detect. Connect to
power pin on USB connector.
Note: Usually USB VBUS signal is used to detect
the USB physical connection thus it can can be
connected to any GPIO pin to detect the USB
cable is connected or not.
The USB device can be used for debugging and deployment of applications through
Microsoft Visual Studio. Also, it can be used for SideShow devices, where Embedded
Master would be a SideShow device.
Making Embedded Master a USB device requires knowledge of how USB works which
might be a complex task. The user should refer to .Net Micro Framework documentation
for complete details on how to use this feature.
However, GHI Electronics offers a USB Client library (available in the SDK with Embedded
Master Library) to ease development and provide direct support for some USB devices.
The library is capable of creating a USB device that composed of multiple USB Interfaces.
These common devices are directly supported and the user can use them with ease and
no extra effort. Some of the included ones are:
Mass Storage: Your Embedded Master or USBizi will appear as a virtual Mass
Storage device (similar to a USB Drive). For example, you can have an SD card
and other physical USB thumb drives internally in your embedded device. These
are exposed with one USB Client connection to your PC and the Operating System
(Windows) on your PC will see the available storage devices and manipulate them.
CDC (Virtual COM Port): This is very useful to make your embedded device
exchange data with the host PC over USB. Your Embedded Master will appear as
a virtual COM Port on the PC and you will be able to send/receive data with no
special drivers.
Mouse: This is a demonstration of how to make Embedded Master an HID (Human
Interface Device) and it will appear on your PC as a USB Mouse.
For reference documentation on how to use the USB Client library provided by GHI,
please refer to the examples in the SDK and the library documentation for:
GHIElectronics.Hardware.USBClient.USBClientDevice
NOTE: If you are NOT using GHI library, you should note the following:
Be CAREFUL when changing USB configuration and settings, as you go on
with development and creating your USB device and connecting it to the PC,
Rev. 2.06 TFT Page 73 of 102 www.ghielectronics.com