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/MSP432P401Y: Understanding system start-up

Part Number: MSP432P401Y

Tool/software: TI-RTOS

Greetings,

My goal, for the moment, is to understand how the sample applications bring the system into an operational state.  As I work through one of the simpler applications, I'm seeing things that I cannot quite explain with my understanding so far.  So, my primary question is where exactly should I begin with the documentation.

In the uart-echo example, I began with looking into the clocks and GPIO configuration.  What I've gleaned is that he clocks are setup automatically by the TI RTOS power driver code.

In the MSP_EXP432401R code, there is reference to a Display object that appears to be unnecessary.  When I comment this out, the program compiles and runs.  Perhaps this is cruft from another sample?

Then, by removing other pieces of code, I found that the GPIOMSP432_config and UART_config structure are required.  What I haven't found is documentation explaining these structures.  The IDE doesn't appear to link to them.  Where are these required global objects explained?  Even the GPIO_init() that requires one of them has no more information other than something like GPIOXXX_config is required.

Cheers

  • Hello,

    Just to be in the same page, which version of the SDK are you using??

    Thanks,

    David
  • simplelink_msp432p4_sdk_1_60_00_12

  • Hello Marc,

    Marc Singer98 said:
    So, my primary question is where exactly should I begin with the documentation.

    A good starting point is SimpleLink Academy. SimpleLink Academy provides a comprehensive set of training tools that allow users from beginners to experienced developers to learn about the SimpleLink MCU Platform

    Also, please review the power management document in /simplelink_msp432p4_sdk_1_60_xx_xx/docs/tidrivers/Power_Management.pdf

    Marc Singer98 said:
    In the MSP_EXP432401R code, there is reference to a Display object that appears to be unnecessary.  When I comment this out, the program compiles and runs.  Perhaps this is cruft from another sample?

    The file "MSP_EXP432P401R.c" is responsible for setting up the board specific items, so depending on your application some sections of this file could be removed. The Display driver is designed to abstract operations & considerations specific to a given output method, in this case it is using the UART and there are some examples that use this driver.

    Ex.

    Display_printf(display, 0, 0, "Starting the i2ctmp007 example\n");

    Marc Singer98 said:
    Then, by removing other pieces of code, I found that the GPIOMSP432_config and UART_config structure are required.  What I haven't found is documentation explaining these structures.  The IDE doesn't appear to link to them.  Where are these required global objects explained? 

    It will depend on the drivers that you are using. Please take a look at the SimpleLink SDK Components and TI-RTOS in here:

    dev.ti.com/.../tirtos_basics.html

    Hopefully this helps.

      David

**Attention** This is a public forum