Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21983

MSP430FR5964: Interleaving UART usage with printf support in CCS

$
0
0
Part Number: MSP430FR5964

I've been using a printf based trace to try and get to the bottom of some MSP430 code issues. This is working fine unless the logic also happens to use a UART, which it does for some functions.. 

The mechanism used to return console writes such as printf's back to the CCS console is a bit opaque, but understand this is using some sort of uart to generate the serial stream transmitted via the JTAG. I'm guessing that the console writes and the logics own uart use are somehow in conflict.

Apologies if it's a dumb question, but I'm struggling to figure out how this works, where/how it can be configured (and if I'm even on the right track!)

Does console write commandeer a physical uart, or is this done in software? If it does utilise a physical uart, can the device used be configured. Any other ideas of what could cause these issues.

Thanks for any insight - Andrew (CCS 11.2.0, GNU toolchain)


Viewing all articles
Browse latest Browse all 21983

Trending Articles