This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hard Fault handler

Hard FAULT HANDLER

I am working on Cortex M4, trying to build line following robot with Tiva C, taking input from a sensor at port B pins, and providing port F pins PWM outputs and the process should iterate over in an infinite while loop.
But, once I complete first cycle of taking input from sensor and providing Pwm output, the program goes to hard fault handler in very next iteration. Can anyone please tell why?
Also, if I run a test case without PWM, the program iterates and can take input several times.
Is there any additional configurations which we need to perform while using PWM signals?