Skip to content

UART1 on pin PA10, PA9 does not work on Nucleo-G071RB #1180

Closed
@Khelicon

Description

@Khelicon

I found issue where UART1 is not working on pin PA10 & PA9 on Nucleo-G071RB but UART1 works fine on pin PB7 & PB6.

I verified with following code in Arduino IDE and PlatformIO

 

HardwareSerial rfUart(PA10, PA9);  // do not work
//HardwareSerial rfUart(PB7, PB6); // work successfully
 
void setup()
{
 Serial.begin(115200);
 delay(100);

 rfUart.begin(115200);

 pinMode(LED_BUILTIN, OUTPUT);

 Serial.println("\nSG0 Begin....");
 rfUart.println("\nSG0 RF Begin....");
}

int count = 0;
void loop()
{
 delay(2000);

 Serial.printf("\nSG0 Count: %02d", count);
 rfUart.print("\nRF Count:"); rfUart.println(count++);

 digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
}

Note: I tried using Stm32Cube Framework, UART1 on pin PA10 & PA9 works fine.

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