Renesas SH7670 Series User Manual page 32

32-bit risc microcomputers superh risc engine
Hide thumbs Also See for SH7670 Series:
Table of Contents

Advertisement

2
Table 2.3.4 lists the example for bus state controller setting at 66.67 MHz operation for the SH7670 bus clock.
User Area
CS3
EDS2516APTA-75
Rev.1.01 2008.05.07
REJ11J0012-0101
Table 2.3.4 Bus State Controller Setting (SDRAM Read/Write)
Target Device
CS3 space bus control register : CS3BCR
Initial value: H'36DB 0600
Recommended setting value : H'0000 4600 (at 32 bus width)
• Memory specification
TYPE[2:0] = B'100; SDRAM
• Data bus specification
BSZ[1:0] = B'11; 32 bit bus width
CS3 space wait control register: CS3WCR
Initial value: H'0000 0500, Recommended setting value: H'0000 2892
• Wait precharge completion cycle count
WTRP[1:0] = B'01; 1 cycle
• Number of wait cycles from ACTV to READ (A) /WRITE (A)
command
WTRCD[1:0] = B'10; 2 cycles
• Area 3CAS latency
A3CL[1:0] = B'01; 2 cycles
• Wait precharge start cycle count
TRWL[1:0] = B'10; 2 cycles
• Idle cycles between REF command/self refresh release and
ACTV/REF/MRS command
WTRC[1:0] = B'10; 5 cycles
SDRAM control register: SDCR
Initial value: H'0000 0000, Recommended setting value: H'0000 0811
• Refresh control
RFSH = B'1; Refresh is performed
• Refresh control
RMODE = B'0 ; Auto-refreshing
• Bank Active mode
BACTV = B'0; Auto-precharge mode
• Number of bits of row address for area 3
A3ROW[1:0] = B'01; 13 bits
• Number of bits of column address for area3
A3COL[1:0] = B'01; 9 bits
Refresh timer control/Status register: RTCSR
Initial value:H'0000 0000, Recommended setting value:H'A55A 0010
• Clock select
CKS[2:0] = B'010; Bφ/16
• Refresh count
RRC[2:0] = B'000; Once
Refresh Time Constant Register: RTCOR
Initial value: H'0000 0000, Recommended setting value: H'A55A 0020
*The refresh request interval when clock select is set to Bφ/16 is as
follows.
Bus State Controller Setting
1 cycle: 240 nsec (66.67 MHz/16=4.17 MHz)
Refresh request intervals in the SDRAM: 7.8μsec/time
7.8usec /240nsec = 32(0x20) cycle/ refresh counts
Functional Overview
2.3.3 External SDRAM
2-18

Advertisement

Table of Contents
loading

This manual is also suitable for:

M3a-hs71M3a-hs71g50

Table of Contents