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

X  

SN250 数据表(PDF) 71 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) 71 Page - STMicroelectronics

Back Button SN250 Datasheet HTML 67Page - STMicroelectronics SN250 Datasheet HTML 68Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 130 page
background image
SN250
Functional description—application modules
71/130
dropped and the register bit SC_SPIRXOVF in the SC2_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 SC2_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 SC2_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 SC2_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_SC2FLAG
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 event does not automatically mean receive FIFO empty.
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)
To generate interrupts to the CPU, the interrupt masks in the INT_SC2CFG and INT_CFG
register must be enabled.
SPI slave mode
The SC2 SPI Slave controller is enabled with the SC_SPIMST cleared in the SC2_SPICFG
register.
The SC2 SPI Slave controller receives its clock from an external SPI master device and
supports rates up to 5Mbps.
The SC2 SPI Slave supports various frame formats depending upon the clock polarity
(SC_SPIPOL), clock phase (SC_SPIPHA), and direction of data (SC_SPIORD) (see
Table 25). The register bits SC_SPIPOL, SC_SPIPHA, and SC_SPIORD are defined within
the SC2_SPICFG registers.
Note:
Switching the SPI configuration from SC_SPIPOL=1 to SC_SPIPOL=0 without subsequently
setting SC2_MODE=0 and reinitializing the SPI will cause an extra byte (0xFE) to be
transmitted immediately before the first intended byte.



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