Skip to main content
Associate II
October 15, 2024
Question

Machine check interrupt ( SPC58NE84C3)

  • October 15, 2024
  • 0 replies
  • 551 views
Hi,

I am using:

  • Processor: SPC58NE84C3
  • Compiler: FreeGCC

We have a working software setup running with optimization level "O0". However, when we enable "O1", we encounter issues in certain states where it triggers the the Machine Check Interrupt (offset 0x10), causing my callback function, void ivor1_callback(uint32_t Xsrr0, uint32_t Xsrr1), to be called.

I would like to further investigate the source of the Machine Check Interrupt. According to the datasheet, I should check the MSR and MSCR registers.

febe2_0-1728986385435.png

In my case, both registers hold the value 0x00000000.

Could someone help me identify the source of the Machine Check Interrupt?

Best regards,
Felix