Search found 4 matches

by metastable
Sun Aug 03, 2025 6:47 pm
Forum: General discussion
Topic: Trouble using 3 UARTs simultaneous on STM32F405
Replies: 7
Views: 1175

Re: Trouble using 3 UARTs simultaneous on STM32F405

Yeah it was really difficult to follow everything myself. After all the testing I did it seems that PC10 and PC11 simply won't work on this board. I'm guessing its due to the AS5047 encoder being connected to those pins as well. I ended up moving to PA0 and PA1 for UART4 and things seem to be ...
by metastable
Sat Aug 02, 2025 11:37 pm
Forum: General discussion
Topic: Trouble using 3 UARTs simultaneous on STM32F405
Replies: 7
Views: 1175

Re: Trouble using 3 UARTs simultaneous on STM32F405

I understand now, thank you! Yes, I have CDC supersede. I looked in WSerial.h to understand a bit more and it looks like that's done by this block

#if defined (USBCON) && defined(USBD_USE_CDC)
#ifndef DISABLE_GENERIC_SERIALUSB
#define ENABLE_SERIALUSB
#if !defined(Serial)
#define Serial ...
by metastable
Sat Aug 02, 2025 12:54 pm
Forum: General discussion
Topic: Trouble using 3 UARTs simultaneous on STM32F405
Replies: 7
Views: 1175

Re: Trouble using 3 UARTs simultaneous on STM32F405

Thanks for the replies. Could you please explain more what you mean by override with USB serial? Serial over USB is working fine but do you think it could be causing my issue?

Here's what I have for my clock configuration. I took this from the firmware that comes with the board.

void SystemClock ...
by metastable
Fri Aug 01, 2025 4:27 pm
Forum: General discussion
Topic: Trouble using 3 UARTs simultaneous on STM32F405
Replies: 7
Views: 1175

Trouble using 3 UARTs simultaneous on STM32F405

Hey everyone, I've just about ran out of ideas and looked up just about all that I can. I'm using an MKS XDrive Mini motor controller that's using the STM32F405RGT6. I've selected the STM32F405RGTX generic variant in Arduino IDE. I'm using Serial over USB, and I've also added a second Serial2 using ...

Go to advanced search