Skip to main content
Qsdxkh
Associate II
January 23, 2023
Question

ST7920 GLCD with STM32F401RE via I2C

  • January 23, 2023
  • 2 replies
  • 1363 views

Im trying to use ST7920 GLCD with STM32F401RE with I2C connection, im still new with programming so im trying to find a library when using I2C, most videos and libraries i found are for SPI connections.

if anyone has a library pls help thank you

This topic has been closed for replies.

2 replies

Foued_KH
ST Employee
January 23, 2023

Hello @Qsdxkh​ ,

Please find attached the driver of ST7920 GLCD.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
S.Ma
Principal
January 23, 2023

Here is an example of I2C by bit bang with a single API to drive most slaves, includes error recovery.

If you can convert the SPI functions into the I2C equivalent (and if the driver is well designed for it), then you should be out of the woods.