CAN通信中CANTA寄存器中何时置位

[复制链接]
498|5
 楼主| Soraka 发表于 2017-5-25 20:17 | 显示全部楼层 |阅读模式
资料写的是对应邮箱中的消息发送成功,则置位。
是不是其他节点的邮箱消息接收成功后才会置位?
Garen2 发表于 2017-5-25 20:28 | 显示全部楼层
你是只是分析寄存器还是要写程序,这些模块应该都有库函数啊。例程什么的吧。手册具体如何描述的。
Ryze 发表于 2017-5-25 20:38 | 显示全部楼层
Transmission-Acknowledge Register (CANTA), 是你自己发送,你发送完了,这bit就会起来。
但是,请注意,如果总线上就你一个人,不好意思,消息是发不出去的。
Varus 发表于 2017-5-25 20:55 | 显示全部楼层
CAN总线,不管他要不要你的消息,都要给别人方便,发 frame的ack,
但是这个ACK是L2层的。就是总线上游100个人,100个人都起床了,有1人发消息,就有99人发ACK
Snow7 发表于 2017-5-25 21:11 | 显示全部楼层
android2 发表于 2017-5-25 21:21 | 显示全部楼层
2.5 Transmission-Acknowledge Register (CANTA)
Transmission-Acknowledge Register (CANTA) www.ti.com
If the message of mailbox n was sent successfully, the bit TA[n] is set. This also sets the GMIF0/GMIF1
(GIF0.15/GIF1.15) bit if the corresponding interrupt mask bit in the CANMIM register is set. The
GMIF0/GMIF1 bit initiates an interrupt.
The CPU resets the bits in CANTA by writing a 1. This also clears the interrupt if an interrupt has been
generated. Writing a 0 has no effect. If the CPU tries to reset the bit while the CAN tries to set it, the bit is
set. After power-up, all bits are cleared.
访问方式:LEGEND: RC = Read/Clear; ---- 读  或者  写1清0,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

178

主题

865

帖子

5

粉丝
快速回复 在线客服 返回列表 返回顶部