hello,
I want to use K25 and N25 pin as PWM. please suggest how can i configure it ?
Thank you.
Chintan
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.
hello,
I want to use K25 and N25 pin as PWM. please suggest how can i configure it ?
Thank you.
Chintan
Hi Andreas,
Please give me update as soon as possible. I am waiting.
Thank you,
Chintan
Hello Chintan,
What are you actually trying to do here?
for example:
1) Use the ECAP/PWM instance that exists within the PRUSS: You need to use the PR0_ECAP0_IN_APWM_OUT signal, NOT a PRUx_GPI/GPO signal. Reference the datasheet.
2) Use one of the ECAP/PWM instances in the main domain (outside of the PRUSS): you need to use a different signal than the ones listed for the K25 / N25 pins. Reference the datasheet.
3) Use one of the PRU cores to manually write a PWM pattern to one of the PRU GPO signals: Then yes, you can pinmux K25 / N25 to the appropriate PR0_PRU0_GPOXX value. However, please note that you will also need to write your own PRU code in this case.
Please note that as of SDK 8.6, we have only enabled the AM62x Linux PWM driver for the 3 PWM instances in the main domain. Reference https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/08_06_00_42/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PWM.html
Regards,
Nick