how to config the "evkbimxrt1050_dev_hid_generic_freertos" project to use SDRAM

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

how to config the "evkbimxrt1050_dev_hid_generic_freertos" project to use SDRAM

Jump to solution
3,346 Views
steven_zhang
Contributor V

i tried to use sdram in the "evkbimxrt1050_dev_hid_generic_freertos" project,i configed the project as the attaches。 my PC can not find the HID device while debugging ,can anybody tell me how to config the project correctly?

0 Kudos
Reply
1 Solution
3,263 Views
steven_zhang
Contributor V

by open  the SDRAM_IS_SHAREABLE ,it works。

View solution in original post

0 Kudos
Reply
3 Replies
3,263 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Steven Zhang,

    If you are using the USB with SDRAM, you need to configure the USB buffer to the nonCacheable area.

   So you also need to add the below configuration in your project:

pastedImage_1.png

  Another simple way, you also can try to disable the cache, comment the cache:

    SCB_EnableDCache();
    SCB_EnableICache();

In board.c BOARD_ConfigMPU().

You can try it on your side.

If you still have questions, please kindly let me know.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

3,264 Views
steven_zhang
Contributor V

by open  the SDRAM_IS_SHAREABLE ,it works。

0 Kudos
Reply
3,263 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Steven Zhang,

  That's very good to hear it works.

   Shareable means non-cacheable by default.

  Do you still have questions about this topic?

  If yes, please kindly let me know.

  If your question is solved, please help me to mark the correct answer, just to close this case, thank you!

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------