Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 472 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) 472 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 468Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 469Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 470Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 471Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 472Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 473Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 474Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 475Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 476Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 472 / 1302 page
background image
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
11-18
Freescale Semiconductor
I2C Interface
11.4.5.2
EEPROM Data Format
The I
2C module expects that a particular data format be used for data in the EEPROM. A preamble
should be the first 3 bytes programmed into the EEPROM. It should have a value of 0xAA55AA.
The I
2C module checks to ensure that this preamble is correctly detected before proceeding
further. Following the preamble, there should be a series of configuration registers (known as
register preloads) programmed into the EEPROM. Each configuration register should be
programmed according to a particular format, as shown in Figure 11-9. The first 3 bytes hold the
attributes and address offset, as follows. The attributes contained are alternate configuration space
(ACS), byte enables, and continue (CONT). The boot sequencer expects the address offset to be a
32-bit (word) offset, that is, the 2 low-order bits are not included in the boot sequencer command.
For example, to access LAWBAR0 (byte offset of 0x00C08), the boot sequencer ADDR[0:17]
should be set to 0x00302.
After the first 3 bytes, 4 bytes of data should hold the desired value of the configuration register,
regardless of the size of the transaction. Byte enables should be asserted for any byte that will be
written to the configuration register, and they should be asserted contiguously, creating a 1-, 2-, or
4-byte write to a register. The boot sequencer assumes that a big-endian address is stored in the
EEPROM. In addition, byte enable bit 0 (bit 1 of the byte) corresponds to the most-significant byte
of data (data[0:7]), and byte enable bit 3 (bit 4 of the byte) corresponds to the LSB of data
(data[24:31]).
By setting ACS, an alternate configuration space address is prepended to the write request from
the boot sequencer. Otherwise, CCSRBAR is prepended to the EEPROM address.
If CONT is cleared, the first 3 bytes, including ACS, the byte enables, and the address, must also
be cleared. Also, the data contains the final cyclic redundancy check (CRC). A CRC-32 algorithm
is used to check the integrity of the data. The polynomial used is:
1 + x
1 + x2 + x4 + x5 + x7 + x8 + x10 + x11 + x12 + x16 + x22 + x23 + x26 + x32
CRC values are calculated using the above polynomial with a start value of 0xFFFF_FFFF and an
XOR with 0x0000_0000. The CRC should cover all bytes stored in the EEPROM prior to the
CRC. This includes the preamble, all register preloads, and the first 3 bytes of the last 7-byte
preload (which should be all zeros). If a preamble or CRC fail is detected, the device hangs and
the external HRESET_REQ signal asserts. If there is a preamble fail, the boot sequencer may
continue to pull I
2C pins low until a hard reset occurs.



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