Microchip Technology AC164142 User Manual

Page of 38
© 2011 Microchip Technology Inc.
DS70656A-page 25
3.2
DEMONSTRATION APPLICATIONS
The five demonstration applications developed for the daughter board are described in 
this section. Peripherals on the Explorer 16 Development Board, such as the LCD 
screen, push buttons and LEDs, are used by the demonstration applications to interact 
with the user. In general, LED D3 indicates the transmission status, LED D5 indicates 
the receiver bit synchronization status, and LED D4 indicates the receiver byte 
synchronization status.
 lists the resource requirements for the individual projects of each of the demo 
applications. The listed memory requirements are valid only when the default 
configuration settings are used (source codes provided on the web site are configured 
with default configuration settings). Changing the configuration settings may cause 
significant changes in the memory requirements.
TABLE 3-2:
MEMORY AND MIPS REQUIREMENT FOR THE MODEM
3.2.1
Ping Pong Demonstration
This demonstration evaluates the two-way power line communication link between two 
development boards.
1. Program two Explorer 16 Development Boards with the same demonstration 
software.
2. Connect the development boards to a power line and power up the Explorer 16 
Development Boards.
3. Press the S5 button on one of the Explorer 16 Development Boards, for example, 
board 1.
This will cause board 1 to transmit a predetermined frame on the power line. The 
other board, board 2, connected to the same power line will receive this frame 
and check it for errors. If no errors are found, board 2 will transmit another pre-
determined frame on the power line. Again, board 1 will receive this frame and 
check it for errors. If no errors are found, board 1 will transmit another predeter-
mined frame on the power line. This process continues as an infinite loop, ping-
ing data frames back and forth over the power line. Meanwhile, the LCDs on the 
two Explorer 16 Development Boards display the following frame statistics 
information:
• TX: Number of frames transmitted 
• RX: Number of frames received in total
• ERR: Number of frames received with errors
Demo 
Application
Project Name
Flash
(Bytes)
RAM
(Bytes)
Description
Ping Pong Demo
pingpong
6408
720
Point to point two-way 
communication link tester
Stream Demo
rxstream
6510
704
One-way communication 
link tester
txstream
5571
428
Sensors Demo
node
14283
1520
Single station - multiple 
node (sensors) demo
station
13899
1348
Talk Demo
talk
3408
442
Character level communi-
cation link demo
Pipe Demo
pipe
4584
1166
UART to UART data link
Template
template
2916
242
Template