The figure above leads to the following conclusions:<br>Sender: Whenever a new packet is sent, the PID value is added by 1.<br>Receiver: For the receiving end, the newly received packet PID value is compared to the PID value of the last received packet, and if the two PID values are different, the packet is considered to be the new packet and the system receives it. If the two PID values are different, and then the two cycle redundant code CRC is compared, if the two are the same, the old packet is considered to be dropped directly. If the cycle redundant code CRC is different, it is considered a new packet and is received by the system.<br>(5) Carrier detection<br>Carrier detection plays an important role in packet processing using the enhanced ShockBurstTM mode. In the packet transmission process, if the packet loss rate increases, then we are at the receiving end of the transmission channel CD value detection, when the CD value is high, indicating that this channel transmission data too much, congestion phenomenon, then we take the approach is to change the transmission channel. When the CD value is low, this channel can be transmitted normally.<br>(6) Data Channel<br> When the nRF24L01 wireless communication module is set to receive mode, the receiving end can simultaneously receive data with different channels, different addresses and the same rate. For a data channel, it is set by register EN_RXADDR, and in general, only channel 0 and channel 1 are open. In addition, these data channels are given different addresses through register RX_ADDR_Px (x is valued from 0 to 5, where the RX_ADDR_P0 and RX_ADDR_P1 addresses are 40 bits, and the addresses from RX_ADDR_P2 to RX_ADDR_P5 are 32-bit common addresses plus their respective adjusted low 8-bit addresses)
正在翻译中..