I am trying to implement the 1-Wire protocol to read a DS18B20 temperature sensor on the PocketBeagle. So far I have been able to correctly read the temperature on a BeagleBone Black (BBB) using the following guide:
I changed the .dts file below to use the same GPIO port on the BBB (P8.11 - GPIO45) as on the PocketBeagle (P2.33 - GPIO45) on line 19 and added the missing semicolon on line 37. I checked the GPIO offset for both of these pins and they are the same, so it should be the same signal.
Give this a shot:
In fragment 0, we drop the cape-universal pinmux for P2_33, this
free's up the pin for dedicated functions.
In fragment 1, no change
In fragment 2, &gpio2 -> &gpio1
I cant help you with a pocket beagle but i can help.
dont reflash. put a bootable SD card in boot and mount the emmc
mount -t ext4 /dev/mmcblk1p1 /mnt/emmcext
comment out the offending line in your uEnv.txt file
No eMMC on the PocketBeagle..