Output Format of ADC Block in Embedded Coder for C2000 MCU
Ältere Kommentare anzeigen
I am using ADC block for TMS320F28335 C2000 MCU in Embedded Coder. Is the output of this block in SIMULINK (i.e. the value fed to the input of the next connected block in Simulink ) in the form of :
0-3 [corresponding to 0-3V range supported by ADC], or 0-4095 [corresponding to 12 bit ADC output], or 0-65535 [corresponding to 16 bit ADC Result Register]
I need to perform some operation on the variable measured by the ADC Block. Thus , the above information is very important for me. Also, is there a way i can monitor the real time measured ADC values within SIMULNK itself? I appreciate you taking out time to respond to my queries. I shall be grateful. Thank You!
Antworten (1)
Antonin
am 9 Mai 2017
0 Stimmen
[0 4095]
I hope it helps!
2 Kommentare
BILAL NAQVI
am 10 Mai 2017
Antonin
am 11 Mai 2017
External mode is the way to go: https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/parameter-tuning-and-signal-logging-with-serial-external-mode.html
It's supported over serial and CAN on the TI C2000 target.
Enjoy!
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!