AnsweredAssumed Answered

Default ISR KL25Z Problem

Question asked by Saúl Iván Rodríguez Gómez on Aug 12, 2017

Hi, i'm developing an application for the FRDM-KL25Z in baremetal without Processor Expert, where i use some peripherals such as ADC, GPIO, SPI, I2C, PIT, LPTMR, Systick all of them with interrupts, i have configured as it's required the clock gating for every peripheral, and i have wrote every ISR, but in some pieces of code it get stucked in the default ISR, and i don't know why, the problem occur when some function execute, but the weird part of this is when i change the order of the functions and sometimes works.

 


I have disabled all the breakpoints, even i've updated the firmware of the debugger (USB openSDA), but it doesn't works, i was thinking that the problem were the priorities of the interrupts, another reason that i think is that can occur it when i'm inside in some ISR and another Interrupt occur, but i have readed that the NVIC can pre-empt, so i dont' really have idea why it is happening.

 

I apreciate any help.

 

Saul.

Original Attachment has been moved to: SourceFiles.rar

Outcomes