Regarding format of external SRAM of 2MB using MQX MFS

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

Regarding format of external SRAM of 2MB using MQX MFS

341 Views
ashokg
Contributor I

Hi All,

I working on Freescale MQX 4.0 with MFS and USB host stack plugins added to our project.

I need to format external SRAM  with FAT 12  which is connected to K20Dx128VLH7 MCU  via Flex Bus Engine. To format SRAM we are using MFS on SRAM ( SRAM size is 2MB) .

K20Dx128VLH7 MCU can support only 18 address lines (256 k) to interact with SRAM. I want to extended the Flebus address by using extra I/O lines of controller so that i can format 2MB of SRAM.

Now , my question is MFS is handling up to 18 address lines of Flexbus in the Stack. I want to add my own SRAM driver in order to support whole 2MB of SRAM with extended I/O lines.

Can anyone  please suggest any example code or how can i write my own driver and integrated to MFS stack.?

Regards,

Ashok

Labels (1)
Tags (1)
0 Kudos
1 Reply

247 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Ashok,

AN3902 explains how to create a new driver, you can take a look to it.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MQX&fpsp=1&tab=Documentation_Tab

Regards,

Carlos

0 Kudos