有哪位高手在MTK智能机MT6515上面点过16BIT的MCU接口显示屏?
需要修改那些地方?
是不是只要修改下面这些:
params->dbi.port = 0;
params->dbi.clock_freq = LCM_DBI_CLOCK_FREQ_104M;
params->dbi.data_width = LCM_DBI_DATA_WIDTH_16BITS;
params->dbi.data_format.color_order = LCM_COLOR_ORDER_RGB;
params->dbi.data_format.trans_seq = LCM_DBI_TRANS_SEQ_MSB_FIRST;
params->dbi.data_format.padding = LCM_DBI_PADDING_ON_LSB;
params->dbi.data_format.format = LCM_DBI_FORMAT_RGB565;
params->dbi.data_format.width = LCM_DBI_DATA_WIDTH_16BITS;
params->dbi.cpu_write_bits = LCM_DBI_CPU_WRITE_16_BITS;
params->dbi.io_driving_current = LCM_DRIVING_CURRENT_6575_4MA;
这个应该点过很多了吧,具体什么ic?
memset(params, 0, sizeof(LCM_PARAMS));
params->type = LCM_TYPE_DBI;
params->ctrl = LCM_CTRL_PARALLEL_DBI;
params->width = FRAME_WIDTH;
params->height = FRAME_HEIGHT;
params->io_select_mode = 0; //note:this para is different between 6573 and 6575
params->dbi.port = 0; //DBI port must be 0 or 1 on mt6575, should not be 2
params->dbi.data_width = LCM_DBI_DATA_WIDTH_16BITS;
params->dbi.data_format.color_order = LCM_COLOR_ORDER_RGB;
params->dbi.data_format.trans_seq = LCM_DBI_TRANS_SEQ_MSB_FIRST;
params->dbi.data_format.padding = LCM_DBI_PADDING_ON_LSB;
params->dbi.data_format.format = LCM_DBI_FORMAT_RGB565;
params->dbi.data_format.width = LCM_DBI_DATA_WIDTH_16BITS;
params->dbi.cpu_write_bits = LCM_DBI_CPU_WRITE_32_BITS;
params->dbi.io_driving_current = LCM_DRIVING_CURRENT_6575_8MA;
params->dbi.parallel.write_setup = 2;
params->dbi.parallel.write_hold = 2;
params->dbi.parallel.write_wait = 6;
params->dbi.parallel.read_setup = 3;
params->dbi.parallel.read_latency = 40;
params->dbi.parallel.wait_period = 0;
params->dbi.parallel.read_hold = 0;
params->dbi.parallel.cs_high_width = 0; //cycles of cs high level between each transfer
没有试过呢
已经找到问题,感谢!
怎么解决的?
学习下了。还真没有配置过!
怎么调试过的啊