| Electronic Components Datasheet Search |
|
LR2021 Datasheet(PDF) 73 Page - Semtech Corporation |
|
|
|||||||||||||||||||||||||||||
LR2021 Datasheet(HTML) 73 Page - Semtech Corporation |
|
73 / 236 page ![]() LR2021 Final Datasheet Rev. 1.1 DS.LR2021 10/14/25 73 of 236 Semtech Proprietary & Confidential LR2021 www.semtech.com 5.3 Data FIFO The LR2021 transceiver is equipped with two 256-byte data buffers, functioning as FIFOs (First In First Out) for data transmission and reception (Tx data FIFO and Rx data FIFO). These data buffers are accessible in all operational modes except for the Sleep modes. However, it's important to note that after waking up from any Sleep mode, the contents of both data buffers are cleared, resulting in the loss of all data previously stored in them. The LR2021 provides programmable FIFO level thresholds for the data buffers, using IRQs. This feature enhances data flow control and facilitates seamless communication between the host application and the transceiver. The LR2021 provides multiple methods for monitoring the FIFO level: IRQs (Interrupt Requests) mapped on the DIO (Digital Input/Output) pins: The FIFO level can trigger specific IRQs, which, when detected on the DIO pins, indicate different fill levels of the FIFO. This allows the Host controller to receive real-time notifications about the FIFO status, enabling timely data handling. Readout through dedicated APIs (GetRxFifoLevel and GetTxFifoLevel). The dedicated Application Programming Interface (API) allows the Host controller to directly read the FIFO level, providing an efficient way to access the FIFO level information when needed. 5.3.1 Rx Data FIFO In receive mode, the LR2021's activated modem automatically adds received data to the Rx data FIFO. The level of the FIFO is continuously monitored to trigger specific interrupts. Status information in the ConfigFifoIrq command includes rx_low_threshold, rx_high_threshold, and FIFO flags FifoEmpty, FifoFull, FifoOverflow, and FifoUnderflow. The level of the Rx FIFO can be directly read using the GetRxFifoLevel command. The ReadRadioRxFifo command reads received bytes sequentially from the Rx data FIFO. Additionally, the GetRxPktLength command reads the length of the last received packet. In Rx continuous mode, all payload data from received packets are appended to the Rx FIFO. If the packet lengths are not known in advance, the payload length needs to be read after each RxDone interrupt to determine which data belongs to which packet. As long as the total number of received data fits into the FIFO and the developer is aware of the various payloads' lengths, there is no limit to the number of concurrent packets stored in the Rx FIFO. For payloads exceeding 256 bytes, the Rx FIFO must be read out while receiving new data utilizing the threshold information available through the API or on the DIOs to avoid overflow. The Rx FIFO can be cleared using the ClearRxFifo command, discarding all data present in the FIFO. It is essential to note that all received data is written to the data buffer, even if the CRC (Cyclic Redundancy Check) is invalid, allowing for user-defined post-processing of corrupted data. However, in the case of address error or length error, data are not received. 5.3.2 Tx Data FIFO In transmit mode, the LR2021 requires that the data to be sent is written into the Tx data FIFO using the WriteRadioTxFifo command. The level of the Tx FIFO is continuously monitored to trigger specific interrupts). Status information in the ConfigFifoIrq command includes tx_low_threshold, tx_high_threshold and FIFO flags FifoUnderflow, FifoEmpty, FifoFull, and FifoOverflow. The fill level of the Tx FIFO can also be directly read using the GetTxFifoLevel command. For payloads superior to 256 bytes, the Tx FIFO has to be written when data is being transmitted, avoiding an underflow of the Tx FIFO, using the threshold informations available through the API or the DIOs. The Tx FIFO can be cleared with the ClearTxFifo command, discarding all data still in the FIFO. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |