Thank you again. While I was disabling HDMI (both audio and video, just for 
good measure) in */boot/uEnv.txt*, I noticed that I had incorrectly 
disabled the universal cape earlier. What I did was to change the value 
from one to zero as follows...

###Cape Universal Enable
enable_uboot_cape_universal=0

...but I should have commented the line out like this...

###Cape Universal Enable
#enable_uboot_cape_universal=1

So now the *pwm_cap* example is working on both P9_28 and P9_42.

Don

On Sunday, March 3, 2019 at 5:27:58 PM UTC-5, RobertCNelson wrote:
>
> On Sun, Mar 3, 2019 at 4:10 PM <[email protected] <javascript:>> wrote: 
> > 
> > Thank you for looking at this. Output of the command you requested... 
> > debian@beaglebone:/usr/share/doc/libpruio-dev/examples$ sudo 
> /opt/scripts/tools/version.sh 
> > git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7] 
> > eeprom:[A335BNLTEIA00917BBBK4F44] 
> > model:[TI_AM335x_BeagleBone_Black] 
> > dogtag:[BeagleBoard.org Debian Image 2018-10-07] 
> > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> 2018.09-00002-g0b54a51eee]:[location: dd MBR] 
> > kernel:[4.14.71-ti-r80] 
> > nodejs:[v6.17.0] 
> > uboot_overlay_options:[enable_uboot_overlays=1] 
> > 
> uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
>  
>
> > uboot_overlay_options:[enable_uboot_cape_universal=0] 
> > pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
> <pkg>] 
> > pkg:[bb-cape-overlays]:[4.4.20190227.0-0rcnee0~stretch+20190227] 
> > pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0~stretch+20190227] 
> > pkg:[kmod]:[23-2rcnee1~stretch+20171005] 
> > pkg:[librobotcontrol]:[1.0.4-git20190107.0-0rcnee0~stretch+20190108] 
> > pkg:[firmware-ti-connectivity]:[20180825+dfsg-1rcnee1~stretch+20181217] 
> > groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
> plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep 
> admin spi tisdk weston-launch xenomai pruio] 
> > cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
> root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
> net.ifnames=0 quiet] 
> > dmesg | grep pinctrl-single 
> > [    1.122289] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 
> size 568 
> > dmesg | grep gpio-of-helper 
> > [    1.134289] gpio-of-helper ocp:cape-universal: ready 
> > END 
> > debian@beaglebone:/usr/share/doc/libpruio-dev/examples$ 
> > 
> > I also tried P9_28 since I believe that is the other pru eCAP pin. I got 
> the following error... 
> > debian@beaglebone:/usr/share/doc/libpruio-dev/examples$ sudo ./pwm_cap 
> > failed setting input @P_IN (pin P9_28 claimed by: 48038000.mcasp) 
>
> Okay, P9_28 makes more sense, disable the 'audio' part of hdmi.. 
>
> disable_uboot_overlay_audio=1 
>
> 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/ce87719b-32ca-47b6-abff-87dad60453de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to