External voltage reference enabling for LAUNCHXL-F28379D, in Simulink, Embedded Coder Support Package for Texas Instruments C2000 Processors library

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

Hello Edoardo,
did you find a way in the meantime?
If so, I would be very grateful for the solution
Best regards
Alex
Same issue here, anyone having solution for this?

Connectez-vous pour commenter.

Réponses (0)

Produits

Version

R2018b

Commenté :

le 24 Mar 2026 à 11:47

Community Treasure Hunt

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

Start Hunting!

Translated by