MPC5xxx: MC_ME RUN_PC and LP_PC Configuration Registers

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

MPC5xxx: MC_ME RUN_PC and LP_PC Configuration Registers

Jump to solution
1,406 Views
cholland
Contributor V

Hi,

Specifically for the MPC5746C

I am having some issues with setting the RUN_PC and LP_PC Configuration Registers.

I am trying to use PC7 and LP7 configurations for LIN1. When I try to enter initialization, it fails with "Error : Error in ONCE status register during instruction execution."

I know the problem is with RUN_PC[0]. If the modes for PC0 are enabled, then it works fine, but I should be setting the PC7 and LP7 for LIN1. I don't understand what the problem is.

Thank you,

 

MC_ME Registers.png

0 Kudos
Reply
1 Solution
1,366 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it looks like it is caused by DBG_F bit in PCTL51 register. If you configure this bit as '0', is it working?

Regards,

Lukas

 

View solution in original post

0 Kudos
Reply
2 Replies
1,367 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it looks like it is caused by DBG_F bit in PCTL51 register. If you configure this bit as '0', is it working?

Regards,

Lukas

 

0 Kudos
Reply
1,349 Views
cholland
Contributor V

That was the problem. Thank you

0 Kudos
Reply