Microchip Technology DM182015-1 用户手册

下载
页码 42
8-Bit Wireless Development Kit User’s Guide
DS70654B-page 30
Preliminary
© 2011-2012 Microchip Technology Inc.
4.6.2
Tutorial Operation
The Ping-Pong demo program flow is described in 
.
1.
Power both the development kits simultaneously. This demo uses the MiWi P2P 
protocol, switching both the nodes simultaneously ensures that they connect with 
one-another.
2.
After powering the demo board a welcome message “8-bit Wireless 
Development Kit” will be displayed on the LCD screen, and later it changes to 
“Connecting Peer on Channel 23”.
3.
After the MiWi P2P connection is established between the nodes, the LCD 
display on both the screens change to “Joined Network successfully”.
4.
After few seconds, the LCD screen prompts the user to initiate the Ping-Pong test 
with the following display:
• Ping-Pong demo
• RB0 (Tx) RB2 (Rx)
5.
Initiate one node in Tx mode and the other node in Rx mode.
6.
On one node (Node 1), press RB0 push button and then on the other node (Node 
2) press RB2 push button. Both the nodes will start exchanging data immediately.
• On Node 1:
- LCD Display line1: Transmitting
- LCD Display line2: Count: 1
• On Node 2:
- LCD Display line1: Receiving 1
- LCD Display line2: RSSI (dB): -40
Count reads from 1-10 and then Node 2 moves to Transmit mode and Node 1 moves 
to Receive mode.