I am using MKE02Z64VQH2(ke02z) interfaced with AT24C32. When i run my code, control goes to PE_ISR(Cpu_Interrupt) function definition. I disable all the interrupt from processor expert and again tried to run my code still same thing is happening. How to resolve? And moreover there is no requirement of interrupt in my code too.
Hi Rajkanja
See http://www.utasker.com/kinetis/FRDM-KE02Z.html#EEPROM
Proven complete KE02Z64 solution for I2C EEPROM - including KE02 and EEPROM simulation.
Saves losing time solving the same problems over and over again - free and open source.
I2C Documentation: http://www.utasker.com/docs/uTasker/uTasker_I2C.pdf
Regards
Mark
Core 'hard faults' are still an interrupt, and end up at that 'dead end' handler in default projects. You PROBABLY need to enable some peripheral-clock for a subsystem you are trying to use.
I don't know why a 'decent' fault-handler isn't just 'part' of all basic projects --- these come up ALL the time, and without some tools can be 'very difficult' to find. The information you need is 'on the stack', but have fun looking THERE! I suggest the handler pointed to here: