MAX1233/MAX1234触摸屏控制器入门
[09-13 17:05:19] 来源:http://www.88dzw.com 控制技术 阅读:8648次
文章摘要:表11. 纠正触摸屏连接问题 SymptomCorrectionTouch coordinates are mirrored top-to-bottomSwap the Y+ and Y- connectionsTouch coordinates are mirrored left-to-rightSwap the X+ and X- connectionsTouch coordinates are rotated 180 degreesSwap the X+ and X- connections, and swap the Y+ and Y- connectionsTouch coordin
MAX1233/MAX1234触摸屏控制器入门,标签:计算机控制技术,工厂电气控制技术,http://www.88dzw.com表11. 纠正触摸屏连接问题
Symptom | Correction |
Touch coordinates are mirrored top-to-bottom | Swap the Y+ and Y- connections |
Touch coordinates are mirrored left-to-right | Swap the X+ and X- connections |
Touch coordinates are rotated 180 degrees | Swap the X+ and X- connections, and swap the Y+ and Y- connections |
Touch coordinates are mirrored diagonally | Swap the X+ and Y+ connections, and swap the X- and Y- connections |
Touch coordinates do not seem to track, and the distortion is not a simple flip/rotate/mirror transformation | Swap the X+ and Y+ connections; if distortion persists, swap the X+ and Y- connections; if distortion still persists, disconnect touch screen and use DVM to verify X+ to X- resistance and Y+ to Y- resistance; verify with no touch X+ and X- are isolated from Y+ and Y- |
3.4) 检测触摸屏的操作:根据需要扫描
在配置MAX1234检测触摸屏操作,根据需要数字化接触屏的位置时,写入寄存器0x40 (ADC控制),其PENSTS=0,ADSTS=0 (请参考MAX1233/MAX1234数据资料的表6)。读取寄存器0x00 (X轴)后,检测到后续的触摸屏操作时,/PENIRQ信号锁存至低电平,在写入ADC控制寄存器测量X、Y轴之前,保持低电平。表12. 触摸屏检测命令序列:根据需要扫描
DEMO1234 Command |
Action | SPI data in |
Verification |
T W AC 0b01 |
Demand scan | 0x0040 0x0b01 |
|
T R AX |
Read conversion result register X | 0x8000 0x0000 |
|
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 1 | |
Touch the touch screen | |||
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 0 | |
T M2 |
Measure X,Y,Z1,Z2 | 0x0040 0x0b01 0x8000 0x0000 0x8001 0x0000 0x8002 0x0000 0x8003 0x0000 |
|
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 1 | |
Touch and hold the touch screen | |||
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 0 | |
T M2 |
Measure X,Y,Z1,Z2 | 0x0040 0x0b01 0x8000 0x0000 0x8001 0x0000 0x8002 0x0000 0x8003 0x0000 |
|
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 0 | |
T M2 |
Measure X,Y,Z1,Z2 | 0x0040 0x0b01 0x8000 0x0000 0x8001 0x0000 0x8002 0x0000 0x8003 0x0000 |
|
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 0 | |
Release the touch screen | |||
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 0 | |
T M2 |
Measure X,Y,Z1,Z2 | 0x0040 0x0b01 0x8000 0x0000 0x8001 0x0000 0x8002 0x0000 0x8003 0x0000 |
|
P R 6 |
Read PENIRQ-bar pin status | PENIRQ = 1 |
上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] 下一页
Tag:控制技术,计算机控制技术,工厂电气控制技术,控制技术
《MAX1233/MAX1234触摸屏控制器入门》相关文章
- › MAX139构成的数字电压表电路图
- › MAX1916输出并联电路图
- › MAX1458的电桥激励电路图
- › MAX1595驱动白光LED电路图
- › MAX1912驱动白光LED电路图
- › MAX1577V/MAX1577Z驱动白光LED电路图
- 在百度中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在谷歌中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在soso中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
- 在搜狗中搜索相关文章:MAX1233/MAX1234触摸屏控制器入门
分类导航
最新更新