Page 1 of 1

Using all 5 serial ports

Posted: Fri May 01, 2020 11:12 am
by razvitm
How can I use all the 5 serial ports on the STM32F103RCT6 microcontroller using the official ST core in Arduino?
I can use USART1 just like on any other arduino board with Serial.begin(9600); but the other 4 serial ports are not working, I get compiler error
"undefined reference to `Serial2'"

Do I have to instanciate the rest of the serial ports?
How do I do that?

Re: Using all 5 serial ports

Posted: Fri May 01, 2020 11:28 am
by fpiSTM

Re: Using all 5 serial ports

Posted: Fri May 01, 2020 12:28 pm
by razvitm
Thanks, all serial ports working now.