Kinetis K65 with SDRAM 512Mb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis K65 with SDRAM 512Mb

跳至解决方案
1,331 次查看
jdohnal
Contributor I

Is it possible to connect the MCU MK65 to SDRAM MT48LC64M8A2? SDRAM has 8192 rows by 2048 columns, 10 columns A[9:0] SDRAM can be connected to A[16:9], A[22:20], A18 of MK65FN2M0VMI18, which is described in table 35-9 K65P169M180SF5RMV2.pdf. But on the page 890 is "The maximum SDRAM address size is 128 Mbits" and I want to connect SDRAM 512Mbit (64MB). Isn't this limit determined only for FlexBus and SDRAM can exceed this limit?


标签 (1)
0 项奖励
回复
1 解答
726 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Jiri Dohnal,

I checked the data sheet of MT48LC64M8A2, and looks like you are going to use the following configuration in red circle with table 35-9 , right?

pastedImage_0.png

pastedImage_1.png

If yes, I think maybe you have ignored the BA0 and BA1, which should be also listed as two of the address lines, such as table 35-14

pastedImage_2.png

so if you connected in the way of table 35-9 shown, only 128Mbit can be accessed with predefined states on BA0 and BA1, it is not a limitation for flexbus, but for SDRAM mapping.

Hope that makes sense,

Please kindly let me know if you have any issue.


Have a great day,
Kan

NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
727 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Jiri Dohnal,

I checked the data sheet of MT48LC64M8A2, and looks like you are going to use the following configuration in red circle with table 35-9 , right?

pastedImage_0.png

pastedImage_1.png

If yes, I think maybe you have ignored the BA0 and BA1, which should be also listed as two of the address lines, such as table 35-14

pastedImage_2.png

so if you connected in the way of table 35-9 shown, only 128Mbit can be accessed with predefined states on BA0 and BA1, it is not a limitation for flexbus, but for SDRAM mapping.

Hope that makes sense,

Please kindly let me know if you have any issue.


Have a great day,
Kan

NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
726 次查看
jdohnal
Contributor I

Hi Kan_Li,

you're right, I forgot that bank adresses BA0, BA1 should have been connected to GPIOs and switch banks manually.

Can I ask you how to connect more then one SDRAM to K65/K66? On an older versions of Kinetis (K60, K61), this limitation was only 1Gb. Now on newer and faster Kinetis I can connect 2 SDRAM (diferentiated by SDRAM_CS0, SDRAM_CS1), every with 128Mbit limitation?

Thank you very much for your answer.

Jiri Dohnal

0 项奖励
回复