迪文科技论坛

 找回密码
 立即注册
搜索
查看: 185|回复: 1

[Question]UART serial communication problem

[复制链接]

9

主题

19

回帖

226

积分

中级会员

Rank: 3Rank: 3

积分
226
发表于 2024-2-19 17:26:58 | 显示全部楼层 |阅读模式
Hello friends
Currently I am using dmg80480c070_04wtr screen, this screen I have set to TTL mode and has 4 pins TX2, RX2, TX4, RX4
I cannot interface UART pin TX2 and RX2 or pin TX4 and RX4 pin with TX0 and RX0 pin of Mega 2560 board
I have connected 5V power to LCD
The LCD's GND is connected to the Mega2560 Circuit
I connected the TX2 LCD pin to the RX0 Mega 2560
LCD RX2 pin I connect to TX0 Mega 2560
I use the software DGUS_V7647
- If I interface Mega 2560 with LCD using USB HDL662B at data transfer rate 9600 on the computer, it turns on and off. Relay
- But if I communicate at 9600 or 115200 speed on LCD, I cannot turn Relay on or off.
- I also set up T5LCFG file but it still doesn't work
- Below are some pictures that I took, and the program I wrote, I can't figure out what the cause is.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0

主题

318

回帖

3769

积分

论坛元老

Rank: 8Rank: 8

积分
3769
发表于 2024-2-19 18:11:20 | 显示全部楼层
本帖最后由 dw涂涂 于 2024-2-19 18:23 编辑

Hello, you can use USB HDL662B to connect the LCD to the computer. After installing the driver, use a serial port tool to issue a command to read the version number. If there is a response, it indicates normal communication. The attachment includes serial port tools and drivers; If there is no response, it indicates abnormal communication. You can flash the CFG file provided in the attachment and test the communication again

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2024-12-28 16:40 , Processed in 0.067118 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表