Wiring Diagram

Jiangsu JWT Electronics Shares CO.,Ltd.
31 / 45
write reg[0x01] = 0x207f;
write reg[0x0B] = 0x857f;
2, Empty the receiving FIFO
write reg[0x25] = 0x8080;
4,Start receive enable, and set channel
write reg[0x00] = 0x40XX; //Low 7 is channel number
5Wait for the PKT flag to be high, indicating that it receives a frame of data, and starts to
read the data from FIFO, and the first byte read is the data length
6read reg[0x28]
read reg[0x28], 。。。。。。。
3Automatic reply and automatic retransmission
The function can be configured with registers
Write register 0x01[3] = 1 to enable auto-ack function
Write register 0x0b [11:8], set the number of resend, the default value is 3, that is, after the first
failure, resend twice.
Write register 0x0b[5:0], setting time, waiting for an ACK default is 0 x3f, each step is 16 us, a
total of approximately 1 ms, said if the received an ACK packet waiting time of 1 ms and
retransmission times no will to send packets to the maximum.
Can make and don't make corresponding functions can be AUTO - ACK PKT FLAG up time is
different: after the launch party receives an ACK packet or not yet received an ACK packet
retransmission times has the biggest, then pull up PKT FLAG, exit the launching state, MCU in PKT
FLAG raising, readable registers 0 x16 [7], if 1 receives an ACK packet. The receiver sends out an
ACK packet after receiving the data packet, then exits the receiving state and raises the
PKT_FLAG signal. The time of ACK packet is about 150us, which is determined by the length of
preamble and syncword.