Skip to content

STM32F1 UART TX idles after every byte #1309

Closed
@jlpoltrack

Description

@jlpoltrack

Describe the bug
When using UART1 on STM32F1, TX seem to idle after every byte sent. Don't expect this idle period.

To Reproduce
Source from Arduino IDE:

void setup() {
  Serial.begin(1000000);
}

void loop() {
  Serial1.printf("Test");
  Serial1.flush();
  delay(100);
}

Screenshot from Scope:

Capture_2021_02_24_18_50_39

Expected behavior
Expect to see continuous output from TX, such as:

Capture_2021_02_24_19_02_24

Screenshots
Screenshots above

Desktop (please complete the following information):

  • OS: Win 10
  • Arduino IDE version: 1.8.13
  • STM32 core version: 1.9.0
  • Tools menu settings if not the default: Default
  • Upload method: Serial

Board (please complete the following information):

  • Name: STM32F103C Blue Pill

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions