Graphics suite and SSD1306 OLED, I2C or SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 8:05 AM - last edited on ‎2023-08-30 9: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.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 9: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 9: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-30 10:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-01 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-04 6:14 AM
Thanks for your replies, I'm not ready to test still though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
