Output Format of ADC Block in Embedded Coder for C2000 MCU
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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!
0 Commenti
Risposte (1)
Antonin
il 9 Mag 2017
[0 4095]
I hope it helps!
2 Commenti
Antonin
il 11 Mag 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!
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!