flexcan 56f8322 recives same message as sent

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

flexcan 56f8322 recives same message as sent

4,845件の閲覧回数
burra
Contributor II

Hi,
have a problem that the same message I send, gets recived in rx message buffer. The flexcan is set to recive all messages sent on the CAN bus. The Id field is set to all 0 and the global mask is also all 0. I have been told that this is not a problem with the msCAN controller. How can I solve this? It is really messing up my program when I recive all the messages that I send.


//Burra

ラベル(1)
  • DSC

タグ(2)
0 件の賞賛
2 返答(返信)

1,363件の閲覧回数
sglow
Contributor I
Hi Burra;

I'm seeing exactly the same problem. Did you ever get to the bottom of this?

I've been porting some code that runs on the '807 processor to the 56f8367 and have been having lots of problems with the FlexCAN peripherial. This peripherial seems to be a very significant downgrade from the MSCAN peripherial on the '807 processor.

In addition to receiving all the sent messages I've found that it's IMPOSSIBLE to receive a RTR message for software processing. This would seem to directly conflict with the CAN2.0B spec that the device claims to support.

Any suggestions on how to work around the erronous loopback of transmit messages would be appreciated.

Rgds,
Steve
0 件の賞賛

1,363件の閲覧回数
fritzi
Contributor I
Hello burra,
ask freescale for the CAN Controller Conformance Test (CCCT). In this report all errorneous behaviour is desribed in detail. With this knowldege you should be able to develop a software workaround. This test is mandatory in the european automotiv industries. Otherwise the controller, which uses this CAN - Core will not get a release and must not be used in development.
 
Regards
 
fritzi
0 件の賞賛