Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Ron Anders4-Aug-22 15:55
Ron Anders4-Aug-22 15:55 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida4-Aug-22 17:57
jmaida4-Aug-22 17:57 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 20:58
mvahoney the codewitch4-Aug-22 20:58 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 5:08
jmaida5-Aug-22 5:08 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 5:15
mvahoney the codewitch5-Aug-22 5:15 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 8:18
jmaida5-Aug-22 8:18 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Fueled By Decaff4-Aug-22 21:59
Fueled By Decaff4-Aug-22 21:59 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 22:05
mvahoney the codewitch4-Aug-22 22:05 
They don't block. This is a hardware UART with internal send and receive buffers. I think that is my problem (maybe?).

The issue with scheduling on this RTOS is it's too simplistic and easy to starve. The scheduler isn't bright.

It's not CPU idling on I/O that is the problem, which punting to another thread would solve.

It's simply latency between the time the data gets received and it gets sent. My CPU is running like a greased pig.

Edit: I've got some hardware coming today which will hopefully allow me to switch all the MIDI stuff to USB. That may solve my problem by sidestepping the hardware UARTs altogether.

My other option is to just bit bang the serial myself, but I don't like that.
To err is human. Fortune favors the monsters.

GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Marc Clifton5-Aug-22 3:09
mvaMarc Clifton5-Aug-22 3:09 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Gerry Schmitz5-Aug-22 6:02
mveGerry Schmitz5-Aug-22 6:02 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 6:44
mvahoney the codewitch5-Aug-22 6:44 
GeneralAnyone tool around with an electric bike? Recommendations? Pin
Marc Clifton4-Aug-22 8:33
mvaMarc Clifton4-Aug-22 8:33 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Kent Sharkey4-Aug-22 9:18
staffKent Sharkey4-Aug-22 9:18 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
MarkTJohnson4-Aug-22 10:05
professionalMarkTJohnson4-Aug-22 10:05 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Kent Sharkey4-Aug-22 10:23
staffKent Sharkey4-Aug-22 10:23 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
MarkTJohnson4-Aug-22 11:08
professionalMarkTJohnson4-Aug-22 11:08 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Gary R. Wheeler4-Aug-22 13:32
Gary R. Wheeler4-Aug-22 13:32 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Kent Sharkey4-Aug-22 13:40
staffKent Sharkey4-Aug-22 13:40 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Marc Clifton5-Aug-22 4:59
mvaMarc Clifton5-Aug-22 4:59 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
Kent Sharkey4-Aug-22 9:23
staffKent Sharkey4-Aug-22 9:23 
GeneralRe: Anyone tool around with an electric bike? Recommendations? Pin
harold aptroot4-Aug-22 10:17
harold aptroot4-Aug-22 10:17 
GeneralWorLdle Pin
megaadam4-Aug-22 7:10
professionalmegaadam4-Aug-22 7:10 
GeneralOld Boss *cough* *Cough* Pin
rnbergren4-Aug-22 3:49
rnbergren4-Aug-22 3:49 
GeneralRe: Old Boss *cough* *Cough* Pin
Johnny J.4-Aug-22 7:00
professionalJohnny J.4-Aug-22 7:00 
GeneralRe: Old Boss *cough* *Cough* Pin
Gary R. Wheeler4-Aug-22 13:49
Gary R. Wheeler4-Aug-22 13:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.