Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 264 Page - STMicroelectronics

Part # STM8S
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Datasheet(HTML) 264 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 260Page - STMicroelectronics STM8S Datasheet HTML 261Page - STMicroelectronics STM8S Datasheet HTML 262Page - STMicroelectronics STM8S Datasheet HTML 263Page - STMicroelectronics STM8S Datasheet HTML 264Page - STMicroelectronics STM8S Datasheet HTML 265Page - STMicroelectronics STM8S Datasheet HTML 266Page - STMicroelectronics STM8S Datasheet HTML 267Page - STMicroelectronics STM8S Datasheet HTML 268Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 264 / 467 page
background image
Serial peripheral interface (SPI)
RM0016
264/467
DocID14587 Rev 14
Note:
When using the SPI in High-speed mode, the I/Os where SPI outputs are connected should
be programmed as fast slope outputs in order to be able to reach the expected bus speed.
Figure 92. Single master/ single slave application
The MOSI pins are connected together and the MISO pins are connected together. In this
way data is transferred serially between master and slave (most significant bit first).
The communication is always initiated by the master. When the master device transmits
data to a slave device via MOSI pin, the slave device responds the MISO pin. This implies
full duplex communication with both data out and data in synchronized with the same clock
signal (which is provided by the master device via the SCK pin).
Slave select (NSS) pin management
A hardware or software slave select management configuration can be set using the
Software slave select management (SSM) bit from the SPI_CR2 register.
Software NSS management (SSM = 1): with this configuration, slave select
information is driven internally by the Internal slave select (SSI) bit value in the
SPI_CR2 register.The external NSS pin remains free for other application uses.
Hardware NSS management (SSM = 0): For devices set as master, this configuration
allows multimaster capability. For devices set as slave, the NSS pin works as a
classical NSS input. The slave is selected when the NSS line is in low level and is not
selected if the NSS line is in high level.
Note:
When the master is communicating with SPI slaves which need to be deselected between
transmissions, the NSS pin must be configured as a GPIO.



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