6 programming considerations, 1 refresh control unit example code – Intel 386 User Manual

Page 475

Advertising
background image

Intel386™ EX EMBEDDED MICROPROCESSOR USER’S MANUAL

15-14

Figure 15-8. RAS# Only Refresh Logic: Non-Paged Mode

15.6 PROGRAMMING CONSIDERATIONS

REFRESH# and CS6# share a package pin. To select the REFRESH# signal at this pin, set bit 6
in the PINCFG register:

_SetEXRegByte(PINCFG, (_GetEXRegByte(PINCFG) | 0x40));

15.6.1 Refresh Control Unit Example Code

The following code example contains software routines that initialize the refresh control unit and
retrieve the current value of the refresh interval timer. See Appendix C for the included header
files.

#include <conio.h>

#include “80386ex.h”

#include “ev386ex.h”

/*****************************************************************************

InitRCU:

Description:

Initializes the Refresh Control Unit

Intel386™ EX

Embedded Processor

Row

Address

Buffer

PLD

Lower Address

Row
Address

Non-paged

DRAM

Column
Address

Address

Upper Address

OE_ROW#

OE_COL#

RAS#

CAS#

BHE#

BLE#

A3265-02

Column

Address

Buffer

CS

n#

REFRESH#

Note:
A single mux can be used in place of the row and column address buffers.

Advertising