cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx monochrome simple example?

Msolinas
Senior

Assuming that it is clear at the operational level on the firmware and hardware how to create the driver and fill a buffer on a monochrome display, but the real question is how to work on the monochrome gui? does anyone have experience with it? and then why are there no examples? today it is possible to find decent monochrome displays with 240x128 pixels and with scala 4 and 16 colors, but why are they not taken into consideration? I work in the industrial field and these displays are irreplaceable for robustness and readability even for critical devices. Why are there no examples? I'll start by saying that I've been looking for it for years and today I did it again after a long time and I continue to realize that nothing exists... some enlightened person enlighten me.

5 REPLIES 5
GaetanGodart
ST Employee

Hello @Msolinas ,

 

We do not provide monochrome examples because we do not have any monochrome display on the STM32 discovery boards or our partners displays.

However, you can create a project in TouchGFX Designer, select the Simulator (not a board) and before creating you can choose the bpp :

GaetanGodart_0-1744103160826.png

Here 4 bit is monochrome.

Then you can either create your own GUI or go into "Edit" => "Import" => "GUI" and select something simple like a text example.

 

Regards,

 

Gaetan Godart
Software engineer at ST (TouchGFX)
GaetanGodart
ST Employee

Hello @Msolinas ,

 

Have you been able to move forward on your project?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

No, thanks for your interest, I have millions of things to see as a consultant and I had to set up a new project for a client. Clearly I have enough experience on GFX and color displays and I do not want to undertake an undertaking and set everything up on something that I cannot test a priori even with some trivial example. I have to design hardware and much more and I do not want to risk ending up like a mouse in a trap. And so my answer is frustrated and is no, I have not done anything in this direction.

 

example, how to work with 128240D-FC-BW-3 ?? 32 gray scale monochromatic RS:146-1599. how to make button, picture? I need to do everyting myself with photoshop? how to organize project, not only resources??

 

Hello @Msolinas ,

 

I don't know what you mean by gray 32. You can select gray 4 in STM32CubeMX : 

GaetanGodart_0-1747657056484.png

This way, your framebuffer will be in gray 4 format, you just  have to make sure your display is set to gray 4.

 

If you have assets without color in your GUI, you can build your project and TouchGFX Image Generator will convert your image.
Otherwise you can create your own assets in the correct format.

 

Have you seen this thread : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/how-to-configure-touchgfx-with-a-monochrome-lcd-on-fmc/td-p/583195

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)