How to write to SDRAM on K65 using MCUXpresso IDE?

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

How to write to SDRAM on K65 using MCUXpresso IDE?

Jump to solution
625 Views
joseph_jean-jac
Contributor III

Hello Everyone,

I am trying to find out how to write to the 64 Mb SDRAM on the K65 using MCUXpresso IDE? I been using the 256 kb SRAM and I believe that is why I am running into the following issue: "FreeRTOS does not have enough memory in the heap to start the kernel".

As usual, any help is greatly appreciated!

Thanks!

0 Kudos
1 Solution
490 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Joseph,

K65 hasn't internal SDRAM. But it has a SDRAM controller. To get SDRAMC demo, please download K65 SDK from Welcome | MCUXpresso SDK Builder .

The demo is in SDK_2.2_TWR-K65F180M\boards\twrk65f180m\driver_examples\sdramc

Regards,

Jing

View solution in original post

2 Replies
491 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Joseph,

K65 hasn't internal SDRAM. But it has a SDRAM controller. To get SDRAMC demo, please download K65 SDK from Welcome | MCUXpresso SDK Builder .

The demo is in SDK_2.2_TWR-K65F180M\boards\twrk65f180m\driver_examples\sdramc

Regards,

Jing

490 Views
joseph_jean-jac
Contributor III

I should have mentioned I have to the twr-k65 which does has internal SDRAM, specifically 64 Mb. 

Thank you for pointing out the SDK demo that has code already written to configure the SDRAM for reading and writing. 

0 Kudos