cancel
Showing results for 
Search instead for 
Did you mean: 

USB HS in FS + Internal DMA problem

r239955_stm1
Associate II
Posted on August 07, 2014 at 16:36 Hi All,

I have just started developing on the STM32 F4 Discovery with the purpose oftransferringdata from one incoming DMA (ie camera source) and out USB to a host PC.

I have managed to get the USB example working (however it is slow) so I have opted to get an ULPI device and run HS.

In the mean time I have changed my USB port to be the HS port with an external USB plug, running in FS mode.

My problem is trying to enable the internal DMA in FS mode.

In the usbd_cdc_core.c there is an #ifdef for the internal DMA that looks like:

#ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED
pbuf = usbd_cdc_Desc;
#else
pbuf = usbd_cdc_CfgDesc + 9 + (9 * USBD_ITF_MAX_NUM);
#endif

usbd_cdc_Desc is not defined anywhere in the libraries.

Does anyone know what to do with usbd_cdc_Desc?

Thanks for any help

0 REPLIES 0