Skip to main content
LMI2
Senior III
June 11, 2018
Question

Whole screen version of Applications\LibJPEG example?

  • June 11, 2018
  • 3 replies
  • 706 views
Posted on June 11, 2018 at 22:16

I have 746 Discovery board, I want to show whole screen JPG images with it. Applications\LibJPEG example only shows partial screen and it crashes with larger.

Do you know how to use larger images with the board. There wasn't any obvious way to make larger images work.

    This topic has been closed for replies.

    3 replies

    ST Technical Moderator
    June 12, 2018

    Posted on June 12, 2018 at 12:43

     Hello Michael.Lei,

    Determining the framebuffer memory size and its location is a key parameter for the display compatibility check.

    The required size of the framebuffer depends on the resolution and color depth of the display.

    Please, review the 'Table 9. Framebuffer size for different screen resolutions' in the Application note LCD-TFT display controller (LTDC) on STM32 MCUs: https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/ca/f9/b4/ae/fc/4e/1e/DM00287603/files/DM00287603.pdf/jcr:content/translations/en.DM00287603.pdf.

    With Regards,

    Imen.

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    LMI2
    LMI2Author
    Senior III
    June 12, 2018
    Posted on June 12, 2018 at 16:33

    I read the application note. And one thing came to my mind, namely is there a whole example or application where that code is used. It is much easier when there is a whole working code to modify. At least LibJpeg application did not have the same calls as in AN4861 when I searched.

    By the  way, was there a demo code for the STM32F746 Discovery showing whole screen jpgs but without  any OSs.

    Regards

    Leif