TI C2000 ADC: Why does Microcontroller stops working if i reduce sample time under certain value?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone,
I am trying to code an TI F28335 board using Simulink Coder. I tried to set up an ADC input.
The problem I am facing is that when I reduce the sampling time from 2us to 1us, the microcontroller stops working.
I reduced my program so it includes only the ADC, a comparison and digital output ports to make sure it's really the ADC causing the problem.
Like i mentioned before, the program works fine with an ADC sampling time of 1us or greater. After reducing the sampling time furter, the program can still be compiled, but all outputs stay at zero, which indicates to me that the controller can't handle the sampling time.
My question is if somebody could help me to identify where this problem is coming from.
I have attached the used program. I hope i have given all informations that are neccessary.
Thank you in advance.
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!