TI中文支持网
TI专业的中文技术问题搜集分享网站

tms570ls3137 can 发送不出去

 can 发送不出去。执行 node->IF1NO = (uint8) messageBox;后,TxRqstReg1一直等于1,出去忙状态。程序见附件,使用rti每秒发送一次。烦请指教

gaoyang9992006:

关于safety MCU的例程,可以参照HALCOGEN软件安装好的路径下面的help文档,里面有关于定时器的例程。

Spurs26:

回复 gaoyang9992006:

额(⊙o⊙)…哪和哪啊这是,回错地方了吧

gaoyang9992006:

 请参考Hercues safety demo的例程如下:

Description

The Hercules Safety MCU Demos are designed to highlight key safety, data acquisition and control features of the Hercules platform of microcontrollers. The demos are designed to be run on a PC in conjunction with either a Hercules USB Development Sick or a Hercules Development Kit (HDK).

目前Safety Demo主要针对的是USB Stick: http://www.ti.com/tool/tmds570ls31usb?keyMatch=TMS570%20USB%20STICK&tisearch=Search-EN-Everything

以及 TMS570HDK: http://www.ti.com/tool/tmdx570ls04hdk 

您这边用的是我们哪个EVM板呢?应该是我们的Launchpad吧:http://www.ti.com/tool/launchxl-tms57004 

如果是TMS570 Launchpad的话,这个safety demo是不支持的,但是代码可以作为参考。

2. nowFlash不太推荐使用,建议如果不用CCS 或者其他IDE仿真调试,直接烧写EVM板的话,用我们的Uniflash,下载链接如下: http://www.ti.com/tool/UNIFLASH?keyMatch=uniflash&tisearch=Search-EN-Everything 

—————-

楼主的问题是不知道如何使用CAN发送数据吗?

赞(0)
未经允许不得转载:TI中文支持网 » tms570ls3137 can 发送不出去
分享到: 更多 (0)