SPI version of the ST 7920 GLCD
-
- Posts: 13
- http://meble-kuchenne.info.pl
- Joined: Tue Aug 29, 2023 7:42 pm
- Has thanked: 4 times
- Been thanked: 4 times
Re: SPI version of the ST 7920 GLCD
Hi BenR, I made the tests but unfortunately it isn't working.
- Attachments
-
- ST7920_2.jpeg (48.4 KiB) Viewed 6701 times
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: SPI version of the ST 7920 GLCD
Hello,
Ok it looks like the MISO pin isn't working for whatever reason. I'll add a buffered mode to the component so we don't need to rely on the readback for the display to function. The buffer will consume a bit of RAM - 1KB for a 128 x 64 pixel display.
Ok it looks like the MISO pin isn't working for whatever reason. I'll add a buffered mode to the component so we don't need to rely on the readback for the display to function. The buffer will consume a bit of RAM - 1KB for a 128 x 64 pixel display.
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: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: SPI version of the ST 7920 GLCD
Right I've pushed a new version to the library updates with a new Local Buffer property, just make sure this is set to yes and fingers crossed no more corruption on your display. The X,Y coordinate system is interesting (a mess) on these displays so fingers crossed I've payed it proper attention and got it right.
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
Hi Benr! Thank you for your effort, it didn't work by a thread. The option local buffer made the diference but errors persist.
- Attachments
-
- ST_7920_3.jpeg (47.36 KiB) Viewed 6660 times
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: SPI version of the ST 7920 GLCD
Hello,
Aha many thanks. I may have spotted my mistake, you can only directly address every even data byte and I had addressed the odd byte the wrong way. Hopefully it will be better now.
Aha many thanks. I may have spotted my mistake, you can only directly address every even data byte and I had addressed the odd byte the wrong way. Hopefully it will be better now.
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