迪文科技论坛

 找回密码
 立即注册
搜索
查看: 1485|回复: 14

[Question]Program T5L1 in Keilc

[复制链接]

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
发表于 2021-4-26 08:53:52 | 显示全部楼层 |阅读模式
hello, I am currently programming T5L1 in KeilC. I want to use UART 1 to receive data but don't know how to configure it. I have watched many videos and documentations but none of them refer how to configures UART 1. Please help me configure UART 1 to receive data.
回复

使用道具 举报

0

主题

118

回帖

1595

积分

金牌会员

Rank: 6Rank: 6

积分
1595
发表于 2021-4-26 10:20:16 | 显示全部楼层
Hi, it's Ms Maria from DWIN Technology, thanks for using our product.
May I know your model no.? Some with USB interface or WiFi Module could support UART 1 download. If no such interface, normally download via SD card.
The hex file shall be transferred to bin file via download 8051 tool.

You may also contact me via below way for more technical support.
Email:maria.guo@dwin.com.cn
Whatsapp/Skype:+8615127618011
Wechat: 15127618011
回复

使用道具 举报

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
 楼主| 发表于 2021-4-26 10:24:05 | 显示全部楼层
guoqiaoyan 发表于 2021-4-26 10:20
Hi, it's Ms Maria from DWIN Technology, thanks for using our product.
May I know your model no.? Som ...

hi, i am using DG72720 03Wtc and DMG48480 03wtc, i want to use UART for receiving data from peripheral exchange to UART2, which is being use in  DG72720 03Wtc and DMG48480 03wtc.
Do you tell me how to do that?
回复

使用道具 举报

0

主题

118

回帖

1595

积分

金牌会员

Rank: 6Rank: 6

积分
1595
发表于 2021-4-26 10:28:24 | 显示全部楼层
Hi for both type, no USB interface. Since software C51 couldn't be existed with OS kernel together, you could only download via SD card for the files.
UART 2 under OS kernel could support downloading via on-line software tool.
回复

使用道具 举报

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
 楼主| 发表于 2021-4-26 10:36:24 | 显示全部楼层
guoqiaoyan 发表于 2021-4-26 10:28
Hi for both type, no USB interface. Since Keil C51 couldn't be existed with OS kernel together, you  ...

oh no, this is not my opinion. In DMG72720, UART2 is being use for communication with my microcontroller, but i want UART1 to do that. Is it possible?
回复

使用道具 举报

0

主题

118

回帖

1595

积分

金牌会员

Rank: 6Rank: 6

积分
1595
发表于 2021-4-26 10:48:58 | 显示全部楼层
If your model no. is DMG72720C041_03WTC, no UART 1. Communicate with your microcontroller is OK as long as the protocol is same.
For UART 2, it's DWIN protocol, namely 5A A5, Data length 82/83 VP Data.
For UART 1, you will define the protocol by yourself. And your microcontroller is under same protocol.
But for files downloading, could use only SD card.
回复

使用道具 举报

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
 楼主| 发表于 2021-4-26 11:22:36 | 显示全部楼层
guoqiaoyan 发表于 2021-4-26 10:48
If your model no. is DMG72720C041_03WTC, no UART 1. Communicate with your microcontroller is OK as l ...

ok, i see. Can you send me a keilC code for UART 1 init and UART 1 interrupt for receiving data?
回复

使用道具 举报

0

主题

118

回帖

1595

积分

金牌会员

Rank: 6Rank: 6

积分
1595
发表于 2021-4-26 11:30:30 | 显示全部楼层
Hi I need more time to get the information.
May I know your email address? Once ready, will share to you.
By the way, possible to share your company name?
回复

使用道具 举报

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
 楼主| 发表于 2021-4-26 11:45:49 | 显示全部楼层
guoqiaoyan 发表于 2021-4-26 11:30
Hi I need more time to get the information.
May I know your email address? Once ready, will share to ...

ok, my email: lt241198@outlook.com.vn
my co: https://rangdong.com.vn/
回复

使用道具 举报

2

主题

9

回帖

63

积分

注册会员

Rank: 2

积分
63
 楼主| 发表于 2021-4-26 11:46:46 | 显示全部楼层
guoqiaoyan 发表于 2021-4-26 11:30
Hi I need more time to get the information.
May I know your email address? Once ready, will share to ...

ok, my email is: lt241198@outlook.com.vn
my co is: https://rangdong.com.vn/
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-28 16:14 , Processed in 0.093451 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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