2014-05-22 11:21 AM
typedef struct
{
uint32_t dev_endpoints; /*!<
Device
Endpoints number.
This parameter depends on the used USB core.
This parameter must be a number between
Min_Data
=
1
and
Max_Data
=
15
*/
<SNIP>
}USB_OTG_CfgTypeDef;
I hope that my failure to R The FM might save someone else from making the same mistake that I did.
Unfortunately, my application needs to use endpoint 6 in order to match an installed base of drivers. I don't see a way to do that using STM32F4 parts, but if someone can show me a way, that would make my day.
Thanks,
-- Conor
#stm32f4-hal-usb-endpoint-rtfm
2014-05-29 07:42 AM
Hi Conor,
The internal endpoint structure could handle up to 15 endpoints (generic for all the STM32 products), but the user has to set a number <= of number of the endpoints supported by a product (F4 ep_num <= 3 for FS and <= 6 for HS) in the PCD init structure.With regards.