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.

RTOS/MSP432P401R: Where's the code for Uart initial in Uartlogging.c example?

Part Number: MSP432P401R

Tool/software: TI-RTOS

For TI-Rtos example in Resource explorer, I saw the uart initialization code in Uartecho.c example, I didn't see it in Uartlogging.c  example. I'm trying to edit the baud-rate for uart.

UART_Params_init(&uartParams);
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readReturnMode = UART_RETURN_FULL;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.baudRate = 9600;
uart = UART_open(Board_UART0, &uartParams);

Another question: how can I initial the second uart peripheral on MSP432 ? When initial the uartParams, I didn't see the code indicate which uart Params it configured.

Thanks!

  • Ben_cy,

    I don't see a uartlogging example. Did you mean uartmonitor? If not, can you link me to the example you are referencing from dev.ti.com/tirex?

    Have you looked at SimpleLink Academy for the MSP432 any? SimpleLink™ Academy provides a comprehensive set of training tools that allow users from beginners to experienced developers to learn about the SimpleLink MCU Platform. The academy delivers training modules that span a breadth of topics including fundamental SDK components such as an introduction to TI-RTOS and leading up to 'Getting Started' labs for all products in the SimpleLink MCU family. It is intended to be used by anyone wanting to get familiar with the SimpleLink MCU SDK of their choice and the development boards and tools associated with it.


    Within SimpleLink Academy, i would suggest looking at Configuring TI Drivers, which covers what you are looking to do I believe with adding a second UART instance, only with I2C. Can you check that out and let me know what you think?

**Attention** This is a public forum