Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST92195D Datasheet(PDF) 188 Page - STMicroelectronics

Part # ST92195D
Description  48-96 Kbyte ROM HCMOS MCU WITH ON-SCREEN DISPLAY AND TELETEXT DATA SLICER
PDF  249 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST92195D Datasheet(HTML) 188 Page - STMicroelectronics

Back Button ST92195D Datasheet HTML 184Page - STMicroelectronics ST92195D Datasheet HTML 185Page - STMicroelectronics ST92195D Datasheet HTML 186Page - STMicroelectronics ST92195D Datasheet HTML 187Page - STMicroelectronics ST92195D Datasheet HTML 188Page - STMicroelectronics ST92195D Datasheet HTML 189Page - STMicroelectronics ST92195D Datasheet HTML 190Page - STMicroelectronics ST92195D Datasheet HTML 191Page - STMicroelectronics ST92195D Datasheet HTML 192Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 188 / 249 page
background image
188/249
ST92195C/D - TWO-CHANNEL I2C BUS INTERFACE (I2C)
I2C BUS INTERFACE (Cont’d)
Master Receiver
Following the address transmission and acknowl-
edgment, the master receives bytes from the SDA
line into the I2CDR register via the internal shift
register. After each byte the interface generates in
sequence:
– Acknowledge pulse according to the
SEND_ACK bit value,
– An interrupt is generated and the INT bit of the
I2CSTR2 register is set.
Then read the I2CDR register to store the trans-
mitted data.
Note: In order to generate the non-acknowledge
pulse after the last received data byte, the
SEND_ACK bit must be set just before reading the
second last data byte.
Master Transmitter
Following the address transmission and acknowl-
edgment, the master sends bytes from the I2CDR
register to the SDA line via the internal shift regis-
ter.
When the acknowledge bit is received, the inter-
face generates an interrupt and sets the INT bit of
the I2CSTR2 register.
The user can check the ACK_BIT bit of the
I2CSTR1 register in order to handle the transac-
tion properly.
Closing a master communication
The master interface will generate a stop condition
on the bus when the user sets the STOP bit of the
I2CSTR1 register.
7.10.4 Interrupt Handling
To acknowledge interrupts generated by the I2C
interface, software must write any value in the
I2CDR register before leaving the I2C interrupt
subroutine. This is necessary in all modes includ-
ing slave or master receiver mode.
7.10.5 Error Cases
Each time an error occurs, an interrupt is generat-
ed. Then by checking the following bits, the user
can identify the problem:
– If the ERROR bit in the I2CSTR1 register is set,
an illegal start or stop condition has been detect-
ed.
If the AFEN bit in the I2CCTR register is set, the
UNPROC, UNEXP, and MISP bits of the
I2CSTR2 register indicate what kind of illegal
condition has been detected.
– If the ARB_LOST bit, in the I2CSTR1 register is
set, an arbitration lost occurred on the bus.
Note: the ERROR bit has higher priority than the
ARB_LOST bit, so if ERROR is set, ARB_LOST
has to be ignored.



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