Hi community,anybody out there ever programmed the Newhaven LCD on the Altera SoC (Cyclone V) DevKit baremetal? If I didn't miss something Altera's hwlib doesn't provide support for I2C (not to mention support for the LCD). As I'm not a linux expert the linux i2c driver isn't very helpfull either. If someone could give me a hint where to look for a starting point, that would be really great. Thanks a lot for your support!
Hi,I want to give you some hints to get it running. it's not very difficult to get it running on a baremetal system. You can still use the hwlib. There is a headerfile called alt_i2c.h. This file contains a lot of definitions, needed to implement an i2c driver for your application. To write something to the LCD you have to do the following steps: first step: you need to write an init-function for the i2c interface. here you have to do the following steps: