USB Host Stack on cacheable data memory

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

USB Host Stack on cacheable data memory

270 Views
lucasalves
Contributor I

In the application we are developing on the IMXRT1050, using SDK 2.14.0, the HEAP is in SDRAM and is cacheable. To use the USB Host stack in this situation, we set USB_HOST_CONFIG_BUFFER_PROPERTY_CACHEABLE to 1, and create the NonCacheable, m_usb_dma_noninit_data, m_usb_dma_init_data sections in the linker in a non-cacheable region. With this apparently the USB is working, however the warning "USB_HOST_CONFIG_BUFFER_PROPERTY_CACHEABLE is not supported." is generated during compilation. The question would be why is it not supported? What doesn't work well in this condition?

0 Kudos
1 Reply

245 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @lucasalves ,

 

Which USB demo are you working on the RT1050? or Is it a custom application? Are you developing based on MCUXpresso IDE? Please kindly clarify. I am trying to reproduce it here. Thanks for your patience!

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

0 Kudos