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 Comments

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?

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

on 13 Dec 2019

Commented:

on 24 Mar 2026 at 11:47

Community Treasure Hunt

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

Start Hunting!