On 12/19/2014 01:37 AM, Bruce Allen wrote:
> Dear Arduino Devs,
>
> Earlier in this thread, I asked the following question, but didn't get a response.
This mail list is intended for discussing development of Arduino's software.
While your question is regarding technical details in Arduino Due's core
library, there's a fine line here between contributing to development of
Arduino vs requesting technical support specifically for your project
(which belong on the forum).
>> In browsing the code, I see that there is an interrupt handler present. Is that ISR only used for Serial receive, not for Serial send? That would be good news for me, since my app only writes to the Serial port. Then I wouldn't have to worry about the serial library's ISR blocking my app's ISR.
Despite the tech support nature of your question, I believe Cristian did
indeed answer it directly.
> ISRs are NOT disabled, the write loop is really a busy loop like the
> one you posted:
>
> size_t USARTClass::write( const uint8_t uc_data )
> {
> // Check if the transmitter is ready
> while ((_pUsart->US_CSR & US_CSR_TXRDY) != US_CSR_TXRDY)
> ;
>
> // Send character
> _pUsart->US_THR = uc_data;
> return 1;
> }
>
> as you can see, it's a check followed by a write, no ISR masking is
> happening.
We get a lot of chatter and noise on this mail list. Extremely
experienced but non-contributing programmers are the worst, especially
when they lack understanding of Arduino's focus on simplicity and novice
usability!
I am personally aware of at least a few people who are significant
contributors to the Arduino community, who've unsubscripted or filtered
this list to an unread folder, simply because of the high noise to
signal ratio.
I'm also considering an ignore filter or simply unsubscribing.