Hello,
I'm using a ST 7920 GLCD in a project, but it doesn't works in parallel mode ( and use too many pins), I'ts possible to create a SPI version to this component?
SPI version of the ST 7920 GLCD
-
- Posts: 6
- http://meble-kuchenne.info.pl
- Joined: Tue Aug 29, 2023 7:42 pm
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: SPI version of the ST 7920 GLCD
Hello,
Yes looks possible, on your display do you have access to the pin (PSB) that sets if the display has a parallel or serial interface? This is often the limiting factor.
Yes looks possible, on your display do you have access to the pin (PSB) that sets if the display has a parallel or serial interface? This is often the limiting factor.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: SPI version of the ST 7920 GLCD
Great, I've made the change to the component to allow it to be configured as an SPI mode. I've not tested it so let us know how you get on.
The latest version is now available via the Help -> Library updates.
The latest version is now available via the Help -> Library updates.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: SPI version of the ST 7920 GLCD
Thank's Ben, it will very useful. I'll test and report the results.
Re: SPI version of the ST 7920 GLCD
Hi BenR,
Unfortunately, the SPI mode doesn't work, squares appear instead of letters.
Unfortunately, the SPI mode doesn't work, squares appear instead of letters.
-
- Matrix Staff
- Posts: 1786
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 455 times
- Been thanked: 621 times
Re: SPI version of the ST 7920 GLCD
Ok sounds like the write is maybe working but the read back isn't. I'll have another look at the code.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel