-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting this library to other devices, round two #9
Comments
Yes, it's interesting. |
I have two boards with STM32F407 and '417 up respectively in OTG_FS mode. I will test port this ASAP. Also to be tested is STM32L433, likely will work with some existing driver. Another few chips I have down the pipeline is F405 (OTG_HS, both internal FS PHY mode and external HS PHY mode, they have the same OTG_FS as F407/F417,) F411, F107 (both have only one OTG,) F722 and F756 (both chips, both OTG_FS and OTG_HS.) |
I have an F413 I'm planning to try this library on, which has just OTG_FS. |
@kisielk I am on it. I do hope that the F417's OTG_FS is similar enough with F413's so you can just take and use it. |
@xcvista is it different from the existing v2 driver? or just a matter of adding the necessary defines? |
@kisielk It is fairly different as how the VBUS detect is handled changed. A lot of stuff in Maybe we need to come up with a better naming scheme for things, as the |
I got a Nucleo-F767ZI second hand. So now I have three chips ready to test: STM32F407ZGT6 OTG_FS, STM32F417ZGT6 OTG_FS and STM32F767ZIT6 OTG_FS. |
Fine. I've bought NUCLEO-F429 just before New Year and made otgfs driver. But i have no time for test and debug. I hope i'll do it at weekend. |
I have an STM32F746G-DISCO I can test on, but don't have time to work on the code at the moment. If someone gives me a basic firmware I can try and help debug though. |
@kisielk I think the same F429 code would work on most F4/F7 chips, hopefully without too much modifications. |
add: add USBD_SOF_OUT preprocessor variable fot F429 OTG FS add: add CDC demo for NUCLEO-F429ZI Github issue #9
add: add doxygen description for USBD_SOF_OUT preprocessor variable rmv: remove MCO clockout for F429 in cdc_startup.c (was added for debug purposes) upd: update makefile for F429 Github issue #9
add: add doxygen description for USBD_SOF_OUT preprocessor variable rmv: remove MCO clockout for F429 in cdc_startup.c (was added for debug purposes) upd: update makefile for F429 Github issue #9
The stm32f429_otgfs driver is ready for testing |
Merge branch stm32f429_otgfs Github issue #9
@dmitrystu I added support for the STM32F105/F107 based on the STM32F429 driver, would you accept a PR? I also ported the bootloader. |
Sure |
Has anyone made progress porting this to an F7 series chip yet? Using the F429 driver and the cdc demo I've got as far as receiving a bus reset event, but nothing after that. |
Check RCC for correct 48MHz USB FS PHY clock setup. |
Well finally I have an OTG-HS-ULPI board ready. |
Cool ! |
Let me put the schematics and Gerber on here, and put up a Tindie link if you want to buy one. It is STM32F405RGT6 + USB3300 on one board, with the intention to be used as a CMSIS-DAP debugger with a USB 2.0 Hi-Speed link. |
Here is my STM32F405 + USB3300 board: https://www.tindie.com/products/maxtch/stm32f405-usb-2-hi-speed-evaluation-board-dap405/ |
This recommendation is a continuation of the issue #2 but regarding the two USB peripherals found on STM32F2, F4 and F7 families. The existing v2 driver may work for the OTG_FS peripheral, but is there any consideration about the OTG_HS, either in built-in FS PHY mode, or in external HS PHY mode?
I am considering building a STM32F405RG USB 2.0 Hi-Speed Experiment Board for this, with all three USB connections being made available (OTG_FS, OTG_HS with external PHY and OTG_HS with internal FS PHY). Are you interested?
The text was updated successfully, but these errors were encountered: