用V3S的BSP,修改fex如下
[ctp_para]
ctp_used = 1
ctp_name = "tsc2007"
ctp_twi_id = 0
ctp_twi_addr = 0x90
ctp_screen_max_x = 800
ctp_screen_max_y = 480
ctp_revert_x_flag = 0
ctp_revert_y_flag = 0
ctp_exchange_x_y_flag = 1
ctp_int_port = port:PB02<6><default><default><default>
;ctp_int_port = port:PG04<6><default><default><default>
;ctp_wakeup = port:PG03<1><default><default><1>
重新编译下载后显示
[ 0.032039] twi_chan_cfg()341 - [twi0] has no twi_speed!
[ 0.032066] twi_chan_cfg()352 - [twi0] has no twi_regulator.
[ 0.032094] twi_chan_cfg()341 - [twi1] has no twi_speed!
[ 0.032117] twi_chan_cfg()352 - [twi1] has no twi_regulator.
QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
Please check your tslib installation!
启用ts_calibration 显示
ts_setup: No such file or directory
离线
不是没有加变量的问题,貌似是TWI驱动的问题,不知道BSP如何修改
离线
好像不是这里改, 我刚刚搞定了 SPI 触摸屏芯片ADS7846 接 V3s, 全志Linux3.4
离线