Hello,
I cannot manage pin configuration used as PWM output.
I am able to change parameters (like open drain and current strength) for the same pin used as GPIO output, even in few different ways (tunable, qcom_gpio_add_alternate_configurations or qcom_gpio_pin_pad), but nothing works for PWM.
I found following sentence “Please check 80-ya116-4 document for PWM specification.”, but I am not able to find this document.
Please provide information how to configure PWM pin to open drain with maximum current.
Best regards
Hi ,
Have you checked qcom_pwm_port_set API in sdk demo code? Is that not helpful?
Please kindly let me know?
Best Regards
Hi,
my question was how to configure electrical parameters of the pin used with PWM, not the PWM itself,
the function qcom_pwm_port_set configures PWM and of course I am using it,
Best regards
Hi,
Please refer the below API's in SDK demo code.
qcom_pwm_control
qcom_pwm_sdm_set
qcom_pwm_port_set
To configure PWM pin to open drain with maximum current, need to change GPIO configuration in tunable file.
Thanks,
Hello
could you give please sample tunable lines?
I tried to alter the file, but I didn't notice any change, may be I was making an error.
Best regards