MCF548x DDR Address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCF548x DDR Address?

1,276 Views
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 Kudos
2 Replies

862 Views
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

862 Views
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 Kudos