Hi all,
When I do some tests on chip of nrf52832,the chip sometimes receive an error packet: the crc status is ok,but the length field is random.The reference documents shows:If the payload plus add-on length is specified larger than MAXLEN, the RADIO will still transmit or receive in the same way as before except the payload is now truncated to MAXLEN. The packet's LENGTH field will not be altered when the payload is truncated. The RADIO will calculate CRC as if the packet length is equal to MAXLEN.That means if a large random data is received,it wii be trunctaed and calculate CRC as if the packet length is equal to MAXLEN.Obviously,in that case the CRC is rarely ok.
Does the radio calculate crc accoding to the LENGTH field when it receives a normal packet?Does the LENGTH field decide the number of bytes payload received ?