поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0312 датащи(PDF) 204 Page - STMicroelectronics

номер детали RM0312
подробное описание детали  STM8TL5xxx microcontroller family
PDF  275 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0312 датащи(HTML) 204 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 200Page - STMicroelectronics RM0312 Datasheet HTML 201Page - STMicroelectronics RM0312 Datasheet HTML 202Page - STMicroelectronics RM0312 Datasheet HTML 203Page - STMicroelectronics RM0312 Datasheet HTML 204Page - STMicroelectronics RM0312 Datasheet HTML 205Page - STMicroelectronics RM0312 Datasheet HTML 206Page - STMicroelectronics RM0312 Datasheet HTML 207Page - STMicroelectronics RM0312 Datasheet HTML 208Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 204 / 275 page
background image
Serial peripheral interface (SPI)
RM0312
204/275
DocID022352 Rev 3
Clock phase and clock polarity
Four possible timing relationships may be chosen by software, using the CPOL and CPHA
bits. The CPOL (clock polarity) bit controls the steady state value of the clock when no data
is being transferred. This bit affects both master and slave modes. If CPOL is reset, SCK pin
has a low level idle state. If CPOL is set, SCK pin has a high level idle state.
Note:
Make sure the SPI pin is configured at the idle state level of the SPI in order to avoid
generating an edge on the SPI clock pin when enabling or disabling the SPI cell.
If CPHA (clock phase) bit is set, the second edge on the SCK pin (falling edge if the CPOL
bit is reset, rising edge if the CPOL bit is set) is the MSBit capture strobe. Data is latched on
the occurrence of the first clock transition. If CPHA bit is reset, the first edge on the SCK pin
(falling edge if CPOL bit is set, rising edge if CPOL bit is reset) is the MSBit capture strobe.
Data is latched on the occurrence of the second clock transition.
The combination of the CPOL clock polarity and CPHA (clock phase) bits selects the data
capture clock edge.
Figure 74 shows an SPI transfer with the four combinations of the CPHA and CPOL bits.
The diagram may be interpreted as a master or slave timing diagram where the SCK pin,
the MISO pin, the MOSI pin are directly connected between the master and the slave
device.
Note:
1
Prior to changing the CPOL/CPHA bits the SPI must be disabled by resetting the SPE bit.
2
Master and slave must be programmed with the same timing mode.
3
The idle state of SCK must correspond to the polarity selected in the SPI_CR1 register (by
pulling up SCK if CPOL=1 or pulling down SCK if CPOL=0).



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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