Detailed Explanation of S3C2440 Memory Controller

Publisher:advancement4Latest update time:2024-07-31 Source: cnblogsKeywords:S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The memory space of S3C2440 is divided into different blocks. When the CPU sends an address to the memory controller, the memory controller sends the corresponding chip select signal to the chip select pin according to the address range to realize the control of different devices.

BANK0 BUS WIDTH

The data bus of BANK0 (nGCS0) should be configured with a width as one of 16-bit and 32-bit ones. Because the BANK0 works as the booting ROM bank (map to 0x0000_0000), the bus width of BANK0 should be determined before the first ROM access, which will depend on the logic level of OM[1:0] at Reset.

MEMORY (SROM/SDRAM) ADDRESS PIN CONNECTIONS

Memory Interface with 8-bit ROM

Memory Interface with 8-bit ROM x 2

Memory Interface with 8-bit ROM x 4

Memory Interface with 16-bit ROM

Memory Interface with 16-bit SRAM x 2

analyze:

Take "Memory Interface with 16-bit ROM" as an example:

The CPU is byte-addressable; the ROM with a bit width of 16 is half-word-addressable (a half-word is equal to two bytes);

Which address line of the CPU is connected to A0 is determined by the data bit width of the memory chip. Since this ROM is addressed by halfword, the CPU should perform address conversion when accessing this ROM.


Keywords:S3C2440 Reference address:Detailed Explanation of S3C2440 Memory Controller

Previous article:Guo Tianxiang-S3C2440 Development Board Linux2.6.31 Porting Tutorial
Next article:Using timer to debounce buttons

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号