Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 478 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 478 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 474Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 475Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 476Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 477Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 478Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 479Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 480Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 481Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 482Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 478 / 1302 page
background image
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
11-24
Freescale Semiconductor
I2C Interface
Figure 11-11. Example I2C Interrupt Service Routine Flowchart
Clear I2CSR[MIF]
I2CCR[MSTA]
== 0
== 1
I2CSR[MAL]
I2CCR[MTX]
== 1
== 1
== 0
Clear I2CSR[MAL]
EOI
I2CSR[MAAS]
I2CSR[SRW]
Set I2CCR[MTX]
== 0
Clear I2CCR[MTX]
Write I2CDR
Dummy read
EOI
== 1
Slave Addr. Phase
Slave Data Cycle
I2CCR[MTX]
== 1
== 0
Slave Xmit
I2CSR[RXAK]
== 1
== 0
Write next byte
to I2CDR
EOI
Slave Received
Read I2CDR
and store
All done
Y
N
Set I2CCR[TXAK]
Read I2CDR
(dummy read)
Y
N
Last byte
Next-to-last
Generate
Read I2CDR
and store
EOI
Y
N
Set
Master Rcv
STOP
I2CCR[TXAK]
byte
Last byte
YN
I2CSR[RXAK]
== 1
Write next byte
to I2CDR
== 0
EOI
Generate
Master Xmit
STOP
B
== 0
== 1
A
== 0
A
B
I2CSR[MAAS]
B
== 0
== 1
Clear I2CCR[MTX]
End of address phase for
master receive mode?
N
Only one byte
to receive?
Y
Y
Set
I2CCR[TXAK]
Read I2CDR
(dummy read)
Clear I2CCR[MTX]
N



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