|
转自:http://andrehessling.de/2016/05 ... -sts-nucleo-boards/版权归原作者所有。 Quick hack: Add native (user) USB to ST’s Nucleo boards I recently bought myself one of ST’s cheap Nucleo development boards with an STM32F072RB controller on it to quickly start developing one of my projects. The microcontroller has native USB support even without an external clock which makes it quite attractive. The downside is that this board does not come with a USB connector that can be used by the controller itself. The USB connector on it is already used by ST’s own programmer (ST-Link). You could of course rewire the port to the microcontroller directly – but then you would lose the connection to the ST-Link and had to connect an external programmer. So I came up with another solution: I just glued a straight (180°) THT mini USB connector to the bottom side of the board and wired the USB-D- pin to PA11 and USB-D+ pin to PA12. Luckily both pins are not already used on the board and are easily accessible since they are routed to pin headers. USB GND (and shield) must also be connected to GND. You can see the little hack in the following picture. The same hack can probably be done with all Nucleo boards that provide a controller with USB support. Maybe someone finds this useful. ![]() Happy hacking, André |
【银杏科技ARM+FPGA双核心应用】STM32H7系列35——USB_VCP_FS
【银杏科技ARM+FPGA双核心应用】STM32H7系列28——USB_HID
STM32的USB自学笔记
用STM32CubeMX配置USB CDC方式通讯(含USB host与USB device工程)
【实战经验】进行USB CDC类开发时,无法发送64整数倍数据(续)
【实战经验】USB CDC类入门培训
USB4 产品设计将会令 USB4 取得成功
最全USB HID开发资料,悉心整理一个月,亲自测试
【银杏科技ARM+FPGA双核心应用】STM32H7系列30——USB_VCP
游名科技:DCDC隔离电源隔离USB隔离CAN隔离485原理图PCB图等...
微信公众号
手机版