This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCAN4550: 为什么TCAN4550的输出CAN总线上没有输出数据?

Part Number: TCAN4550
前置条件:
1、M3与TCAN4550的SPI通信正常:表现为读DEVICE ID正常;初始化寄存器的时候进行写后,回读与写的值比较,均通过;
2、M3与TCAN4550的SPI通信连接;TCAN4550与上位机通过CAN2.0B调试工具,,通过如下关系联接:   
       已经确认:TCAN4550的CAN H/L分别与CAN2.0B的调试工具H/L连接正确,阻抗60欧姆;二者波特率分别500kbps;
3、在初始化中将CAN FD的初始化与CAN 2.0波特率配置为相同,因为我的CAN2.0调试器不支持2Mbps;
4、在初始化中,凡是涉及到TCAN初始化读写操作时,涉及先写后读,进行一致性校验的,均通过;
5、为了能接收到CAN 2.0调试器发送过来的数据,将CAN滤波器屏蔽码SFID2/EFID2均设置为0;初始化部分其余与DEMO保持一致。
6、硬件连线:片选手动控制,M3的SPI主的NSS连接至DEMO板的J16_18(nCS);MISO连接至J16_16(SDO);MOSI连接至J16_14(SDI);SCLK                   J16_12(SCLK);       SPI2_NSS            J16_18  nCSSPI2_SCK            J16_12  SCLK;          SPI2_MOSI         J16_14  SDISPI2_MISO         J16_16 SDO;            J16_6  RST为低电平
调试功能:
       根据DEMO中的发送接口,组织如下数据帧进行发送,代码如下:
       上面这段代码发送数据字节流内容为:
       0x61  0x8174   0x03
       0x40000168   0x00340000   0x44332211 
       0x61  0x10d0   0x01
       0x00000001   
       CAN 2.0总线上应该有帧ID为0x168,数据域为0x11 0x22 0x33 0x44的数据帧。
       到此,,总线上并没有数据?? 请帮助分析一下原因是?
  • Can you read and provide the final values for the device register configuration and all the status and interrupt registers when you try to send the CAN message?  If so I can review them for possible errors as well as see if the device has had some sort of fault condition preventing it from sending the message.

    Regards,

    Jonathan