Wiring Diagram
Table Of Contents
Jiangsu JWT Electronics Shares CO.,Ltd.
43 / 45
7、How to use auto-ack and resend
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 times. After open the function, the receiving party after
receiving data automatically returns an ACK signal to the sender, the sender after sending the data
will be automatically entered into a state of receiving, waiting for the receiver returns an ACK signal,
if in a certain period of time (the time by0x0b[5:0] set, the default value is 0 x3f, about 1 ms) did not
receive an ACK signal, then again send it again until it receives an ACK signal data or resend to
reach maximum. The above process is automatically completed within the chip, without the need
MCU intervention.
If the sender to open the function of auto - ack and resend, but the receiver is not open, the
sender can't always get ack signals, after waiting for a certain period of time are sure to resend the
same data again until reach maximum repetitions. This setting can be used as a hardware
retransmission function.
Open auto - ack and retransmission, PKT FLAG raising time and didn't open the function of
raising time is different: the sender signal or resend it receives an ack number will reach the
maximum when PKT FLAG raising and exit the delivery status, PKT FLAG high register can be read
after 0 x16 [7], if the "1" signal an ACK is received. The receiving party pulls the PKT FLAG and
exits the receiving state after receiving the packet and automatically returning the ACK signal.