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/AM5748: About the Board_getIDInfo

Part Number: AM5748

Tool/software: TI-RTOS

Hi.

What is the use for the parameters that Board_getIDInfo() is getting?(e.g. PMIC?)

Please tell me the details.

 

Regards,

Rei

  • Hi Rei,

    Board_getIDInfo retrieve board ID data from I2C EEPROM, this API is used for board detect mechanism. TI evaluation platforms for Sitara Processors usually have board information stored in an EEPROM which checks for revision number and board name which is used to configure the board. When creating a custom platform if you don`t intend to use an EEPROM then we recommend removing code corresponding to Board_getIDInfo in your board library.

    Board_getIDInfo() is getting only one parameter, a pointer to the Board_IDInfo structure. This structure contains name of the board, silicon revision, etc. It is defined in below file:

    pdk_am57xx_1_0_13/packages/ti/board/board.h

    typedef struct {

    /* Header ID of the SOC */
    char header[BOARD_MAX_ID_STR_LEN];

    /* Name of the board */
    char boardName[BOARD_MAX_ID_STR_LEN];

    /* Board version/revision info */
    char version[BOARD_MAX_ID_STR_LEN];

    /* Board serial number */
    char serialNum[BOARD_MAX_ID_STR_LEN];

    /* Board configuration codes */
    char configCodes[2*BOARD_MAX_ID_STR_LEN];

    /* Industrial Ethernet MAC address 0 */
    char indEthMacID0[BOARD_MAX_ID_STR_LEN];

    /* Industrial Ethernet MAC address 3 */
    char indEthMacID3[BOARD_MAX_ID_STR_LEN];

    } Board_IDInfo;


    See also if below e2e thread:

    e2e.ti.com/.../723129

    Regards,
    Pavel