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.

MSP432P401R: Callback function of UART when using FreeRTOS

Part Number: MSP432P401R

Hi e2e,

My customer wants to use the callback function of UART when running FreeRTOS on MSP432.

Can you give me a demo or show me how to configure the parameters?

Eason

  • Hi Eason,

    the SimpleLink packages in the TIRex (TI Resource Explorer) give a lot of examples where also some UART examples are available.

    May you can check first this one if this provides already the required details:

    Example

    ~ Stefan

  • Hi Stefan,

    1.Yes, I have checked all the examples. But there are only two examples that instruct how to use uart.
    2. All the two examples use UART_MODE_BLOCKING mode, and I need a example that use UART_MODE_CALLBACK mode.
    My customer hope TI offers an example to show how to use both read and write callback function.

    Eason
  • Hi Eason,

    thanks for the details.

    I could find the UART_MODE_CALLBACK in this files and examples:

    examples/nortos/MSP_EXP432P401R/drivers/adcbufcontinuous/adcBufContinuousSampling.c
    examples/rtos/MSP_EXP432P401R/drivers/adcbufcontinuous/adcBufContinuousSampling.c
    examples/syscfg_preview/nortos/MSP_EXP432P401R/drivers/adcbufcontinuous/adcBufContinuousSampling.c
    examples/syscfg_preview/rtos/MSP_EXP432P401R/drivers/adcbufcontinuous/adcBufContinuousSampling.c

    They are just covering the write mode with callback functions but maybe this already gives the required info.

    If you also need a write demo please let me know, i can then check further but i think there is nothing ready just now.

    ~ Stefan

  • Hi Eason,

    I suppose that you were able to solve the customer issues as you didn't reply anymore, so I'll close this post.
    Please feel free to comment again if you look for further assistance regarding this topic, it will re-open the thread. If you have a different question, please select "Ask a related question" or " Ask a new question".

    Best regards,
    Stefan

**Attention** This is a public forum