how to enable CANFD on mpc5748g-devkit?

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

how to enable CANFD on mpc5748g-devkit?

1,253件の閲覧回数
yukunwu
Contributor III

Hello everyone,

      I'm using S32DS 1.2 to develop demo which want use CANFD to transfer data.

      When I run the demo , the demo was cycling in FLEXCAN_SetStuffBitCount function, I use the PE to generate code automatically.

      pastedImage_1.png

   and then i found here is a defination for E8759:

pastedImage_2.png

   Does that mean I should comment it out to use CANFD? If not ,how to configure it?

タグ(1)
4 返答(返信)

1,106件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if the MCU has mask set N78S then you can simply comment #define ERRATA_E8759.

If you have older mask 1N81M you should not use CAN FD unless all devices on the bus comply with older CAN FD standard.

BR, Petr  

1,106件の閲覧回数
yukunwu
Contributor III

Hi Petr

   Thanks very much

   And how to confirm which mask the MCU has? :)

0 件の賞賛
返信

1,106件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

should be printed on the MCU package...

BR, Petr

1,106件の閲覧回数
yukunwu
Contributor III

Thanks!!!:smileylaugh:

0 件の賞賛
返信