Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN250 Datasheet(PDF) 69 Page - STMicroelectronics

Part # SN250
Description  Single-chip ZigBee/802.15.4 solution
PDF  130 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

SN250 Datasheet(HTML) 69 Page - STMicroelectronics

Back Button SN250 Datasheet HTML 65Page - STMicroelectronics SN250 Datasheet HTML 66Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 130 page
background image
SN250
Functional description—application modules
69/130
7.3.1
SPI modes
The SPI mode of the SC2 supports both master and slave modes. It has a fixed word length
of 8 bits. The SC2 SPI controller is enabled with SC2_MODE set to 2.
The SC2 SPI mode has the following features:
●
Master and slave modes
●
Full duplex operation
●
Programmable master mode clock frequency (12MHz max.)
●
Slave mode up to 5MHz bit rate
●
Programmable clock polarity and clock phase
●
Selectable data shift direction (either LSB or MSB first)
●
Optional slave select input
The following signals can be made available on the GPIO pins:
●
MOSI (master out/slave in)
●
MISO (master in/slave out)
●
MSCLK (serial clock)
●
nSSEL (slave select—only in slave mode)
SPI master mode
The SC2 SPI Master controller is enabled with the SC_SPIMST set in the SC2_SPICFG
register.
The SC2 SPI module obtains its reference clock from a programmable clock generator.
Clock rates are set by a clock division ratio from the 24 MHz clock:
EXP is written to the SC2_RATEEXP register and LIN to the SC2_RATELIN register. Since
the range for both values is 0 to 15, the fastest data rate is 12Mbps and the slowest is
22.9bps.
The SC2 SPI Master supports various frame formats depending upon the clock polarity
(SC_SPIPOL), clock phase (SC_SPIPHA), and direction of data (SC_SPIORD) (see
Table 24). The register bits SC_SPIPOL, SC_SPIPHA, and SC_SPIORD are defined within
the SC2_SPICFG register.
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.
Rate
24 MHz
2LIN
1
+
() 2
EXP
⋅⋅
-------------------------------------------------
=



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


Datasheet Download

Go To PDF Page


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


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