迪文科技论坛

 找回密码
 立即注册
搜索
12
返回列表 发新帖
楼主: 小么小二郎

【提问】关于标准屏的UART2和UART4的问题

[复制链接]

4

主题

134

回帖

3001

积分

论坛元老

Rank: 8Rank: 8

积分
3001
发表于 2020-8-13 09:15:20 | 显示全部楼层
小么小二郎 发表于 2020-8-12 17:43
板子上没看到TTL转232芯片啊,旁边那个14pin芯片不是吧

就是那个14pin的86芯片
回复

使用道具 举报

10

主题

20

回帖

99

积分

注册会员

Rank: 2

积分
99
 楼主| 发表于 2020-8-13 10:39:52 | 显示全部楼层
xiangliverygood 发表于 2020-8-13 09:15
就是那个14pin的86芯片

哇 真的是,VHC86不是个异或门吗  怎么做TTL转232的  很好奇,自己做板子想参考下
回复

使用道具 举报

4

主题

134

回帖

3001

积分

论坛元老

Rank: 8Rank: 8

积分
3001
发表于 2020-8-13 14:36:53 | 显示全部楼层
小么小二郎 发表于 2020-8-13 10:39
哇 真的是,VHC86不是个异或门吗  怎么做TTL转232的  很好奇,自己做板子想参考下 ...

应该就是这个原理,可以实现双向电平转换。
此电路的好处是可以通过S1来选择是 TTL还是 232 ,缺点应该是距离比电荷泵的小点。
适用于通信距离较近的场合。功耗应该比电荷泵式的低,考虑低功耗设计的也可以选择。

本帖子中包含更多资源

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

x
回复

使用道具 举报

11

主题

31

回帖

286

积分

中级会员

Rank: 3Rank: 3

积分
286
发表于 2020-8-22 15:31:57 | 显示全部楼层
真正的小白啊 发表于 2020-8-12 16:04
第一问,选择232输出以后。串口2的输出就是232电平。但是这个和串口4不影响的,您这边可以选择启用串口4 ...

Please.
Tell me how i can enable or disable port 4 or port 2?
I really need that,
I can find any documentation explaining that.
Thank you   
回复

使用道具 举报

11

主题

31

回帖

286

积分

中级会员

Rank: 3Rank: 3

积分
286
发表于 2020-8-22 15:38:58 | 显示全部楼层
One more thing,
How i can configure my display to use UART2 for out going commands and UART4 for in coming commands?
Please help me.
Thank you
回复

使用道具 举报

发表于 2020-8-22 16:19:56 | 显示全部楼层
Mark20 发表于 2020-8-22 15:38
One more thing,
How i can configure my display to use UART2 for out going commands and UART4 for in  ...

UART2 and UART4 are selected according to their own wiring. In general, RX2 and TX2 are UART2; RX4 and TX4 are UART4, subject to the data manual of the LCD screen. UART2 is the default DWIN communication protocol, and UART4 is an extended serial port, which needs to be defined by the OS writing protocol.
回复

使用道具 举报

11

主题

31

回帖

286

积分

中级会员

Rank: 3Rank: 3

积分
286
发表于 2020-8-23 08:27:58 | 显示全部楼层
Please
i need help

How i can configure my display to use UART2 for out going commands and UART4 for in coming commands?
Thank you
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-10-20 18:06 , Processed in 0.041014 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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