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.

*****

Part Number: Part Number: *****>
Other Parts Discussed in Thread: SYSCONFIG

  • Hi Jean,
    Can you share the configurations you see from a regular I/O and the Debug lines I/O generated by SYSCONFIG (specifically the

    SYSCFG_DL_GPIO_init function) ? I wonder if the lines are being driven low due to the internal pull-up/pull-down resistors.

    Best Regards,

    Diego Abad

  • Hi Jean,
    Do you still need help with this problem?

    Best Regards,

    Diego Abad

  • Hi Diego,

    Sorry for my delay. Here's the SYSCFG_DL_GPIO_init function:

    SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void)
    {
    
        DL_GPIO_initPeripheralOutputFunction(GPIO_PWM_0_C0_IOMUX,GPIO_PWM_0_C0_IOMUX_FUNC);
        DL_GPIO_enableOutput(GPIO_PWM_0_C0_PORT, GPIO_PWM_0_C0_PIN);
        DL_GPIO_initPeripheralOutputFunction(GPIO_PWM_1_C0_IOMUX,GPIO_PWM_1_C0_IOMUX_FUNC);
        DL_GPIO_enableOutput(GPIO_PWM_1_C0_PORT, GPIO_PWM_1_C0_PIN);
        DL_GPIO_initPeripheralOutputFunction(GPIO_PWM_1_C2_IOMUX,GPIO_PWM_1_C2_IOMUX_FUNC);
        DL_GPIO_enableOutput(GPIO_PWM_1_C2_PORT, GPIO_PWM_1_C2_PIN);
        
    	DL_GPIO_setDigitalInternalResistor(GPIO_PWM_1_C0_IOMUX, DL_GPIO_RESISTOR_NONE);
    	DL_GPIO_setDigitalInternalResistor(GPIO_PWM_1_C2_IOMUX, DL_GPIO_RESISTOR_NONE);
    
    }

    As far as I understand, DL_GPIO_RESISTOR_NONE means that the internal pull-up/pull-down resistors are disabled.

  • Hi Jean,
    Let me check this on my side if I can replicate the same problem.

    Best Regards,

    Diego Abad

  • Hi Jean,
    I found a temporary solution for this problem. Enabling the Digital IOMUX features seems to make the PWM signals work as intended. Moreover, you should remove the SWDIO and SWCLK jumpers from the launchpad.

    Best Regards,

    Diego Abad

  • Hi Diego,

    Thank you! Enabling pin configuration solved my issue. PWM seems to be working just fine.

    Best regards,

    Jean Tonin