Part Number: MSPM0G1507
Other Parts Discussed in Thread: SYSCONFIG
I spent awhile debugging this issue:
I use 2 UARTs on the MSPM0G1507. One is Rx only and after I collect bytes using an ISR, I forward them out the other UART.
I found that my process worked fine when the debugger was connected and controlling the process. When I booted the system stand-alone I could tell the M0 booted because I could see output from the other UART, but it never relayed anything from the first.
After debugging I found the issue was the ISR was never getting called in stand alone mode. In debug mode the ISR was used properly.
After discussions with grok, I found adding the function call:
DL_UART_Main_receiveData(UART0_INST);
This seemed to enable calling of the ISR and everything worked properly in stand-alone mode after that call was made.
Can you describe why this was necessary and if there is a better way to ensure consistent UART functionality in both debug and stand-alone modes?
