A N 6 3 3
62
Rev. 0.7
10.10. 802.15.4g Bidirectional Project
This example project demonstrates how to use the Si446x radio IC for 15.4g packets in regular boot mode. Just
like the standard Bidirectional code (Section 10.9 Two-Way Packet), it implements a two-way communication link.
Pushing a button on one side results in sending a packet to the other side; the incoming packet is acknowledged by
sending back an ACK packet (see Figure 44 below). A node can be either a sender or a receiver. The main
difference between the two projects is that the 15.4g example shows how to configure the device to meet the
802.15.4g SUN-PHY specification, which is described by the IEEE 802.15.4g-2012 standard (referred to as
“standard” later in this document). Although the standard specifies both the PHY and the MAC layers, only the PHY
has been implemented when designing the example project (from a radio IC configuration standpoint the PHY
layer is the point of interest; the MAC is one layer above the PHY and needs to be implemented by the user
application. There is no HW/API support in regular boot mode for the MAC).
Figure 44. 802.15.4g Bidirectional Example Code Functional Flowchart
Some of the controls in WDS are limited or defaulted to certain values in order to have the right radio configuration
for the 15.4g example project. For example, only 2GFSK and 4GFSK modulation types, certain frequency bands,
and data rates are available. Also, preamble, sync word patterns, CRC, and data whitening configurations are all
fixed on the WDS GUI. The CRC and data whitening polynomials, seeds, bit order, etc, are all specified by the
standard and have to be configured carefully. Due to the standard requirements, the variable packet length feature
has to be enabled for the RX side.
From a radio packet handler perspective, two fields are used. Field 1 for the PHR (packet header), Field 2 for the
Go to RX state
PB1 pushed?
NIRQ IT arrived?
Clear and Read ITs
CMD error IT?
Packet Sent IT?
Packet
Received IT?
CRC error IT?
Leave RX state
Reset FIFO
ACK message
sent?
ACK message
received?
Expected packet
received?
Configure ACK PHR
to match received
packet (CRC, DW)
Blink four LEDs
(ACK arrived)
Blink LED4
(ACK sent)
Packet was sent.
Store expected ACK
PHR accordingly
Blink LED1
(Regular packet
sent)
Send ACK packet
N
Y
N
N
N
N
N
N
Send regular Packet
Y
Y
Y
Y
Y
Y
Y
Y
Radio Ready
RF initialized
Содержание EZRADIOPRO Si4060
Страница 24: ...AN633 24 Rev 0 7 Figure 20 Supply Current versus Time Diagram from Shutdown to RX State...
Страница 67: ...AN633 Rev 0 7 67 Figure 48 Variable Length Packet Reception Flowchart...
Страница 69: ...AN633 Rev 0 7 69 Figure 50 Packet Matching Reception Flowchart...
Страница 73: ...AN633 Rev 0 7 73 Figure 54 Packet Reception with Automatic RX Hopping Flowchart...
Страница 75: ...AN633 Rev 0 7 75 Figure 56 Packet Reception with Manual Rx Hopping...
Страница 80: ...AN633 80 Rev 0 7 Figure 62 Long Packet Transmission Workflow...
Страница 81: ...AN633 Rev 0 7 81 Figure 63 Long Packet RX Flowchart...