Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow control fails on STM32L476 #9525

Closed
cwq9999 opened this Issue Jan 28, 2019 · 5 comments

Comments

Projects
None yet
4 participants
@cwq9999
Copy link

cwq9999 commented Jan 28, 2019

Description

Flow control fails when the following commands are called in mbed-os 5.11.2 (a8f0c33).

_serial(tx, rx, ESP32_DEFAULT_BAUD_RATE)
_serial.set_flow_control(SerialBase::Disabled);
_serial.set_flow_control(SerialBase::RTSCTS, _rts, _cts); // where tx = PB_10, rx = PB_11, rts = PB_14, cts = PB_13

The error that is given is shown below:

++ MbedOS Error Info ++
Error Status: 0x80FF0144 Code: 324 Module: 255
Error Message: Assertion failed: obj_s->uart != (UARTName)NC
Location: 0x800CE7B
File: /extras/mbed-os.lib/targets/TARGET_STM/TARGET_STM32L4/serial_device.c+682
Error Value: 0x0
Current Thread: main Id: 0x200026F0 Entry: 0x800D449 StackSize: 0x1000 StackMem: 0x200016F0 SP: 0x20002610
For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x80FF0144
-- MbedOS Error Info

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug

@ciarmcom ciarmcom added the type: bug label Jan 29, 2019

@ciarmcom

This comment has been minimized.

Copy link
Member

ciarmcom commented Jan 29, 2019

@0xc0170

This comment has been minimized.

Copy link
Member

0xc0170 commented Jan 29, 2019

cc @ARMmbed/team-st-mcd Please review

@jeromecoutant

This comment has been minimized.

Copy link
Contributor

jeromecoutant commented Jan 29, 2019

Hi

I can reproduce the issue .

Thx for the report

@jeromecoutant

This comment has been minimized.

Copy link
Contributor

jeromecoutant commented Jan 29, 2019

Hi
Please check #9534

@jeromecoutant

This comment has been minimized.

Copy link
Contributor

jeromecoutant commented Jan 29, 2019

@0xc0170
Could set "devices: st" label ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.