WeAct Studio Blackpill and USB USART #2105
Replies: 2 comments 3 replies
-
UART is not USB - BMD does indeed use D+ and D- for USB which is an entirely different protocol to UART. Pins PA2 and 3 are used for the target UART interface which we then translate and present up to the host over USB as the aux serial interface. https://github.com/WeActStudio/WeActStudio.MiniSTM32F4x1 for their official pinouts and documentation which helpfully includes a diagram showing what peripherals can be routed out to which pins with pin function alt modes. PA2/3 are listed as {R,T}X2 there in a light blue box. |
Beta Was this translation helpful? Give feedback.
-
Under Linux, which device is the aux serial interface? The BMP shows up as /dev/ttyACM0 and /dev/ttyACM1, with symbolic links. My understanding is that both the SWD interface and the aux serial interface can be used at the same time. Is there more detailed documentation on the use of this aux interface under Linux that I'm overlooking? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The README.md in ./src/platforms/common/blackpill-f4 states that UART TX is pin PA2 and UART RX is pin PA3. However, the Blackpill documentation from WeAct Studio shows that the USB D- pin connects to PA11 and the D+ pin connects to PA12.
Shouldn't the Blackmagic firmware use pins PA11 and PA12?
Link to the Blackpill information page from WeAct Studio: https://stm32-base.org/boards/STM32F411CEU6-WeAct-Black-Pill-V2.0.html
Beta Was this translation helpful? Give feedback.
All reactions