Wiring Diagram
Jiangsu JWT Electronics Shares CO.,Ltd.
40 / 42
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.
In case of low speed requirements, it is recommended to open the FEC function to improve
performance. Turn on FEC13 or FEC23 by writing the register reg0x03[5:4]. FEC13 has better
performance than FEC23, but the efficiency is also lower. It takes longer to send and receive the
same data.
8、How does the state enter sleep, how to wake up, and how
long does it take to wake up
Keep the SPI CS high and write reg0x01[15] as "1" to enter the sleep state. The SPI CS can
wake up from the sleep state for a period of time to enter the IDLE state. The awakening time is
mainly determined by the vibration and stability of the crystal, generally around 2ms.