SPI version of the ST 7920 GLCD

Post and discuss new components that you have created.
Post Reply
estevaon
Posts: 6
http://meble-kuchenne.info.pl
Joined: Tue Aug 29, 2023 7:42 pm
Been thanked: 1 time

Flowcode v10 SPI version of the ST 7920 GLCD

Post by estevaon »

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?

BenR
Matrix Staff
Posts: 1760
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 447 times
Been thanked: 607 times

Re: SPI version of the ST 7920 GLCD

Post by BenR »

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.

estevaon
Posts: 6
Joined: Tue Aug 29, 2023 7:42 pm
Been thanked: 1 time

Re: SPI version of the ST 7920 GLCD

Post by estevaon »

Hello BenR,

Yes, this pin (PSB) exists.

BenR
Matrix Staff
Posts: 1760
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 447 times
Been thanked: 607 times

Re: SPI version of the ST 7920 GLCD

Post by BenR »

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.

estevaon
Posts: 6
Joined: Tue Aug 29, 2023 7:42 pm
Been thanked: 1 time

Re: SPI version of the ST 7920 GLCD

Post by estevaon »

Thank's Ben, it will very useful. I'll test and report the results.

estevaon
Posts: 6
Joined: Tue Aug 29, 2023 7:42 pm
Been thanked: 1 time

Re: SPI version of the ST 7920 GLCD

Post by estevaon »

Hi BenR,

Unfortunately, the SPI mode doesn't work, squares appear instead of letters.

BenR
Matrix Staff
Posts: 1760
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 447 times
Been thanked: 607 times

Re: SPI version of the ST 7920 GLCD

Post by BenR »

Ok sounds like the write is maybe working but the read back isn't. I'll have another look at the code.

estevaon
Posts: 6
Joined: Tue Aug 29, 2023 7:42 pm
Been thanked: 1 time

Re: SPI version of the ST 7920 GLCD

Post by estevaon »

Thank's BenR

Post Reply