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

1 visualización (últimos 30 días)
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

Respuestas (1)

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

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by