17.11.2012 Views

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

MVME5100 Single Board Computer Programmer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3<br />

System Memory Controller (SMC)<br />

I 2 C Interface<br />

The ASIC has an I 2 C (Inter-Integrated Circuit) two-wire serial interface<br />

bus: Serial Clock Line (SCL) and Serial Data Line (SDA). This interface<br />

has master-only capability and may be used to communicate the<br />

configuration information to a slave I 2 C device such as serial EEPROM.<br />

The I 2 C interface is compatible with these devices, and the inclusion of a<br />

serial EEPROM in the memory subsystem may be desirable. The<br />

EEPROM could maintain the configuration information related to the<br />

memory subsystem even when the power is removed from the system.<br />

Each slave device connected to the I 2 C bus is software addressable by a<br />

unique address. The number of interfaces connected to the I 2 C bus is solely<br />

dependent on the bus capacitance limit of 400pF.<br />

For I 2 C bus programming, the ASIC is the only master on the bus and the<br />

serial EEPROM devices are all slaves. The I 2 C bus supports 7-bit<br />

addressing mode and transmits data one byte at a time in a serial fashion<br />

with the most significant bit (MSB) being sent out first. Five registers are<br />

required to perform the I 2 C bus data transfer operations. These are the I 2 C<br />

Clock Prescaler Register, I 2 C Control Register, I 2 C Status Register, I 2 C<br />

Transmitter Data Register, and I 2 C Receiver Data Register.<br />

The I 2 C SDA is an open-drain bi-directional line on which data can be<br />

transferred at a rate up to 100 Kbits/s in the standard mode, or up to 400<br />

kbits/s in the fast mode. The I 2 C serial clock (SCL) is programmable via<br />

I2_PRESCALE_VAL bits in the I 2 C Clock Prescaler Register. The I 2 C<br />

clock frequency is determined by the following formula:<br />

I 2 C CLOCK = SYSTEM CLOCK / (I2_PRESCALE_VAL+1) / 2<br />

The I 2 C bus has the ability to perform byte write, page write, current<br />

address read, random read, and sequential read operations.<br />

3-22 <strong>Computer</strong> Group Literature Center Web Site

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!