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

With the old logic if Serial::writeable() was called before and/or used ... #778

Merged
merged 1 commit into from
Dec 10, 2014
Merged

With the old logic if Serial::writeable() was called before and/or used ... #778

merged 1 commit into from
Dec 10, 2014

Conversation

sg-
Copy link
Contributor

@sg- sg- commented Dec 9, 2014

...to block calls to Serial::putc() it would never write due to EVENT_TXDRDY trailing a write to TXD. Add a dummy write to TXD before pins are connected to the peripheral. This primes the EVENT_TXDRDY to lead future writes rather than trail. Since STOPTX isn't used this seems safe.

…ed to block calls to Serial::putc() it would never write due to EVENT_TXDRDY trailing a write to TXD. Add a dummy write to TXD before pins are connected to the peripheral. This primes the EVENT_TXDRDY to lead future writes rather than trail. Since STOPTX isn't used this seems safe.
0xc0170 added a commit that referenced this pull request Dec 10, 2014
Targets: NRF51822 - With the old logic if Serial::writeable() was called before and/or used ...
@0xc0170 0xc0170 merged commit 87c17ed into ARMmbed:master Dec 10, 2014
@sg- sg- deleted the nrf_txirq_patch branch December 10, 2014 16:55
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.

2 participants