Ok, thanks. That makes sense and I now understand that I can't use Serial simultaneously in PA9, PA10 and PB6, PB7 with STM32F411CEU. I have now tried with USART2 and it worked fine. The code:
HardwareSerial RPI(PB7,PB6);
HardwareSerial DEBUG(USART2);
void setup() {
RPI.begin(115200);
DEBUG ...
Search found 6 matches
- Mon Aug 16, 2021 6:05 pm
- Forum: General discussion
- Topic: [Solved] Multiple serial port at the same time doesn't work
- Replies: 11
- Views: 16530
- Mon Aug 16, 2021 4:35 pm
- Forum: General discussion
- Topic: [Solved] Multiple serial port at the same time doesn't work
- Replies: 11
- Views: 16530
Re: [Solved] Multiple serial port at the same time doesn't work
I'm having a similar problem and a strange behavior when using a BlackPill with a STM32F4C11CE. The code I show below compiles an run but for some reason the RPI serial ports are printing the data that was supposed to got to the DEBUG ports. I'm listening to the RPI pins (PB7 and PB6) and I'm ...
- Sun Jun 13, 2021 4:31 pm
- Forum: General discussion
- Topic: Program an STM32F411CEU6 using UART
- Replies: 6
- Views: 7337
- Sun Jun 13, 2021 12:51 pm
- Forum: General discussion
- Topic: Program an STM32F411CEU6 using UART
- Replies: 6
- Views: 7337
Re: Program an STM32F411CEU6 using UART
I have two tactile switches, one for boot and another for RST. I do the following steps, which are the same I use when programming the Black Pill.
1. Press and hold boot
2. Press for half a second RST
3. Release boot.
(I wanted to post an image of the schematics but it's complaining that the ...
1. Press and hold boot
2. Press for half a second RST
3. Release boot.
(I wanted to post an image of the schematics but it's complaining that the ...
- Sun Jun 13, 2021 12:19 pm
- Forum: General discussion
- Topic: Program an STM32F411CEU6 using UART
- Replies: 6
- Views: 7337
Program an STM32F411CEU6 using UART
Hello!
My problem: I can't program a STM32F411CEU6 with Arduino IDE and using UART.
So, I have designed a customized board with an STM32F411CEU6. I'm new in the field and so to prevent any big surprises I just used the design of a Black Pill as a reference (it turns out I had a big surprise :D ...
My problem: I can't program a STM32F411CEU6 with Arduino IDE and using UART.
So, I have designed a customized board with an STM32F411CEU6. I'm new in the field and so to prevent any big surprises I just used the design of a Black Pill as a reference (it turns out I had a big surprise :D ...
- Fri May 21, 2021 12:44 pm
- Forum: General discussion
- Topic: Setup external clock (HSE) at project level
- Replies: 3
- Views: 5187
Re: Setup external clock (HSE) at project level
Hi,
I'm having the same problem. Did you figure it how to do it, tyllurius?
I'm having the same problem. Did you figure it how to do it, tyllurius?