Closed
Description
When I try to use Serial.print over UART7 on the Nucleo F091RC the MCU locks up.
Here is the code to demonstrate the issue:
HardwareSerial mySerial(PC7,PC6);
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
mySerial.begin(9600);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
mySerial.println("Hello World!");
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
The LED will turn on and stay on. Nothing is received from UART7
I am using V1.2.0 of STM32 Cores. I've tried earlier version but the result is the same. I am using version 1.8.5 of the Arduino IDE on Gentoo.
Can anyone else confirm this issue or know of a work around?
Thanks,
Justin