External voltage reference enabling for LAUNCHXL-F28379D, in Simulink, Embedded Coder Support Package for Texas Instruments C2000 Processors library
Afficher commentaires plus anciens
Hello everyone,
I'm facing a problem using a Texas device instrument and Simulink. I would like to acquire two channel (two differential voltages), using two 16 bit ADC blocks by the "Embedded Coder Support Package for Texas Instruments C2000 Processors" library.
I would like to change the Voltage High Reference (VREFHI), I saw that for many Texas devices there is the following option "Use External Reference", but for my device (Texas F28379D LaunchXL) not :(.
I was wondering if Have you faced with this problem and how did you solve?
How could I set VREF externally in Simulink?
I saw in device documentation that I should enable the voltage reference option, selecting the bit n 5 in the ADCCTL register (ADCCTL1[ADCREFSEL] bit), but
I don't know how I can change this value in Simulink.
Thanks a lot
2 commentaires
Alexander Nowak
le 11 Août 2022
Hello Edoardo,
did you find a way in the meantime?
If so, I would be very grateful for the solution
Best regards
Alex
HARINATH
le 24 Mar 2026 à 11:47
Same issue here, anyone having solution for this?
Réponses (0)
Catégories
En savoir plus sur C2000 Microcontroller Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!