chimei LCD can't work.

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

chimei LCD can't work.

2,738 次查看
jackliu
Contributor I

Hi, Mr. / Ms.

   Lcd can't work , i upload the LCD spec , can't you tell me what should be change .

   we use imx6dl project .

Thanks.

标签 (2)
0 项奖励
回复
10 回复数

2,433 次查看
jackliu
Contributor I

BSP i.MX 6 (DL).  and there is no log about this part

0 项奖励
回复

2,433 次查看
jimmychan
NXP TechSupport
NXP TechSupport

There are different BSP for i.MX6. Please see this web page.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW

Please let me know which BSP are you using and please tell me how the LCD not work.

0 项奖励
回复

2,433 次查看
jackliu
Contributor I

We are use i.MX6DL: i.MX 6DualLite Proces   and there is no valid kernel log in this part .

By the way , we are use 4 line data

******************** boot parmeter

console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.serialno=0a2049d4df644f5a

0 项奖励
回复

2,433 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Attached is a porting guide. Please see the Chapter 6 for the LVDS porting.

0 项奖励
回复

2,433 次查看
jackliu
Contributor I

Hi, jimmy:

   can you help us to change the parameter cause this is first time to use this platform.

Thanks.

0 项奖励
回复

2,433 次查看
saurabh206
Senior Contributor III

Hi,

Jack

Have you tried to set up ldb_data.transfer_mode = LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;

Saurabh

0 项奖励
回复

2,433 次查看
jackliu
Contributor I

hi, Patel:

   I can't find ldb_data.transfer_mode in our code , can you let me know which file i can change it . now our driver use ldb.c

   Only place i can find set LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG is in ldb.c . the code is :

  /* TODO: now only use SPWG data mapping for both channel */

  reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);

  reg |= LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;

Thanks.

0 项奖励
回复

2,432 次查看
saurabh206
Senior Contributor III

Hi,

Jack

You can set

reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);

reg |= LDB_BIT_MAP_CH0_SPWG | LDB_BIT_MAP_CH1_SPWG;

or

reg &= ~(LDB_BIT_MAP_CH0_MASK | LDB_BIT_MAP_CH1_MASK);

reg |= LDB_BIT_MAP_CH0_JEIDA | LDB_BIT_MAP_CH1_JEIDA;

According to your panel.

0 项奖励
回复

2,432 次查看
saurabh206
Senior Contributor III

#define LDB_BIT_MAP_CH1_JEIDA 0x00000100

#define LDB_BIT_MAP_CH0_JEIDA 0x00000040

0 项奖励
回复

2,432 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Which BSP are you using? Any log message show how it cannot work?

0 项奖励
回复