SAC57D54 Problem on Graphics Output to TFT LCD using openVG and EGL. "eglSwapBuffers"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SAC57D54 Problem on Graphics Output to TFT LCD using openVG and EGL. "eglSwapBuffers"

11,121 Views
johnkevintoral
Contributor II

Hi Support Team, 

I have designed custom board with SAC57D54 MCU. Below are the progress details done:

        -Initialized Core m4 and A5 correctly with appropriate clock frequencies. 

        -External SDRAM initialized.

        -Major peripherals are working like uart, gpio, adc, etc.

        -Debugger: PEMicro Multilink FX

        -S32DS for ARM IDE

Main problem is on the graphics using OpenVG and EGL. No output is available on the 30 pin RGB Screen. The screen is working using other hardware. I have attached sample code where problem arise from the "eglSwapBuffers(disp, surf)". No other error is encountered within the code like check error. 

Below example of source code is patterned from example application to 516bga type. I am using LQFP208 type but this should work. 

Would appreciate some inputs and which area should I look into/check more. 

Regards, 

Johny

0 Kudos
Reply
2 Replies

11,108 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

What error launch in the console? is probably that the LCD is not connected or in a bad state. Since I do not see anything wrong in your code.

Regards

0 Kudos
Reply

11,103 Views
johnkevintoral
Contributor II

Hi @Bio_TICFSL 

thank you for your input, the LCD is okay - I have tested this with another evaluation board. 

I have already cleared the errors so there is no log with the codes of check errors from the source file.

 

As observed, the MCU stops at eglSwapBuffer function. To my understanding, the buffer cannot he updated in the sdram memory where the graphics are stored temporarily/volatile. But i think i have iniitialized the sdram correctly. Please have inputs on this.

 

regards,

0 Kudos
Reply