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 />

As long as the slave device receives an acknowledge, it will continue to<br />

increment the word address and serially clock out sequential data words.<br />

The I 2 C sequential read operation is terminated when the I 2 C master<br />

controller does not respond with an acknowledge. This can be<br />

accomplished by setting only the i2_enbl bit in the I 2 C Control Register<br />

before receiving the last data word. A stop sequence then must be<br />

transmitted to the slave device by first setting the i2_stop and i2_enbl bits<br />

in the I 2 C Control Register and then writing a dummy data (data=don’t<br />

care) to the I 2 C Transmitter Data Register. The I 2 C Status Register must<br />

now be polled to test i2_cmplt bit for the operation-complete status. The<br />

stop sequence will relinquish the ASIC master’s possession of the I 2 C bus.<br />

Figure 3-9 shows the suggested software flow diagram for programming<br />

the I 2 C sequential read operation.<br />

3-32 <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!