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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SDRAM Speed Attributes Register<br />

Programming Model<br />

Note that RAM A/B/C/D BASE are located at $FEF80018<br />

(refer to the section titled SDRAM Base Address Register<br />

(Blocks A/B/C/D) for more information). They operate the<br />

same for blocks A-D as these bits do for blocks E-H.<br />

Also note that the combination of RAM_X_BASE and<br />

ram_x_siz should never be programmed such that SDRAM<br />

responds at the same address as the CSR, ROM/Flash,<br />

External Register Set, or any other slave on the PowerPC bus.<br />

Address $FEF800D0<br />

Bit<br />

Name<br />

Operation<br />

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

0<br />

0<br />

0<br />

cl3<br />

0<br />

trc0<br />

trc1<br />

trc2<br />

0<br />

0<br />

tras0<br />

tras1<br />

0<br />

0<br />

swr_dpll<br />

tdp<br />

0<br />

0<br />

0<br />

trp<br />

0<br />

0<br />

0<br />

trcd<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

R<br />

R<br />

R<br />

R/W<br />

R<br />

R/W<br />

R/W<br />

R/W<br />

R<br />

R<br />

R/W<br />

R/W<br />

R<br />

R<br />

R/W<br />

R/W<br />

R<br />

R<br />

R<br />

R/W<br />

R<br />

R<br />

R<br />

R/W<br />

R<br />

R<br />

R<br />

R<br />

R<br />

R<br />

R<br />

R<br />

X<br />

X<br />

X<br />

1 P<br />

X<br />

0 P<br />

1 P<br />

1 P<br />

X<br />

X<br />

1 P<br />

1 P<br />

X<br />

X<br />

1 P<br />

1 P<br />

X<br />

X<br />

X<br />

1 P<br />

X<br />

X<br />

X<br />

1 P<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

X<br />

The SDRAM Speed Attributes Register should be programmed based on<br />

the SDRAM device characteristics and the Hawk’s operating frequency to<br />

ensure reliable operation.<br />

In order for writes to this register to work properly they should be<br />

separated from any SDRAM accesses by a refresh before the write and by<br />

another refresh after the write. The refreshes serve two purposes: 1) they<br />

make sure that all of the SDRAMs are idle ensuring that mode-register-set<br />

operations for cl3 updates work properly, and 2) they make sure that no<br />

SDRAM accesses happen during the write. A simple way to meet these<br />

requirments is to use the following sequence:<br />

1. Make sure all accesses to SDRAM are done.<br />

2. Wait for the “32-Bit Counter” (refer to section further on) to<br />

increment at least 100 times.<br />

3. Perform the write/writes to this register (and other SMC registers if<br />

desired).<br />

4. Wait again for the “32-Bit Counter” to increment at least 100 times<br />

before resuming accesses to SDRAM.<br />

http://www.motorola.com/computer/literature 3-69<br />

3

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

Saved successfully!

Ooh no, something went wrong!