Microchip Technology AC164145 User Manual
Demonstration
© 2011 Microchip Technology Inc.
DS75019A-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.
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 approximate memory 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.
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 REQUIREMENTS FOR DEMO APPLICATIONS
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
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
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
688
Point to point two-way
communication link tester
communication link tester
Stream Demo
rxstream
6510
672
One-way communication
link tester
link tester
txstream
5571
396
Sensors Demo
node
14058
1348
Single station - multiple
node (sensors) demo
node (sensors) demo
station
13905
1316
Talk Demo
talk
3408
410
Character level
communication link demo
communication link demo
Pipe Demo
pipe
4590
1134
UART-to-UART data link
Template
template
2919
210
Template