S3c2440 bare board (I)-storage controller

Source: Internet
Author: User

The expansion method of jz2440 sdram is as follows:

1. The bank selects the line, address line, and slice line selection in the same group, but uses the data line to distinguish the high position. Write 16-bit data at a high level to the same address of two sdram, thus forming a 32-bit data bus at the mcu end.

650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/075513137.png "title =" 1.png" alt = "075513137.png"/>

2. Address line calculation method:

1) identify the number of banks on the chip from the SDRAM chip data 4), the number of storage units on each BANK 4 M) and the chip output data Bit Width 16 bit)
2) determine the number of banks. Use several address lines to select two for the BANK)
3) the number of storage units in each BANK determines the number of root address lines to be used for the selection of 22 storage units)
4) the output data Bit Width of the chip determines the 32-bit width of the connection between the first address line and the 0th address lines of the SDRAM, and the third step of the mcu is the addr0 of the sdram)
Example:
Two HY57V561620 chips are used to form a 32-bit output data Bit Width. Each chip is composed of four banks and each BANK is 4 MB in size. Two address lines are used for BANK selection, each BANK has a storage unit of 4M4M = 2 ^ 22), 22 address lines are used for the storage unit selection, and 2 BANK is shared here) + 22 storage unit) = 24 address lines, also because the output data bit width is 32 bits, 4 byte alignment, so will use mcu end address line A2-A25, A0-A1 is not used. While A24 and A25 are used for BANK selection, and 22 address lines starting from A2 are used for storage unit selection.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.