Dear Forum people,
is there a way to have stable UART communication without using interrupts on the MSP430F5529?
I am asking because I am writing my custom BSL due to the fact that the standard bootloader does not support UCA1 and my custom hardware unfortunately does neither support UCA0 nor USB. I do not want to share interrupts with the main program so I am looking into UART wihthout interrupts.
My question is if there is a better way than this blocking method to receive bytes on RX (but without interrupts)?
while ( !(UCA1IFG & UCRXIFG)){
// wait and do nothing else until a byte has been received
}
return UCA1RXBUF;
Best regards,
Wolfgang