Hi, In my design, there is a tag used by 24l01,It can transmit the temperature value.In the tag, the parameters are like this:
addrofch[0] = 0xe7;
addrofch[1] = 0x7e;
addrofch[2] = 0xe3;
addrofch[3] = 0x0;
addrofch[4] = 0x0;
rtx_blen = 8; 8bytes
rtx_spd = 0; //1M
rtx_pwr = 1;0dbm
the CRC partEN_crc=1 , CRC = 2 byte , POWER UP = 1.PRIM_RX = 0
In the 51822,the code I put in the attachment,Now, they can't communicate. please help me check ,where is the mistake?
Now the CRCSTATUS always equals 0.I don't know where is the mistake.please help me.
Thank you very much!