K64f help adding external RAM

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

K64f help adding external RAM

1,692件の閲覧回数
unknowncoder
Contributor III

Hello, 

We need to add at least 1Megabyte of RAM to the MK64FN1M0VLL12.

From my understanding we need to use the FlexBus to do this? Which has address space 0x6000_0000–0xDFFF_FFFF. With a totoal size of 512MB. 

I don't fully undetstand what the FlexRAM is used for (0x1400_0000–0x17FF_FFFF )? If we could use this it would be much easier. 

Can someone provide some help on how to add external RAM?

Thanks

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,496件の閲覧回数
unknowncoder
Contributor III

I have sourced the following RAM 

Can someone comment on compatibility it looks like it can work just fine.

0 件の賞賛
返信

1,496件の閲覧回数
davidsherman
Senior Contributor I

FlexRAM can be used as RAM, but it is only 4KB in size.  It is primarily used for programming the flash memory sectors in the FlexNV section.  The FlexBus brings out bus control signals (address/data bits, read/write, chip selects, byte enables) so you could connect a suitable parallel SRAM.  Bear in mind depending on the type and data width of the RAM you may be using several of the available pins for address pins to get to 1MB.  For that size I'm thinking the Flexbus will need to be multiplexed, so you will also need an address latch in addition to the SRAM.

0 件の賞賛
返信