Kinetis Flexcan : compatibility with previous version?

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

Kinetis Flexcan : compatibility with previous version?

1,911件の閲覧回数
robertob
Contributor I

Datasheet report  "100% backward compatibility with previous Flexcan version".

 

I think this is not true by a software point of view.

 

See for example  MC56F8323 flexcan module.

Message structure buffer are very different (same bits but in different position).

 

Registers like FCMAXMB (maximum message buffer) are not present in the Kinetis Flexcan module because are included in other 32 bit-register like CANx_MCR (lower 7 byte).

 

And so on.

 

Regards

 

0 件の賞賛
5 返答(返信)

1,275件の閲覧回数
freegeek
Contributor III

Perhahaps the comment related to the flexcan used on the existing Coldfire MCU families rather than the DSCs

0 件の賞賛

1,275件の閲覧回数
mnorman
NXP Employee
NXP Employee

That's correct.  The FlexCAN modules on the Kinetis devices is a newer but backward compatible version of the controller used on previous 32-bit MCUs.  The DSC version of FlexCAN is older and not software compatible with the 32-bit MCU CAN modules.

 

-mnorman

0 件の賞賛

1,276件の閲覧回数
Alberto_g
Contributor III

I recall there was an issue with ColdFire CAN, controller is always self receiving its own tx messages.

DSC works ok.

Does anybody know if this was fixed?

0 件の賞賛

1,276件の閲覧回数
GottiLuca
Contributor IV

Dear Alberto-g ,

 

I never used the Kinetis or ColdFire Flexcan . About the DSC Flexcan, instead, i've used for at least 4-5 years .

 

On the DSC Flexcan, a messages transmitted is "self received" on an rx mailbox if the ID-masks for that mailbox matches a  transmitted ID ...

 

0 件の賞賛

1,276件の閲覧回数
Alberto_g
Contributor III

I use CANBus on DSC too and it works as it should. My question was about the new Kinetis, since I had this problem with Coldfire M52235.

I had a quick look at the K60 reference manual. It states:

 

17
SRXDIS
Self Reception Disable
This bit defines whether FlexCAN is allowed to receive frames transmitted by itself. If this bit is asserted,
frames transmitted by the module will not be stored in any MB, regardless if the MB is programmed with
an ID that matches the transmitted frame, and no interrupt flag or interrupt signal will be generated due to
the frame reception. This bit can only be written in Freeze mode as it is locked by hardware in other
modes.

 

So it seems the issue was addressed. I am waiting for a TWR kit, let's see.

 

Regards.

0 件の賞賛