2023-08-30 08:05 AM - last edited on 2023-08-30 09:35 AM by Amel NASRI
Will the TouchGFX and STM Cube IDE let me work with SSD1306 devices? If so how much memory space will I need per image and overall space to run it? The images will be 128x64 pixels. Which range of ST microcontrollers can be used for this?
The labels allowed for this post were not relevant, so ignore the "EEPROM devices"
Solved! Go to Solution.
2023-08-30 09:11 AM
The SSD130x displays are workable with every STM32 model/family
ST doesn't sell them or use them in many products, perhaps seen a handful on an IoT or Modem boards. Don't expect them to build TouchGFX libraries / drivers for them.
The screen buffer is a pretty simple monochrome bit map at 128x64, that would be 1KB. Was dealing with more complex screens in secondary school.
TBH I think TouchGFX is overkill, there's probably BSP example code you could use for painting lines, draw circles, or write text fonts.
2023-08-30 09:11 AM
The SSD130x displays are workable with every STM32 model/family
ST doesn't sell them or use them in many products, perhaps seen a handful on an IoT or Modem boards. Don't expect them to build TouchGFX libraries / drivers for them.
The screen buffer is a pretty simple monochrome bit map at 128x64, that would be 1KB. Was dealing with more complex screens in secondary school.
TBH I think TouchGFX is overkill, there's probably BSP example code you could use for painting lines, draw circles, or write text fonts.
2023-08-30 10:47 AM
2023-09-01 01:56 PM
I would recommend using u8g2 lib for this. It is lightweight, can be set to use full buffer and page buffer, have lots of fonts.
2023-09-04 06:14 AM
Thanks for your replies, I'm not ready to test still though.
2023-09-05 11:26 PM
I've gone for a popular library on Github by Aleksander Alekseev, stm32-ssd1306-master. This has let me operate graphics code quite easily and text. There is a video on YouTube for this which leaves out the graphics for some reason.