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

Bugfix/desmakers 4270 serial.print is not allways working correctly in xmc for arduino version 3.5.0 #322

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LinjingZhang
Copy link
Collaborator

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

CONTRIBUTING.md also tells you what to expect in the PR process.

Description
Removed the transmit ringbuffer in order to quickly fix this Serial.print().
More changes will be made when replace coreAPI.

Related Issue
Please check DESMAKERS 4270

Context
For UART transmission, the original XMC4Arduino implementation was very confusing. Although our XMC USIC already comes with a hardware buffer and the xmclib API has a wait feature to block tx, we also use an additional software Ringbuffer. So We remove the ringbuffer and simply use the XMC_UART_CH_Transmit API (When FIFO is not configured, the API waits for the TBUF to be available. This makes the execution a blocking call).

@LinjingZhang
Copy link
Collaborator Author

A HIL Hub in MUC lab can't switch port on and off automatically. Not yet solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant