Skip to content

failure in high speed communication #542

Closed
@ROBOTIS-Will

Description

@ROBOTIS-Will

Hi,

This issue is an explanation of test result regarding the PR #541.
While we've been testing with Arduino MKR boards, there was an issue with unsuccessful transmission caused by the flushUART().

In our test we were using half duplex communication(TTL) over the UART to control TX and RX direction with the direction control GPIO pin. After flushing the UART, direction control will be switched, but the flushUART does not wait until the completion of TX.

Please see below oscilloscope graph where the direction control(in blue) drops too early before the end of TX(in green), therefore, the actual TX data is missing the last bit(in yellow).

Torque On 2Mbps #1

After commenting out the isDataRegisterEmptyUART() section, flushUART() waits until the end of transmission as below.
Torque On 2Mbps #2(check TXC only)

As we are not sure the reason of skipping the checking transmission completion, please review this modification(#541) and let us know.
Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions