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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

11,123 次查看
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 项奖励
回复
2 回复数

11,110 次查看
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 项奖励
回复

11,105 次查看
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 项奖励
回复