Tool/software:
My goal is to configure wakeup pin F24, specifically MCU_TIMER_IO6, to operate as a PWM output.
I've tried the procedure below, but the PWM waveform isn't appearing on pin F24.
I'd like to inquire if there are any further settings required, or if this indicates an error.
1. pin mux 설정
- pdk_j721s2_09_02_00_30/packages/ti/board/src/j721s2_evm/J721S2_pinmux_data.c
static pinmuxPerCfg_t gMcu_dmtimer0PinCfg[] =
{
/* MyMCU_DMTIMER1 -> MCU_TIMER_IO6 -> F24 */
{
PIN_WKUP_GPIO0_8, PIN_MODE(4) | \
((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))
},
{PINMUX_END}
};
static pinmuxModuleCfg_t gMcu_dmtimerPinCfg[] =
{
{0, TRUE, gMcu_dmtimer0PinCfg},
{PINMUX_END}
};
pinmuxBoardCfg_t gJ721S2_WkupPinmuxData[] =
{
{0, gMcu_adcPinCfg},
{1, gMcu_cpsw2gPinCfg},
{2, gMcu_i2cPinCfg},
{3, gMcu_i3cPinCfg},
{4, gMcu_mcanPinCfg},
{5, gMcu_mdioPinCfg},
{6, gMcu_ospiPinCfg},
{7, gMcu_uartPinCfg},
{8, gWkup_gpioPinCfg},
{9, gWkup_i2cPinCfg},
{10, gWkup_uartPinCfg},
{11, gMcu_dmtimerPinCfg},
{PINMUX_END}
};
2. code