Part Number:BEAGLEBK
Tool/software: Linux
Hi,
I have implemented a pwm on a pin. However the polarity is wrong on boot up. When setting up the pwm pin mode in the dts file selecting PIN_OUTPUT_PULLUP makes no difference. A possible solution is to program the pin as GPIO with pullup in the dts. Let the application change the mode to pwm and enable the pwm with 100% duty cycle. Can you direct me to any information to program the pin mode in runtime/ userspace
dts
AM33XX_IOPAD(0x950, PIN_OUTPUT_PULLUP | MUX_MODE3) // pwm but boot up polarity wrong
or
AM33XX_IOPAD(0x950, PIN_OUTPUT_PULLUP | MUX_MODE7) // programmed as gpio with polarity high, but how can I change the pin mode after boot?
best regards
other info
ti SDK 5.00.00.15
ti SDK 4.02.00.09
beaglebone black