笔记:CAN收发器-TJA1051T与TJA1051T/3调试总结

文章讲述了在使用freescale-S08DZ60单片机与TJA1051TCAN收发器调试CAN驱动时遇到的问题,发现是由于TJA1051T与S08DZ60的不兼容导致。通过排查,最终确定为硬件问题并更换了兼容的芯片,强调了TJA1051T版本间的差异和兼容性注意事项。
摘要由CSDN通过智能技术生成
问题背景:

硬件环境:freescale-S08DZ60+TJA1051T

CAN分析仪:ZLG-USBCANI

硬件无异常,驱动在上一版本电路测试过,可用

问题描述:

freescale-S08DZ60接TJA1051T,调试CAN驱动,TJA1051T无输出,

解决过程:

CAN-H和CAN-L输出正弦波,单片机CAN-TX输出规律脉冲段

代码调试,装填完三个CAN发送缓冲区后显示CAN发送缓冲区满,未触发CAN发送中断

结合示波器波形,CAN数据发送动作未执行

结合网络资料显示,出现CAN缓冲器满但无数据发出的情况可能为CAN节点异常

CAN自收发测试正常,

综上可以判断,问题出现在硬件,CAN收发器异常

回到原点,发现CAN收发器焊接TJA1051T/3

经查阅手册,该芯片与TJA1051T不兼容,更换后CAN收发正常

经验总结:

1,TJA1051T是TJA1050的升级版本

2,TJA1051T有三个版本:TJA1051T、TJA1051T/3(TJA1051TK/3)、TJA1051T/E

唯一的区别是引脚5的功能

TJA1051T 100%向后兼容TJA1050

TJA1051T/3和TJA1051TK/3允许与3V单片机直连

TJA1051T/E允许接收器切换到低电流离线模式

摘自数据手册

The TJA1051 is a high-speed CAN stand-alone transceiver with Silent mode. It combines 

the functionality of the TJA1050 transceiver with improved EMC and ESD handling 

capability. Improved slope control and high DC handling capability on the bus pins 

provides additional application flexibility.

The TJA1051 is available in three versions, distinguished only by the function of pin 5:

• The TJA1051T is 100 % backwards compatible with the TJA1050

• The TJA1051T/3 and TJA1051TK/3 allow for direct interfacing to microcontrollers with 

supply voltages down to 3 V

• The TJA1051T/E allows the transceiver to be switched to a very low-current Off mode.

VIO supply pin

There are three versions of the TJA1051 available, only differing in the function of a single

pin. Pin 5 is either an enable control input (EN), a VIO supply pin or is not connected.

Pin VIO on the TJA1051T/3 and TJA1051TK/3 should be connected to the microcontroller

supply voltage (see Figure 6)

. This will adjust the signal levels of pins TXD, RXD and S to

the I/O levels of the microcontroller. For versions of the TJA1051 without a VIO pin, the VIO

input is internally connected to VCC

. This sets the signal levels of pins TXD, RXD and S to

levels compatible with 5 V microcontrollers.

  • 28
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值