Skip to main content
hubikmartin
Visitor II
November 14, 2014
Question

USB Lib STSW-STM32121; V4.0.0 bug report

  • November 14, 2014
  • 1 reply
  • 524 views
Posted on November 14, 2014 at 20:26

In usb_regs.h wrong bits are assigned for register OTG_FS_DOEPCTL0 or OTG_HS_DOEPCTL0 to the structer typedef union _USB_OTG_DEPCTL_TypeDef.

Althought the names of bits are ok, their position doesn't match with with what the reference manual RM0090 Rev7 says about them. I am not sure if the lib actually uses this typedef but anyway.

#usb #stm32 #library
This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
November 17, 2014
Posted on November 17, 2014 at 12:02

STSW-STM32121 is ''

STM32F10x, STM32L1xx and STM32F3xx USB full speed device library

''. It doesn't support STM32F4 products.

-Mayla-

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.