công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

S2-LPS bảng dữ liệu(PDF) 33 Page - STMicroelectronics

tên linh kiện S2-LPS
Giải thích chi tiết về linh kiện  Ultra-low power, high performance, sub-1 GHz transceiver
PDF  73 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

S2-LPS bảng dữ liệu(HTML) 33 Page - STMicroelectronics

Back Button S2-LPS Datasheet HTML 29Page - STMicroelectronics S2-LPS Datasheet HTML 30Page - STMicroelectronics S2-LPS Datasheet HTML 31Page - STMicroelectronics S2-LPS Datasheet HTML 32Page - STMicroelectronics S2-LPS Datasheet HTML 33Page - STMicroelectronics S2-LPS Datasheet HTML 34Page - STMicroelectronics S2-LPS Datasheet HTML 35Page - STMicroelectronics S2-LPS Datasheet HTML 36Page - STMicroelectronics S2-LPS Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 73 page
background image
4.4.6.3
Data FIFO
In the S2-LPS there are two data FIFOs, a TX FIFO for data to be transmitted and an RX FIFO for the received
data both of 128 bytes. The SPI interface is used to read from the RX FIFO and write to the TX FIFO starting from
the address 0xFF.
Figure 11. Threshold in FIFO
The TX FIFO has two programmable thresholds (see figure above). An interrupt event occurs when the data in
the TX FIFO reaches any of these thresholds. The first threshold is the “FIFO Almost Full” threshold, TX_AF_THR
registers. The value in this field corresponds to the desired threshold value in number of bytes + 2. When empty
locations (free) amount inside the TX FIFO reaches this threshold limit, an interrupt to the MCU is generated so
it can send a TX command to transmit the contents of the TX FIFO. The second threshold for TX is the “FIFO
Almost Empty” threshold, TX_AE_THR register. When the data being shifted out of the TX FIFO reaches the
Almost Empty threshold, an interrupt will be generated also. The MCU could to switch out of TX mode or fill new
data into the TX FIFO.
The RX FIFO has two programmable thresholds (see figure above). The first threshold is the “FIFO Almost
Full” threshold, RX_AF_THR0 registers. The value in this register corresponds to the desired threshold value in
number of bytes. When empty locations (free) amount inside the RX FIFO reaches this threshold limit, an interrupt
will be generated to the MCU. The MCU should then start to read the data from the RX FIFO. The second
threshold for RX is the “FIFO Almost Empty” threshold, RX_AE_THR register. When the data being shifted out
of the RX FIFO reaches the Almost Empty threshold, an interrupt will be generated also. The MCU will need to
switch on RX mode to fill with new data the RX FIFO or stop to read after the number of byte indicated by the
RX_AE_THR register.
In order to enable the RX_FIFO thresholds interrupts, the bit FIFO_GPIO_OUT_MUX_SEL (PROTOCOL2
register) must be set to 1. To enable the TX_FIFO thresholds interrupts the FIFO_GPIO_OUT_MUX_SEL must be
set to 0.
The FIFO controller detects overflow or underflow in the RX FIFO and overflow or underflow in the TX FIFO. It
is the responsibility of the MCU to avoid TX FIFO overflow since the MCU only can decide to writing on the TX
FIFO. A TX FIFO overflow results in an error in the TX FIFO content, while an underflow results in the continuous
transmission of the last byte stored in the TX FIFO. Likewise, when reading the RX FIFO the MCU must avoid
reading the RX FIFO after its empty condition is reached, since a RX FIFO underflow will result in an error in the
data read out of the RX FIFO.
When an overflow or an underflow is detected, the MCU has to issue a SABORT and a FLUSHTXFIFO/
FLUSHRXFIFO command before resuming the normal transceiver activity. For each FIFO, when one of these
errors is detected an interrupt is generated to the MCU.
The TX FIFO may be flushed by issuing a FLUSHTXFIFO command (see Table 42. Commands). Similarly, a
FLUSHRXFIFO command flushes the RX FIFO.
S2-LPS
Digital modulator
DS13831 - Rev 1
page 33/73



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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