数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

SN250 数据表(PDF) 73 Page - STMicroelectronics

部件名 SN250
功能描述  Single-chip ZigBee/802.15.4 solution
PDF  130 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

SN250 数据表(HTML) 73 Page - STMicroelectronics

Back Button SN250 Datasheet HTML 69Page - STMicroelectronics SN250 Datasheet HTML 70Page - STMicroelectronics SN250 Datasheet HTML 71Page - STMicroelectronics SN250 Datasheet HTML 72Page - STMicroelectronics SN250 Datasheet HTML 73Page - STMicroelectronics SN250 Datasheet HTML 74Page - STMicroelectronics SN250 Datasheet HTML 75Page - STMicroelectronics SN250 Datasheet HTML 76Page - STMicroelectronics SN250 Datasheet HTML 77Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 130 page
background image
SN250
Functional description—application modules
73/130
FIFO hardware generates the INT_SCRXOVF interrupt, but the DMA register will not indicate
the error condition until the RX FIFO is drained. Once the DMA marks a RX error, there are
two conditions that will clear the error indication: setting the appropriate SC_TX/RXDMARST
bit in the SC2_DMACTRL register, or loading the appropriate DMA buffer after it has
unloaded.
Receiving a character always causes a serialization of a transmit character pulled from the
transmit FIFO. When the transmit FIFO is empty, a transmit underrun is detected (no data in
transmit FIFO) and the register bit INT_SCTXUND in the INT_SC2FLAG register is set.
Because there is no character available for serialization, the SPI serializer retransmits the
last transmitted character or a busy token (0xFF), which is determined by the register bit
SC_SPIRPT
in the SC2_SPICFG register.
Note:
Even during a transmit underrun, the register bit SC_SPITXIDLE in the SC2_SPISTAT
register will clear when the SPI master begins to clock data out of the MISO pin, indicating
the transmitter is not idle. After a complete byte has been clocked out, the bit
SC_SPITXIDLE
will be set and the register bit INT_SCTXIDLE in the INT_SC2FLAG
interrupt register will be set. The bits SC_SPITXIDLE and INT_SCTXIDLE will toggle in this
manner for every byte that is transmitted as an underrun.
When a transmit character is written to the (empty) transmit FIFO, the SC2_SPISTAT
register and the INT_SC2FLAG register do not change. Further transmit characters can be
written to the transmit FIFO until it is full, which causes the register bit SC_SPITXFREE in
the SC2_SPISTAT register to clear. When the SPI master begins to clock data out of the
MISO pin, the register bit SC_SPITXIDLE in the SC2_SPISTAT register clears (after the
first bit is clocked out) and indicates that not all characters are transmitted yet. After shifting
one transmit character to the MISO pin, space for one transmit character becomes available
in the transmit FIFO. This causes the register bit SC_SPITXFREE in the SC2_SPISTAT
register to be set. After all characters are shifted out, the transmit FIFO is empty, which
causes the register bit SC_SPITXIDLE in the SC2_SPISTAT register to be set.
The SPI Slave controller must guarantee that there is time to move new transmit data from
the transmit FIFO into the hardware serializer. To provide sufficient time, the SPI Slave
controller inserts a byte of padding onto the start of every new string of transmit data. After
slave select asserts and the bit SC_SPIRXVAL in the SC2SPISTAT register gets set at least
once, the following operation will hold true until slave select deasserts. Whenever the
transmit FIFO is empty and data is placed into the transmit FIFO, either manually or placed
through DMA, the SPI hardware will insert an extra byte onto the front of the transmission as
if this byte was placed there by software. The value of the byte that is inserted is chosen by
the bit SC_SPIRPT in the SC2_SPICFG. Take note that when this extra byte is transmitted,
the bit INT_SCTXUND will get set in the INT_SC2FLAG register.
Interrupts are generated by one of the following events:
Transmit FIFO empty and last character shifted out (0 to 1 transition of
SC_SPITXIDLE
)
Transmit FIFO changed from full to not full (0 to 1 transition of SC_SPITXFREE)
Receive FIFO changed from empty to not empty (0 to 1 transition of SC_SPIRXVAL)
Transmit DMA buffer A/B complete (1 to 0 transition of SC_TXACTA/B)
Receive DMA buffer A/B complete (1 to 0 transition of SC_RXACTA/B)
Received and lost character while receive FIFO was full (Receive overrun error)
Transmitted character while transmit FIFO was empty (Transmit underrun error)



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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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