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

1 回表示 (過去 30 日間)
Karol Kyslan
Karol Kyslan 2018 年 8 月 9 日
回答済み: Karol Kyslan 2018 年 8 月 10 日
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

回答 (1 件)

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

コミュニティ

カテゴリ

Help Center および File ExchangeEmbedded Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by