Anybody added external SRAM to Kinetis K60 while using MQX.

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

Anybody added external SRAM to Kinetis K60 while using MQX.

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

Hi

Is anybody running MQX on a K60 processor with external SRAM? 

Currently I am exhausting RAM, which manifests itself when TCP sockets are opened. Currently only have about 20K free when the application is running.

So the question is really how easy will it be to add external sram and make MQX aware/use it. (Also any idea if there is a performance hit?)

Regards

Gary

1 解決策
484件の閲覧回数
OliverSedlacek
Contributor III

Yes, I've done it. I'm the hardware guy, so I'm not up to speed with all the MQX issues, but basically we hung 1Mx16 SRAM on the Flexbus and used FB_CS3 to decode it. It works better if you don't mix up your BHE and BLE strobes. With 70nsec SRAM we needed 4 wait states with a 50MHz Flexbus clock, so there is a performance penalty. You haven't specified which K60 you are using as the subfamily 3 parts will cache the SRAM and the subfamily 2 parts wont.

I don't think the MQX bit was too difficult. I think you just need to edit your .icf and rebuild your BSP.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
485件の閲覧回数
OliverSedlacek
Contributor III

Yes, I've done it. I'm the hardware guy, so I'm not up to speed with all the MQX issues, but basically we hung 1Mx16 SRAM on the Flexbus and used FB_CS3 to decode it. It works better if you don't mix up your BHE and BLE strobes. With 70nsec SRAM we needed 4 wait states with a 50MHz Flexbus clock, so there is a performance penalty. You haven't specified which K60 you are using as the subfamily 3 parts will cache the SRAM and the subfamily 2 parts wont.

I don't think the MQX bit was too difficult. I think you just need to edit your .icf and rebuild your BSP.

0 件の賞賛
484件の閲覧回数
grixk60n512
Contributor II

Hi Oliver,

I'm the software guy :smileyhappy:, and I thought as much re : the changes to the linker file. Will pass on the info to the hardware guy.

Thanks a ton.

Gary