This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0C1106-Q1: Can the M0 MCU be configured to enable a bridge feature between UART0 and UART1?

Part Number: MSPM0C1106-Q1
Other Parts Discussed in Thread: SYSCONFIG, MSPM0C1106

Tool/software:

Hi 

If we use the MSPM0C110x, which has two UART channels, is it possible to read and write commands or data from UART0 to UART1 and then forward it to the device?
Can the M0 MCU be configured to enable a bridge feature between UART0 and UART1?
Can the TI test tool simulate this functionality?

The behavior is as follows:

  1. PC -> UART0 ->UART1-> Device
  2. Device -> UART1 -> UART0 -> PC

  • Hi PYTsai,
    I think it should be possible to implement a bridge that has two UARTs. The bridge will have to be implemented in the project you create for it i.e. exchange whatever information from either UART0 and UART1. I'm not sure what you mean by TI Test tool. If you mean the debugger, then yes, you can use the debugger to verify that your code runs as intended. I would recommend to take a look over the MSPM0 Subsystems Communication bridges examples (we currently don't have it specifically for the MSPM0C1106, but changing the device target in SYSCONFIG should be easy.) 

    Best Regards,

    Diego Abad

  • Conceptually, it is easy. Simply have an RX interrupt that puts the received byte into the TX buffer.

    What you are not telling us is really important.

    Are both baud rates the same?

    Do you need buffering?

    Is it possible that the stream might need to be stopped for some reason?