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

X  

RM0312 датащи(PDF) 179 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) 179 Page - STMicroelectronics

Back Button RM0312 Datasheet HTML 175Page - STMicroelectronics RM0312 Datasheet HTML 176Page - STMicroelectronics RM0312 Datasheet HTML 177Page - STMicroelectronics RM0312 Datasheet HTML 178Page - STMicroelectronics RM0312 Datasheet HTML 179Page - STMicroelectronics RM0312 Datasheet HTML 180Page - STMicroelectronics RM0312 Datasheet HTML 181Page - STMicroelectronics RM0312 Datasheet HTML 182Page - STMicroelectronics RM0312 Datasheet HTML 183Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 179 / 275 page
background image
DocID022352 Rev 3
179/275
RM0312
Inter-integrated circuit (I2C) interface
200
Master transmitter
Following the address transmission and after clearing ADDR, the master sends bytes from
the DR register to the SDA line via the internal shift register.
The master waits until the first data byte is written in the DR register, (see Figure 69 Transfer
sequencing EV8_1).
When the acknowledge pulse is received:
The TXE bit is set by hardware and an interrupt is generated if the ITEVTEN and
ITBUFEN bits are set.
If TXE is set and a data byte was not written in the DR register before the end of the next
data transmission, BTF is set and the interface waits until BTF is cleared, by reading the
SR1 register and then writing to the DR register, stretching SCL low.
Figure 69. Transfer sequence diagram for master transmitter
1. Legend:
S= Start, Sr = Repeated Start, P= Stop, A= Acknowledge, NA= Non-acknowledge,
EVx= Event (with interrupt if ITEVTEN=1)
EV5: SB=1, cleared by reading SR1 register followed by writing DR register with Address.
EV6: ADDR=1, cleared by reading SR1 register followed by reading SR3.
EV8_1: TXE=1, shift register empty, data register empty, write DR register.
EV8: TXE=1, shift register not empty, data register empty, cleared by writing DR register.
EV8_2: TXE=1, BTF = 1, Program STOP request. TXE and BTF are cleared by HW by stop condition
EV9: ADD10=1, cleared by reading SR1 register followed by writing DR register. See also:Note 8 on
page 192
2. The EV5, EV6, EV9, EV8_1 and EV8_2 events stretch SCL low until the end of the corresponding software
sequence.
3. The EV8 event stretches SCL low if the sequence is not complete before the end of the next byte
transmission.
Closing the communication
After writing the last byte to the DR register, the STOP bit is set by software to generate a
Stop condition (see Figure 69 Transfer sequencing EV8_2). The interface goes
automatically back to slave mode (MSL bit cleared).
Note:
Stop condition should be programmed during EV8_2 event, when either TXE or BTF is set.
7-bit master transmitter
10-bit master transmitter
S
Address
A
Data1
A
Data2
A
.....
DataN
A
P
EV5
EV6
EV8_1
EV8
EV8
EV8
EV8_2
S
Header
A
Address
A
Data1
A
.....
DataN
A
P
EV5
EV9
EV6
EV8_1
EV8
EV8
EV8_2
Ai18210



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