MPC5746C Run FreeRtos Demo error,enter IVOR1_Handler interrupt

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

MPC5746C Run FreeRtos Demo error,enter IVOR1_Handler interrupt

1,483 Views
my_souls
Contributor III

MPC5746C Run FreeRtos Demo error, enter IVOR1_Handler interrupt, have you encountered this problem?

Tags (1)
0 Kudos
12 Replies

1,180 Views
my_souls
Contributor III

What is the SDK version?

0 Kudos

1,180 Views
2548903578
Contributor III

Sorry, I got it wrong. This is the SDK version.微信截图_20200408085831.png

0 Kudos

1,180 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Sorry but with the provided description I am not able to help you.

Can you share with me closer details?

Are you using NXP EVB or any custom board?

Check FCCU status registers, RGM (FES and DES) for possible faults.

Is our example SW working correctly?:

https://community.nxp.com/docs/DOC-334669 

regards,

Peter

0 Kudos

1,180 Views
my_souls
Contributor III

Thank you very much for your answer. I seem to have found the problem. Currently, there is no OSC32K external pin in the MCU of the MPC5746C 100MAPBGA, and MC_ME.DRUN_MC.SXOSCON is enabled in the Demo of the SDK, but it does not judge and wait for MC_ME.GS. The .B.S_MTRANS bit is set to 0, so the program jumps to the IVOR1_Handler interrupt when the PIT register is manipulated.
It seems that the officially provided Demo Code does not distinguish the 100MAPBGA of the MPC5746C from other Pin packages.

0 Kudos

1,180 Views
2548903578
Contributor III

Hello,

   I encountered the same problem as you, but I came up when I initialized the ADC. The program directly enters the IVOR1_Handler interrupt and cannot come out. I want to ask how you solved it.

0 Kudos

1,180 Views
my_souls
Contributor III

Hello, are you using the Demo example?

0 Kudos

1,180 Views
2548903578
Contributor III

Hello,

The ADC I configured is written according to the Demo

0 Kudos

1,180 Views
my_souls
Contributor III

Hi, which model of MPC5746C is used? See if MC_ME.DRUN_MC.SXOSCON is enabled?

0 Kudos

1,180 Views
2548903578
Contributor III

Hi,

 I use the official PE configuration.微信截图_20200407095531.png

0 Kudos

1,180 Views
my_souls
Contributor III

You look at the model of your MPC5746C, is it 100pin, does the external support 32kHZ crystal oscillator, if it does not support the external 32k crystal oscillator, please do not choose, in addition, which version of SDK do you use?

0 Kudos

1,180 Views
2548903578
Contributor III

I am using a 176-pin chip, and I still interrupt when I remove the clock. The version I use is S32 Design Studio for Power Architecture Version 2.1

0 Kudos

1,180 Views
2548903578
Contributor III

Hello,

I developed on the basis of other people's code, and also used the operating system. I just configured an ADC and the program entered this interrupt.

0 Kudos