MPC5777C Flexcan Module

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

MPC5777C Flexcan Module

2,171件の閲覧回数
gurumurthykola
Contributor I

Hello,

 

I am working with MPC5777C controller and observed an issue in FlexCAN-A module.

Issue,

FlexCAN-A is put into freeze mode automatically when the CODE filed of Message buffer[0] is written with the value 0b1100 for transmitting a CAN frame.

 

Please find attched snapshot of Flexcan-A registers.

 

As per the attached register map,

The flag ERRSR[FANCEIF] is set. This is causing FlexCAN-A to go Freeze Mode as MECR[NCEFAFRZ] is set.

 

Please let me know why the flag FANCEIF is set and what are the actions causing this flag to set.

 

Also Please let me know how to disable the Error Detection and Correction module. If I disable this module what are the consequence effects?

 

Thanks in Advance.

 

Best Regards,

Gurumurthy K

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,798件の閲覧回数
Himenez
Contributor I

Hi,

i'm approach now at MPC5777C (i've worked with MPC5566 and MPC5674) and i've the same that you've encountered.

In your picture you've (as me): ???????? for CAN_A_RXxxMASK and this is a problem that generate CAN_A_RERRAR.

As you i don't know how fix this problem, but you've encountered this problem many month ago......., now you've found the solution?

0 件の賞賛
返信

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

Hi,

The MPC57xx FlexCAN supports detection and correction of errors in memory read accesses.

FANCEIF indicates that a non-correctable error was detected in a memory access initiated by FlexCAN internal processes.  The ECC error may have occurred due to module not being initialized properly.  Refer to section 40.6.1 in the Reference Manual. 

The ECC feature can be disabled by setting bit ECCDIS in CAN_MECR.  Note that bit ECRWRDIS in the same register prevents writes to the register unless it is cleared first.  Disabling ECC does not impact the normal operation of the FlexCAN. 

BR, Petr

0 件の賞賛
返信