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?
Parents Reply Children
No data
More questions in this forum