I am attempting to use Andriy's driver on a i2c controlled 16 Character LED with 2 Lines.
The driver source is one file and I have copied it to a BeagleBone where I have a working i2c bus on /dev/iic1
I copied this source file into /usr/src/sys/dev/gpio/ on a Beaglebone with FreeBSD 13.1-RELEASE on eMMC.
Still need to compile it.
I have enabled pfc8574(4) per AVG's instructions:
I created an overlay for it after using
So what now?
Do I need to create an overlay for the 16x2 display?
This seems like they created a combined dts with pfc8574 i2c controller and hd44780 display.
Any thoughts? Do I need the overlay for hd44780 or will gpioled suffice?
What about I2C bus speed. I might enable another bus. I am using ds1307 now for test.
Should I use the fast bus overlay for the pfc8574? 400K or 100K clock freq?
The driver source is one file and I have copied it to a BeagleBone where I have a working i2c bus on /dev/iic1
GitHub - avg-I/gpiolcd: Utility for driving HD44780 character LCD via GPIO on FreeBSD
Utility for driving HD44780 character LCD via GPIO on FreeBSD - avg-I/gpiolcd
github.com
I copied this source file into /usr/src/sys/dev/gpio/ on a Beaglebone with FreeBSD 13.1-RELEASE on eMMC.
Still need to compile it.
I have enabled pfc8574(4) per AVG's instructions:
Recon Sentinel is Rock in a box.
Got my Rock64 in the mail today. eMMC and flasher left China too from Pine store. This Recon Sentinel is a nice implementation. Box, manual, AC Cord. Retail package. $40 new off ebay. https://hackaday.com/2020/11/16/teardown-recon-sentinel/ Flash uboot to SPI and FreeBSD to eMMC. Figure out...
forums.freebsd.org
I created an overlay for it after using
i2c -s -f /dev/iic1
to determine the i2c address in use by my module.
Code:
/ {
...
pcf8574@27 {
compatible = "nxp,pcf8574";
reg = <0x27>;
};
};
So what now?
Do I need to create an overlay for the 16x2 display?
This seems like they created a combined dts with pfc8574 i2c controller and hd44780 display.
pcf8574-hd44780-overlay/pcf8574-hd44780.dts at master · oniongarlic/pcf8574-hd44780-overlay
Overlay for Hitachi HD44780 LCDs connected trough PCF8574 I2C GPIO chip - oniongarlic/pcf8574-hd44780-overlay
github.com
Any thoughts? Do I need the overlay for hd44780 or will gpioled suffice?
What about I2C bus speed. I might enable another bus. I am using ds1307 now for test.
Should I use the fast bus overlay for the pfc8574? 400K or 100K clock freq?
bb.org-overlays/src/arm/BB-I2C1-FAST-00A0.dts at master · beagleboard/bb.org-overlays
Device Tree Overlays for bb.org boards. Contribute to beagleboard/bb.org-overlays development by creating an account on GitHub.
github.com
Last edited: