전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

SN250 데이터시트(PDF) 49 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
Logo STMICROELECTRONICS - STMicroelectronics

SN250 데이터시트(HTML) 49 Page - STMicroelectronics

Back Button SN250 Datasheet HTML 45Page - STMicroelectronics SN250 Datasheet HTML 46Page - STMicroelectronics SN250 Datasheet HTML 47Page - STMicroelectronics SN250 Datasheet HTML 48Page - STMicroelectronics SN250 Datasheet HTML 49Page - STMicroelectronics SN250 Datasheet HTML 50Page - STMicroelectronics SN250 Datasheet HTML 51Page - STMicroelectronics SN250 Datasheet HTML 52Page - STMicroelectronics SN250 Datasheet HTML 53Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 130 page
background image
SN250
Functional description—application modules
49/130
When a transmit character is written to the (empty) transmit FIFO, the register bit
SC_SPITXIDLE
in the SC1_SPISTAT register clears and indicates that not all characters
are transmitted yet. Further transmit characters can be written to the transmit FIFO until it is
full, which causes the register bit SC_SPITXFREE in the SC1_SPISTAT register to clear.
After shifting one transmit character to the MO pin, space for one transmit character
becomes available in the transmit FIFO. This causes the register bit SC_SPITXFREE in the
SC1_SPISTAT
register to get set. After all characters are shifted out, the transmit FIFO
empties, which causes the register bit SC_SPITXIDLE in the SC1_SPISTAT register to get
set also.
Any character received is stored in the (empty) receive FIFO. The register bit
SC_SPIRXVAL
in the SC1_SPISTAT register is set to indicate that not all received
characters are read out from receive FIFO. If software or DMA is not reading from the
receive FIFO, the receive FIFO will store up to 4 characters. Any further reception is
dropped and the register bit SC_SPIRXOVF in the SC1_SPISTAT register is set. The RX
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 SC1_DMACTRL register, or loading the appropriate DMA buffer after it has
unloaded.
Receiving a character always requires transmitting a character. In a case when a long
stream of receive characters is expected, a long sequence of (dummy) transmit characters
must be generated. To avoid software or transmit DMA initiating these transfers (and
consuming unnecessary bandwidth), the SPI serializer can be instructed to retransmit the
last transmitted character, or to transmit a busy token (0xFF), which is determined by the
register bit SC_SPIRPT in the SC1_SPICFG register. This functionality can only be enabled
(or disabled) when the transmit FIFO is empty and the transmit serializer is idle, as indicated
by a cleared SC_SPITXIDLE register bit in the SC1_SPISTAT register.
Every time an automatic character transmission is started, a transmit underrun is detected
(as there is no data in transmit FIFO), and the register bit INT_SCTXUND in the
INT_SC1FLAG
register is set. Note that after disabling the automatic character
transmission, the reception of new characters stops and the receive FIFO holds characters
just received.
Note:
The event Receive DMA complete does not automatically mean receive FIFO empty.
Interrupts are generated on 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)
To generate interrupts to the CPU, the interrupt masks in the INT_SC1CFG and INT_CFG
registers must be enabled.



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


링크 URL



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