MCF548x DDR Address?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF548x DDR Address?

1,283件の閲覧回数
zwilcox
Contributor IV

Hey!  I'm setting up the  SDRAM Controller (SDRAMC) on the MCF5485.  
I had a small question. 

Once the SDRAMC is initialized, what is the address of the SDR/DDR memory?

If I understand correctly, the reference manual says you can set it with the DACRx register.

However, I can't find anything about the DACRx registers.

So my question is, what is the address of the DDR/SDR.  Do I set it up in the DACRx registers.  If so, are the DACRx registers memory mapped? Special registers. 

pastedImage_1.png

Thanks in advance!

Edit:  I think it's the CSBA in the  CSnCFG .

0 件の賞賛
2 返答(返信)

869件の閲覧回数
TomE
Specialist II

If you go to www.nxp.com and type a phrase (like "DACR0 and DACR1") into the Search Box, you'll find a list of Reference Manuals that have that phrase in it.

Ones like the MCF5307 and others. These are the Reference Manuals that sentence you quoted was most likely copied from. But this chip doesn't have those registers. As you found and as Hui Ma answered, in this chip the data written into the CSBA field of the CSnCFG registers is used to match the CPU adddress - combined with the CSSZ field.

Tom

869件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Please refer MCF5485EVB SDRAM configuration file with below info:

pastedImage_1.png

pastedImage_2.png

SDRAM memory address was set with SDRAM Chip Select Configuration Registers (CSnCFG) [CSBA] bits:

pastedImage_3.png

I attached <MCF5485EVB_SDRAM.cfg> file for your reference.

Wish it helps.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛