AnsweredAssumed Answered

flexcan write failure

Question asked by ding zhiyu on Mar 29, 2017
Latest reply on Mar 30, 2017 by ding zhiyu

I use flexcan interface to send multiple frame datas of mpc8309, has small frame data send failure, why? help me,tks.


ps. TXF is 112 , but interrupt number and TX packets is110. 


[root@mpc8309som test]# cat /proc/net/can/stats

112 transmitted frames (TXF)
112 received frames (RXF)
112 matched frames (RXMF)

100 % total match ratio (RXMR)
0 frames/s total tx rate (TXR)
0 frames/s total rx rate (RXR)

100 % current match ratio (CRXMR)
0 frames/s current tx rate (CTXR)
0 frames/s current rx rate (CRXR)

100 % max match ratio (MRXMR)
37 frames/s max tx rate (MTXR)
37 frames/s max rx rate (MRXR)

0 current receive list entries (CRCV)
1 maximum receive list entries (MRCV)

[root@mpc8309som test]# cat /proc/interrupts
16: 582 IPIC Level serial
17: 0 IPIC Level mpc8xxx_spi
19: 300 QEIC Level UCC Geth
20: 0 QEIC Level UCC Geth
21: 20 IPIC Level i2c-mpc
22: 3 IPIC Level i2c-mpc
23: 110 IPIC Level can0
34: 0 QEIC Level UCC Geth
38: 0 IPIC Level ehci_hcd:usb1
77: 711 IPIC Level fsl-elbc
LOC: 247908 Local timer interrupts
SPU: 0 Spurious interrupts
CNT: 0 Performance monitoring interrupts
MCE: 0 Machine check exceptions
[root@mpc8309som test]# ifconfig
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:64
RX bytes:0 (0.0 b) TX bytes:880 (880.0 b)