STM32F4 HD44780 LCD Driver

Al's picture

Just a quick update, I've uploaded a driver for HD44780 LCD modules (common on eBay and elsewhere) for the STM32F4 line of microcontrollers.

LCD commands are added to a queue and executed on a timer interrupt, freeing up the processor in-between.  Communication to the LCD is in 4 bit mode and the busy flag is polled so 7 GPIOs are used.  I've implemented commands to control the display, print characters and set the CGRAM,  yet to come is scrolling support.

I've tested it using an STM32F4 Discovery and a few 1, 2 and 4 line displays.

More details here.


Click to view comments

Click to add a comment