AnsweredAssumed Answered

Is the STM32F446 compatible with the STM32F4xx USB OTG Driver?

Question asked by martin on Sep 18, 2015
Latest reply on Aug 22, 2017 by Maxime TEISSIER
I have been working on porting code for a STM32F405 based board to a newer board that uses the STM32F446. I have been having troubles getting USB to work. See [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F446%20configure%20PLLSAI%20for%2048MHz%20%28USB%29%20clock&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx?Paged%3DTRUE%26p_StickyPost%3D%26p_DiscussionLastUpdated%3D20150917%252011%253a11%253a41%26p_ID%3D57709%26View%3D%257bF47A9ED8%252dE726%252d42BE%252dACED%252d732F13B66581%257d%26FolderCTID%3D0x012001%26PageFirstRow%3D41]previous post. I'm quite sure that the USB clock is configured correctly, but I can't get the USB device to work.

My code uses the "STM32F105/7xx, STM32F2xx and STM32F4xx USB OTG Driver" version 2.1.0 and "STM32F105/7xx, STM32F2xx and STM32F4xx USB Device Library" version 1.1.0. Does anyone know if these libraries are compatible with the STM32F446? I compared the reference manuals for the STM32F446 and the STM32F405 and there seem to be some differences. E.g., the 405 supports 3 endpoints, while the 446 supports 5 also the number of  Tx-IN FIFOs is different.

Has anyone successfully used these libraries with the STM32F446 or does anyone know what would need to be changed to make them work? 

Outcomes