How to make hyperram connected with flexspi2 work like SDRAM

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

How to make hyperram connected with flexspi2 work like SDRAM

ソリューションへジャンプ
1,492件の閲覧回数
yalin
Contributor II

We'd like to use hyperram S27KS0642GA to replace SDRAM on RT1176, I researched some cases in this community and found AN12239.pdf, which showed how to read and write hyperram, I think it is a way using hyperram like a external device driver, such as an I2C device.

However, I'd like to use it by adding it into the MCU settings list in IDE just like SDRAM, is it possible? How can I do that? Is there a whole document or reference for configuring and using it?

Thanks.

0 件の賞賛
返信
1 解決策
1,470件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

You're correct, that space address needs to be used.
Once you have it on memory settings it is also important to first initialize it before using it.
One example that might be helpful is the PSRAM example on the RT600, although it is a different device it can be helpful since it accesses the FlexSPI RAM through AHB bus.

Best regards,
Omar

元の投稿で解決策を見る

3 返答(返信)
1,479件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.

Yes, it can be done in the same. You need to specify in the MCU settings the address where your HyperRAM is located so it becomes available.
I believe that what you want to do is access that HyperRAM through AHB bus so it is important to verify where it is mapped.

Omar_Anguiano_0-1670374011847.png

Best regards,
Omar

0 件の賞賛
返信
1,475件の閲覧回数
yalin
Contributor II
@Omar_Anguiano Thanks for reply. So I should use the AHB bus memory space access: 0x6000_0000 – 0x6FFF_FFFF for hyperram with flexspi2, is it right? Thanks.
0 件の賞賛
返信
1,471件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

You're correct, that space address needs to be used.
Once you have it on memory settings it is also important to first initialize it before using it.
One example that might be helpful is the PSRAM example on the RT600, although it is a different device it can be helpful since it accesses the FlexSPI RAM through AHB bus.

Best regards,
Omar