Skip to main content
DRAME.1
Associate III
October 21, 2020
Question

DISPLAY PROGRAMMING CODE AND READ WRITE PROGRAMMING

  • October 21, 2020
  • 2 replies
  • 1472 views

Hi Team 

I am using STM32H7B31-DK

I want to use display that is on the board and show my print messages on the screen I see that 

i want an application code that helps me to send the print messages data to the LCD on the board 

i see that there is nothing like LCD read and write functions similar to UART

Please help me out how to use this code and initialize the display and send my print messages 

I see that LTDC that is enabled on my board ia m not sure how to use this and display my messages or any apis

Thank you

Deepak R 

This topic has been closed for replies.

2 replies

Pavel A.
Super User
October 22, 2020

Look in Cube examples for Discovery - like boards with LCD. The BSP drivers for these boards can draw text.

-- pa

DRAME.1
DRAME.1Author
Associate III
October 22, 2020

Can you please share those examples I see that these examples does not have a IOC extension files to enable other features like RTos

I need rtos combined with display example

Tesla DeLorean
Guru
October 22, 2020

Thing is that the display doesn't work like a UART. The ​frame buffer is full of pixels, like a bitmap file, text has to be draw from a font table, and a pointer into the display advanced. Once the available space has been exhausted the frame buffer needs to be scrolled up a line to allow a new one to be started/filled.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
DRAME.1
DRAME.1Author
Associate III
October 22, 2020

I am planning to use an external power supply instead of stlink cable so I am not sure if usart still works to get the logs if I change the pin configuration hence thought of using display to see the text

can you please guide me a way so that I still get the logs but use a different power supply (I.e from a battery device instead of USB ) I hope this works if I use power supply from arduino

Tesla DeLorean
Guru
October 22, 2020

If board has ​MicroSD card or eMMC one could log data to those.

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