2020-01-30 03:29 PM
Hello to all friends..
I ask for help to work with a 240x64 GLCD display with an STM32F103ZET6 microcontroller.
He tried to make different code but none works correctly.
Does any partner have any functional libraries?.
I look forward to your help.
Thanks you very much.
Best regards
2020-01-30 03:56 PM
Far too generic naming. Link to a datasheet or Web page for specific screen and driver IC you're talking about.
I2C, SPI, PARALLEL?
2020-01-30 04:26 PM
T6963C-based?
http://en.radzio.dxp.pl/t6963/ is not for STM32, but quite cleanly written and should be relatively easy to port.
JW
2020-01-31 12:39 AM
Sorry for not putting the model.
It is for the T6963C model.
I have already modified the code of http://en.radzio.dxp.pl/t6963/ and it does not work correctly.
Text and drawings on the LCD are messy.
Is there no way to get a T6963C functional library for STM32?
Thanks you very much.
Best regards
2020-01-31 01:28 AM
> I have already modified the code of http://en.radzio.dxp.pl/t6963/ and it does not work correctly.
> Text and drawings on the LCD are messy.
Looks relatively easy to port. I have worked with less/worse.
Just start from the base - first verify all hardware connections, then the low-level read and write access, and later high-level functions for drawing.
One step a time.
2020-01-31 01:55 AM
> Text and drawings on the LCD are messy.
OK so if you have it half-working, debug as usually. Check all hardware connections (e.g. bad solder joints, bad connections, shorts, swapped pins), check if your assumptions in software are correct (e.g. the 6-column vs. 8-column mode of the controller, clock/crystal of controller versus timing), check timing (observe by oscilloscope and compare to datasheet).
Try to qualify "messy" and think about it in terms of possible sources (e.g. "one of 6/8 columnts does not light up - can't this be problem with one of the databits being stuck to 0?)
JW
2020-01-31 02:24 AM
Hi and thanks for your answer
I have checked the hardware correctly.
I have verified PIN to PIN that the signals arrive correctly on the LCD.
I also checked the code in case there was an error in any bit but I can't find anything to prove the error.
This is my result: