Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

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

Back Button STM8S Datasheet HTML 278Page - STMicroelectronics STM8S Datasheet HTML 279Page - STMicroelectronics STM8S Datasheet HTML 280Page - STMicroelectronics STM8S Datasheet HTML 281Page - STMicroelectronics STM8S Datasheet HTML 282Page - STMicroelectronics STM8S Datasheet HTML 283Page - STMicroelectronics STM8S Datasheet HTML 284Page - STMicroelectronics STM8S Datasheet HTML 285Page - STMicroelectronics STM8S Datasheet HTML 286Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 282 / 467 page
background image
Serial peripheral interface (SPI)
RM0016
282/467
DocID14587 Rev 14
20.4
SPI registers
20.4.1
SPI control register 1 (SPI_CR1)
Address offset: 0x00
Reset value: 0x00
765
432
10
LSBFIRST
SPE
BR [2:0]
MSTR
CPOL
CPHA
rw
rw
rw
rw
rw
rw
Bit 7 LSBFIRST: Frame format (1)
0: MSB is transmitted first
1: LSB is transmitted first
Bit 6 SPE: SPI enable (2)
0: Peripheral disabled
1: Peripheral enabled
Bits 5:3 BR[2:0]: Baud rate control
000: fMASTER/2
001: fMASTER/4
010: fMASTER/8
011: fMASTER/16
100: fMASTER/32
101: fMASTER/64
110: fMASTER/128
111: fMASTER/256
Note: These bits should not be changed when the communication is ongoing.
Bit 2 MSTR: Master selection (1)
0: Slave configuration
1: Master configuration
Bit1 CPOL: Clock polarity (1)
0: SCK to 0 when idle
1: SCK to 1 when idle
Bit 0 CPHA: Clock phase (1)
0: The first clock transition is the first data capture edge
1: The second clock transition is the first data capture edge
1. This bit should not be changed when the communication is ongoing.
2. When disabling the SPI, follow the procedure described in Section 20.3.8: Disabling the SPI on page 277



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