Is the loopback mode of flexcan in MPC8039 supported?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is the loopback mode of flexcan in MPC8039 supported?

422 Views
carlpeng
Contributor II

Thank you in advance!

I have the questions as below:

1. Does mpc8039 flexcan support loopback mode?

    During debug, I found that I can soft reset the flexcan successfully, but when I try to send messages out through MB in the loopback mode, it failed. I found the code field in the MB always as the value I wrote into it, 0xC, it is never changed.

2.  If I set the flexcan in normal mode, I will can not access the flexcan regsiter address space, I should set the mode as

     supervisor mode, then I can access flexcan address space, but still can not access "RX Individual Mask Registers",

    Why?

0 Kudos
1 Reply

256 Views
lunminliang
NXP Employee
NXP Employee

Hello carl peng,

1. According to document MPC8309RM, Rev2,

   Section 15.1.2:  "Programmable loop-back mode supporting self-test operation"

   Section 15.1.3:  "Loop-Back Mode: ..."

   Section 15.3.3.2 register bit CTRL[LPB].

   And there is no record about FlexCAN loopback mode in the errata.

2. Can you please elaborate the issue observed? How do you debug and access the registers?

Regards

Lunmin

0 Kudos