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.

TDA4VL-Q1: There are some questions about GPIO clock configuration

Part Number: TDA4VL-Q1

Tool/software:

Hello, TI team:

          Our custom board has a debug light and uses GPIO0_15 control, so we want to configure the GPIO clock so that the GPIO port can be used normally,However, after using EB configuration, the log output clock setting fails, and after finding the reason, it is found that numParents is not greater than 1, which causes the follow-up not to continue, and the clock cannot be set, query the clock source ID of the GPIO, and find that the clock source ID can only be selected as 0, I want to ask how to set the clock of the GPIO, and whether it cannot be configured with EB.Please reply as soon as possible how we can configure the GPIO clock so that we can use it to light up our debug light

       The configuration code in Mcu_PBcfg.c is as follows:

       static Mcu_ClockConfigType McuApp_McuClockConfig[ ] =

     {

           [0] = 

          {

                 .Mcu_ClockModuleId = MCU_CLKSRC_MODULE_ID_MAIN_GPIO0,

                .Mcu_ClockSourceId = MCU_CLKSRC_0,

               .ModuleName = Gpio,

               .Domain = MAIN,

                .Mcu_InitCfg = TRUE,

                .Mcu_ClockFrequency = 100000000

      }};

The clock source ID found on the official website is configured as follows:

Clocks for GPIO0 Device

Device: J721S2_DEV_GPIO0 (ID = 111)

Following is a mapping of Clocks IDs to function:

Clock ID Name Function
0 DEV_GPIO0_MMR_CLK Input clock