cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 and GLCD240x64

DGonc
Associate II

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

6 REPLIES 6

Far too generic naming. Link to a datasheet or Web page for specific screen and driver IC you're talking about.

I2C, SPI, PARALLEL?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

T6963C-based?

http://en.radzio.dxp.pl/t6963/ is not for STM32, but quite cleanly written and should be relatively easy to port.

JW

DGonc
Associate II

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

> 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.

> 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

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:

0690X00000BxAW9QAN.jpg