On Tue, Jul 18, 2017 at 1:54 PM, maxmike <[email protected]> wrote: > I have cape-universal set up: > > 0: PF---- -1 > 1: PF---- -1 > 2: PF---- -1 > 3: PF---- -1 > 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,univ-emmc > > root@beaglebone:~# config-pin -q p8.13 > P8_13 Mode: pwm > > So I configure pwm for pwmchip4 : > > sh -c "echo 0 > /sys/class/pwm/pwmchip4/export" > > and now I have duty_cycle, period, etc in: > /sys/devices/platform/ocp/48304000.epwmss/48304200.pwm/pwm/pwmchip4/pwm0 > > When the machine reboots all that is gone. Why?
Setup a script to setup your settings on bootup: https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgA-jVgWYtwtpt%2BnSTp%3Dprebgtb%2BhqfDovZn_WTzrnc0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
