米尔国产方案 发表于 2024-3-3 11:54:32

T113对接RGB888屏如何使用CAN总线

T113处理器的RGB接口配置为24bit模式RGB888时,CAN总线的IO就被复用为RGB的数据位了。这种方式用不了CAN总线。


此时需要牺牲颜色灰度,让其工作在RGB666模式,如下表:

T113 RGB666屏RGB888变成RGB666的接线方法:把低3位短接一起
CAN0-TX0
CAN0-RX0
LCD-D2B2、B1、B0
LCD-D3B3
LCD-D4B4
LCD-D5B5
LCD-D6B6
LCD-D7B7
CAN1-TX0
CAN1-RX0
LCD-D10G2、G1、G0
LCD-D11G3
LCD-D12G4
LCD-D13G5
LCD-D14G6
LCD-D15G7
TWI3_SCK
TWI3_SDA
LCD-D18R2、R1、R0
LCD-D19R3
LCD-D20R4
LCD-D21R5
LCD-D22R6
LCD-D23R7


如果屏原来就是RGB666,见下表:

T113 RGB666屏RGB666
CAN0-TX0
CAN0-RX0
LCD-D2B2
LCD-D3B3
LCD-D4B4
LCD-D5B5
LCD-D6B6
LCD-D7B7
CAN1-TX0
CAN1-RX0
LCD-D10G2
LCD-D11G3
LCD-D12G4
LCD-D13G5
LCD-D14G6
LCD-D15G7
TWI3_SCK
TWI3_SDA
LCD-D18R2
LCD-D19R3
LCD-D20R4
LCD-D21R5
LCD-D22R6
LCD-D23R7



如果屏是RGB565,见下表:

T113 RGB565屏RGB565
CAN0-TX0
CAN0-RX0
TWI0_SCK
LCD-D3B3
LCD-D4B4
LCD-D5B5
LCD-D6B6
LCD-D7B7
CAN1-TX0
CAN1-RX0
LCD-D10G2
LCD-D11G3
LCD-D12G4
LCD-D13G5
LCD-D14G6
LCD-D15G7
TWI3_SCK
TWI3_SDA
TWI0_SDA
LCD-D19R3
LCD-D20R4
LCD-D21R5
LCD-D22R6
LCD-D23R7


页: [1]
查看完整版本: T113对接RGB888屏如何使用CAN总线