Embedded coder with ADC-PWM Synchronization via ADC Interrupt example stops execution suddenly

2 visualizzazioni (ultimi 30 giorni)
Hallo all, I am really desperate. I was able to set up ADC-PWM Synchronization via ADC Interrupt example with my DRV8312 kit. I opened the example file "c280xx_adcpwmasynctest_ert.slx", set up correct hardware board and a pin for ADC (ADC-B0 from R66 trimer). Then I clicked Code --> C/C++ Code -- > Embedded Coder Quick Start and started this tool. I did all the necessary settings. Than I saved the file, built and loaded it to processor. After loading this program to f28069 processor it was executing for a while. I was able to see the change of PWM pattern on the oscilloscope when I was changing position of the trimmer so I guess the settings are correct. But after a while (approx. 1 minute) that program stoped to execute.
Where the hell can be the problem? Or where should I look for the problem solve? Any idea is welcome

Risposte (1)

Karol Kyslan
Karol Kyslan il 10 Ago 2018
Update: Even for simple LED blink program, it is executing for approx. 2 min. and than just suddenly stops.

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su Embedded Coder in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by