External voltage reference enabling for LAUNCHXL-F28379D, in Simulink, Embedded Coder Support Package for Texas Instruments C2000 Processors library
Show older comments
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
Alexander Nowak
on 11 Aug 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
on 24 Mar 2026 at 11:47
Same issue here, anyone having solution for this?
Answers (0)
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!