Address
0x1C
Description
The DYNPD register is used to enable the dynamic payload feature on each Rx pipe.
Contents
This table is copied from the nRF24L01 product specification (page 58).
Name |
Bit |
Reset Value |
Type | Description |
Reserved | 7:6 | 00 | R/W | Only ’00’ allowed |
DPL_P5 | 5 | 0 | R/W | Enable dyn. payload length data pipe 5. (Requires EN_DPL and ENAA_P5) |
DPL_P4 | 4 | 0 | R/W | Enable dyn. payload length data pipe 4. (Requires EN_DPL and ENAA_P4) |
DPL_P3 | 3 | 0 | R/W | Enable dyn. payload length data pipe 3. (Requires EN_DPL and ENAA_P3) |
DPL_P2 | 2 | 0 | R/W | Enable dyn. payload length data pipe 2. (Requires EN_DPL and ENAA_P2) |
DPL_P1 | 1 | 0 | R/W | Enable dyn. payload length data pipe 1. (Requires EN_DPL and ENAA_P1) |
DPL_P0 | 0 | 0 | R/W | Enable dyn. payload length data pipe 0. (Requires EN_DPL and ENAA_P0) |
Comments
The dynamic payload feature allows the radio to calculate the size of a data packet’s payload instead of relying on the static payload width defined in the RX_PW_Pn Registers. This project doesn’t take advantage of the dynamic payload feature.
To use this feature, the ACTIVATE instruction needs to be sent to the radio, followed by a parameter byte of 0x73. Also, the EN_DPL bit must be set in the FEATURE Register.