It uses OTG1 (pins PA9-12), which is incorrect. OTG2 (pins PB12-15) should be used instead.
Fix:
1. In mcuconf.h enable STM32_USB_USE_OTG2 instead of STM32_USB_USE_OTG1.
2. In usbcfg.c replace all occurrences of USBD1 with USBD2.
BTW, the same demo in ChibiOS 3.0.5 correctly uses OTG2.
RT-STM32F429-DISCOVERY demo in ChibiOS 16.1.2
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: RT-STM32F429-DISCOVERY demo in ChibiOS 16.1.2
Hi,
Thanks for finding, will be fixed in next release.
Giovanni
Thanks for finding, will be fixed in next release.
Giovanni
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times