LPSPI hardfault s32k144

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

LPSPI hardfault s32k144

154 Views
Mittal
Contributor I

Hii,

I am interfacing sdcard with s32k144 using LPSPI in interrupt mode.

The SDCARD read ,init function is working fine but SDCARD write function is throwing default isr.

Attaching the code for the reference.

Pls have a look.

 

Mudit

0 Kudos
1 Reply

101 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Mittal,

I have just loaded and run the .elf project you posted.

But it does not end up in the Default ISR.

Anyway, can you implement HardFault_Handler() in the project?

If this is not a fault exception, read the core ICSR[VECTACTIVE, VECTPENDING] register.

 

Regards,

Daniel

0 Kudos