User manual

10
Freescale as accelerometer and magnetometer. Please refer to the datasheet of these ICs for more
details information on their utilization in the board if needed.
There are 5 different MPLABX demo projects that can be downloaded from Round Solutions
website. These projects demonstrate the use of FreeRTOS and state machine code. They include
examples about the use of TCPIP, USB CDC, communication with Telit modules, reading GPS NMEA
messages, and reading and writing to IOs.
The purpose of this document is not to explain how FreeRTOS works, how Telit cellular modules
work, or to explain the stack of TCPIP, USB and other modules. It just demonstrates how they are
used in the examples provided, and the users can use these examples as a base for their application
development on the Ping Pong solely without any royalty fee paid to Round Solutions. To get more
information about the functionality of the modules, please refer to the datasheets of each.
The projects available at Round Solutions websites can be downloaded at the following address:
http://www.roundsolutions.biz/media/pdf/EVK-PCB-HEDGN-R1501_PingPong%20SourceCode-
zip%20file.zip
1 - PPR_cdc_com_port_dual: A project that uses RTOS and creates two virtual COM ports (USB CDC)
2- PPR_tcpip_client_server: A project that uses FreeRTOS and sets up TCPIP communications.
3- PP_tcpip_tcp_server: a project that uses state machine to demonstrates the use of TCPIP stack
4- PP_single_com_port: a project that uses state machine to demonstrates the use of USB CDC
stack
5 -PP_State_machine: a project that demonstrates the use of state machines to communicate with
the Telit Cellular module on board, reads GPS NMEA messages, writes to and reads from memory
and IOs.
Projects 1, 2, 3, and 4 are based on examples taken from Microchip Harmony and modified to work
on the Ping Pong board, copy rights for Microchip applies here as listed in MPLAB Harmony help
document.
1. PPR_cdc_com_port_dual [1]:
This RTOS based demonstration application creates a USB CDC Device that enumerates as two
serial ports on the USB Host personal computer. This application demonstrates the ability of the
MPLAB Harmony USB Stack to operate in a Real-Time Operating System (this example uses
FreeRTOS) and to support multiple instances of the same device class.
Description:
To build this project, you must copy the project to the following location: <install-
dir>/apps/rtos/freertos/ and then open the PPR_cdc_com_port_dual.X project in MPLAB X IDE.
<install-dir> if not changed by the user is: C:\microchip\harmony\vxxxxx
Where vxxxxx depends on which version of MPLAB Harmony is installed.