Skip to content

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