Skip to content

UART7 causes Nucleo F091RC to lock up #260

Closed
@TT-ZX

Description

@TT-ZX

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

Metadata

Metadata

Assignees

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions