I am using Matlab R2018a with Simulink and Embedded Coder together with DRV8312 development kit. I was able to set up LED blink, generate PWM signals, use SCI communication and also I successfully run ADC-PWM Synchronization via ADC Interrupt example. All the outputs were correct and everything behaved as expected.

My problem is that all my programs after loading to target processor only execute for few minutes (lets say from 2 to 5 minutes) and then suddenly stop to execute. According to profiling, everything seems to be all right and there are no timing issues.

Could you please provide me with some direction about where to look for the solution? Why all my programs stop executing?

More Karol Kyslan's questions See All
Similar questions and discussions