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 Clock Prescaler Register<br />

Address<br />

Bit<br />

$FEF80090<br />

Name I2_PRESCALE_VAL<br />

0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30<br />

31<br />

Operation READ ZERO READ ZERO READ/WRITE<br />

Reset X X $01F3 P<br />

I2_PRESCALE_VAL I2_PRESCALE_VAL is a 16-bit register value that will<br />

be used in the following formula for calculating frequency<br />

of the I 2 C gated clock signal:<br />

I 2 C Control Register<br />

I 2 C CLOCK = SYSTEM CLOCK/<br />

(I2_PRESCALE_VAL +1)/2<br />

Address $FEF80098<br />

Bit 0<br />

Name<br />

After power-up, I2_PRESCALE_VAL is initialized to<br />

$1F3 which produces a 100 KHz I 2 C gated clock signal<br />

based on a 100.0 MHz system clock. Writes to this<br />

register will be restricted to 4-bytes only.<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

20<br />

21<br />

22<br />

23<br />

24<br />

25<br />

26<br />

27<br />

28<br />

29<br />

30<br />

31<br />

Operation READ ZERO READ ZERO READ ZERO<br />

Reset X X X<br />

0<br />

0<br />

0<br />

0<br />

i2_start<br />

i2_stop<br />

i2_ackout<br />

i2_enbl<br />

R<br />

R<br />

R<br />

R<br />

R/W<br />

R/W<br />

R/W<br />

R/W<br />

X<br />

X<br />

X<br />

X<br />

0 PL<br />

0 PL<br />

0 PL<br />

0 PL<br />

i2_start When set, the I 2 C master controller generates a start sequence<br />

on the I 2 C bus on the next write to the I 2 C Transmitter Data<br />

Register and clears the i2_cmplt bit in the I 2 C Status Register.<br />

After the start sequence and the I 2 C Transmitter Data Register<br />

contents have been transmitted, the I 2 C master controller will<br />

automatically clear the i2_start bit and then set the i2_cmplt<br />

bit in the I 2 C Status Register.<br />

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