| 数据搜索系统,热门电子元器件搜索 |
|
S2-LPQTR 数据表(PDF) 61 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
S2-LPQTR 数据表(HTML) 61 Page - STMicroelectronics |
|
61 / 90 page ![]() S2-LP Link layer protocol DocID029944 Rev 1 61/90 8 Link layer protocol 8.1 Automatic acknowledgment The automatic acknowledgment embedded in the S2-LP allows the receiver to send back to the transmitter an ACK packet to confirm the reception of a packet. The automatic acknowledgement must be configured in receiver side by setting the register AUTO_ACK = 1b. In transmitter side, the ACK request must be set according the NACK field of the packet: when the register NACK = 0b the NO_ACK field is ‘0’ that represents an ACK request. Once the transmitter has sent a packet with an ACK request, it will wait for the ACK packet using the usual RX configuration: so the RX timer must be set according to the data rate, as well the receiver channel filter bandwidth and SQI. If the transmitter does not receive any ACK packet when it must, the packet transmitted is considered lost, and there is no TX_DATA_SENT IRQ notification. The ACK packet sent is formatted as follows: The destination address field shall be set equal to the source address field of the received packet. The source address field shall be filled with content of register TX_SOURCE_ADDR. The sequence number of the ACK packet will be the same as the received packet. The control field shall be set accordingly to any pre-negotiated configuration. The main controller shall check if the PIGGYBACKING bit flag is set: If it is set, it will check if there is any data in the TX FIFO: if found, it shall be transmitted in the payload field If any of the above checks fail, no payload shall be transmitted: an empty packet is sent which contains only the source and destination addresses and the sequence number of the packet being acknowledged. Anyway, the TX FIFO will be read at list once, consequently generating an underflow condition in case of empty FIFO. To clear the FIFO, a FLUSHTXFIFO command is needed. The NO_ACK flag shall be set to ei ther to ‘1’ (no explicit acknowledgment). An ACK packet is considered receiveda if and only if it is not discarded for RX timeout, or filtered and its sequence number match that of the sent packet. If the automatic acknowledgment is enabled (receiver side), the TX command is not supported and must not be used. In case of packet with fixed payload length, since the ‘empty packet’ will not contain any payload (as PIGGYBACKING bit is not set), the receiver could not be able to de-frame the packet. So the packet option having fixed payload length but no piggybacking is not supported by S2-LP. The S2-LP device cannot operate at the same time in Auto-Acknowledge and Auto-Re-TX modes (only one at a time). The automatic acknowledgement is supported only for STack packet format. a There is no explicit way to signal that a packet is an ACK packet or not. If, after having sent a packet requiring acknowledgement, the transmitter receives a packet from the receiver with the same sequence number, it shall assume that this is an ACK packet. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |