Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 269 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) 269 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 265Page - STMicroelectronics STM8S Datasheet HTML 266Page - STMicroelectronics STM8S Datasheet HTML 267Page - STMicroelectronics STM8S Datasheet HTML 268Page - STMicroelectronics STM8S Datasheet HTML 269Page - STMicroelectronics STM8S Datasheet HTML 270Page - STMicroelectronics STM8S Datasheet HTML 271Page - STMicroelectronics STM8S Datasheet HTML 272Page - STMicroelectronics STM8S Datasheet HTML 273Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 269 / 467 page
background image
DocID14587 Rev 14
269/467
RM0016
Serial peripheral interface (SPI)
287
In unidirectional receive-only mode (BDM = 0 and RXONLY = 1)
The sequence begins as soon as the bit SPE = 1
Only the receiver is activated and the received data on MISO pin is shifted in
serially to the 8-bit shift register and then parallel loaded into the SPI_DR register
(Rx Buffer).
In bidirectional mode, when transmitting (BDM = 1 and BDOE = 1)
The sequence begins when a data is written into the SPI_DR register (Tx buffer).
The data is then parallel loaded from the Tx buffer into the 8-bit shift register
during the first bit transmission and then shifted out serially to the MOSI pin.
No data is received.
In bidirectional mode, when receiving (BDM = 1 and BDOE = 0)
The sequence begins as soon as SPE = 1 and BDOE = 0.
The received data on MOSI pin is shifted in serially to the 8-bit shift register and
then parallel loaded into the SPI_DR register (Rx Buffer).
The transmitter is not activated and no data is shifted out serially to the MOSI pin.
Start sequence in slave mode
In full-duplex (BDM=0 and RXONLY=0)
The sequence begins when the slave device receives the clock signal and the first
bit of the data on its MOSI pin. The remaining 7 bits are loaded into the shift
register.
At the same time, the data is parallel loaded from the Tx buffer into the 8-bit shift
register during the first bit transmission and then shifted out serially to the MISO
pin. The software must have written the data to be sent before the SPI master
device initiates the transfer.
In unidirectional receive-only mode (BDM = 0 and RXONLY = 1)
The sequence begins when the slave device receives the clock signal and the first
bit of the data on its MOSI pin. The remaining 7 bits are loaded into the shift
register.
The transmitter is not activated and no data is shifted out serially to the MISO pin.
In bidirectional mode, when transmitting (BDM = 1 and BDOE = 1)
The sequence begins when the slave device receives the clock signal and the first
bit of the Tx buffer is transmitted to the MISO pin.
The data is then parallel loaded from the Tx buffer into the 8-bit shift register
during the first bit transmission and then shifted out serially to the MISO pin. The
software must have written the data to be sent before the SPI master device starts
the transfer.
no data is received.
In bidirectional mode, when receiving (BDM = 1 and BDOE = 0)
The sequence starts when the slave device receives the clock signal and the first
bit of the data to its MISO pin.
The data received on MISO pin is shifted in serially to the 8-bit shift register and
then parallel loaded into the SPI_DR register (Rx Buffer).
The transmitter is not activated and no data is shifted out serially to the MISO pin.



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