This chapter provides configuration examples that will enable the transceiver to act as an IEEE 802.15.4 compliant network node when put into
RX_AACK mode. An IEEE 802.15.4 network node can be either a
Device, a
PAN Coordinator, or a
Promiscuous Mode Device/Sniffer.
Use Cases:
The list below describes the configuration of the radio transceiver as an IEEE 802.15.4 device node. The parameters have to be applied to use case
PHY_CFG_RX_AACK_EXT.
- Configure the address filter: panid, short_addr, ext_addr.
- Configure frame buffer protection: safe_mode.
- Configure slotted operation: slmode.
- Configure, which IEEE 802.15.4 frame versions have to be processed: fvn_mode.
- Disable promiscuous mode: prom_mode = 0.
- Disable PAN coordinator behavior: coord = 0.
- Disable short Ack timing: ack_time = 0.
- Disable processing of reserved frame types: fltr_res_ft = 0, upld_res_ft_mode = 0.
- Enable automatic acknowledgement frame generation: dis_ack = 0.
- Note:
>> The order of the steps may be changed.
>> The parameters prom_mode, coord, ack_time, fltr_res_ft, upld_res_ft_mode, dis_ack are configured according to the reset values of the respective registers. Therefore they do not need to be reconfigured after reset.
The list below describes the configuration of the radio transceiver as an IEEE 802.15.4 PAN coordinator. The parameters have to be applied to use case
PHY_CFG_RX_AACK_EXT.
Compared to a device node, a PAN coordinator implements different address filtering mechanisms, which is described in detail in section section 6.2 (Frame Filter) of the AT86RF212 datasheet.
- Configure the address filter: panid, short_addr, ext_addr.
- Configure frame buffer protection: safe_mode.
- Configure slotted operation: slmode.
- Configure, which IEEE 802.15.4 frame versions have to be processed: fvn_mode.
- Disable promiscuous mode: prom_mode = 0.
- Enable PAN coordinator behavior: coord = 1.
- Disable short Ack timing: ack_time = 0.
- Disable processing of reserved frame types: fltr_res_ft = 0, upld_res_ft_mode = 0.
- Enable automatic acknowledgement frame generation: dis_ack = 0.
- Note:
>> The order of the steps may be changed.
>> The parameters prom_mode, ack_time, fltr_res_ft, upld_res_ft_mode, dis_ack are configured according to the reset values of the respective registers. Therefore they do not need to be reconfigured after reset.
The list below describes the configuration of the radio transceiver as an IEEE 802.15.4 device/sniffer. The parameters have to be applied to use case
PHY_CFG_RX_AACK_EXT.
Compared to a device node, a radio transceiver in promiscuous mode does not perform address filtering and must not acknowledge received frames.
- Configure the address filter: panid, short_addr, ext_addr.
- Configure frame buffer protection: safe_mode.
- Configure, which IEEE 802.15.4 frame versions have to be processed: fvn_mode.
- Enable promiscuous mode: prom_mode = 1.
- Disable PAN coordinator behavior: coord = 0.
- Disable processing of reserved frame types: fltr_res_ft = 0, upld_res_ft_mode = 0.
- Disable automatic acknowledgement frame generation: dis_ack = 1.
- Note:
>> The order of the steps may be changed.
>> Instead of using RX_AACK in promiscuous mode, receiving frames in the RX_ON mode will lead to the same behavior, since no frame filtering is done.
>> Since no automatic acknowledgement is performed due to dis_ack=1, the parameters slmode and ack_time are ignored. The parameters coord, fltr_res_ft, and upld_res_ft_mode are configured according to the reset values of the respective registers. Therefore they do not need to be reconfigured after reset.