STMicroelectronics / x-cube-azrtos-h7

X-CUBE-AZRTOS-H7 (Azure RTOS Software Expansion for STM32Cube) provides a full integration of Microsoft Azure RTOS in the STM32Cube environment for the STM32H7 series of microcontrollers.

Home Page:https://www.st.com/en/embedded-software/x-cube-azrtos-h7.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usb dma

chengshuihang opened this issue · comments

您好!我想启用USB的DMA功能,我看到USBX中使用_ux_utility_memory_allocate来保证内存对齐,如果我需要启用cache,是不是只需要在HAL_HCD_HC_SubmitRequest前后调用SCB_CleanDCache_by_Addr或者SCB_InvalidateDCache_by_Addr函数即可?如下面截图这样的修改。
image
image
image
image
image
image
image

Hi @chengshuihang,

Would you mind resubmitting this issue in English please? In the meanwhile, please allow me to close this one as written in Chinese.

With regards,