beautypg.com

Rainbow Electronics W90N740 User Manual

Page 51

background image

W90N740

Publication Release Date: November 26, 2004

- 47 -

Revision A4

Configuration RegistersSDCONF0/1

The configuration registers enable software to set a number of operating parameters for the SDRAM
controller. There are two configuration registers SDCONF0、SDCONF1 for SDRAM bank 0、bank 1
respectively. Each bank can have a different configuration.

Register Address R/W

Description

Reset

Value

SDCONF0

0xFFF0.1008

R/W SDRAM bank 0 configuration register

0x0000.0800

SDCONF1

0xFFF0.100C

R/W SDRAM bank 1 configuration register

0x0000.0800

31

30

29

28

27

26

25

24

BASADDR

23

22

21

20

19

18

17

16

BASADDR

RESERVED

15

14

13

12

11

10

9

8

MRSET

RESERVED

AUTOPR

LATENCY

RESERVED

7

6

5

4

3

2

1

0

COMPBK DBWD

COLUMN

SIZE

BASADDR [31:19] Base address pointer of SDRAM bank 0/1

The start address is calculated as SDRAM bank 0/1 base pointer << 18. The SDRAM base address
pointer together with the “SIZE” bits constitutes the whole address range of each SDRAM bank.

MRSET [15] SDRAM Mode register set command for SDRAM bank 0/1

This bit set will issue a mode register set command to SDRAM.

AUTOPR [13] Auto pre-charge mode of SDRAM for SDRAM bank 0/1

Enable the auto pre-charge function of external SDRAM bank 0/1

0 = Auto pre-charge

1 = No auto pre-charge