This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069M: LAUNCHXL-F28069M

Part Number: TMS320F28069M
Other Parts Discussed in Thread: LAUNCHXL-F28069M, C2000WARE

Hello


I use LAUNCHXL-F28069M. In model configuration, VREFHI has been set  3.3 volt inside simulink/matlab.
 and micro VREFHI pin has also been connected to launchpad 3.3 volt pin. But I recieve 3 volt as maximum volt on analog pin( which means that micro ADC gives 0 to 3 volts for 4096 digitdal level. What's the reason? On the other side, how could I set VREF externally?

  • Mimi,

    We can help you out with device-level queries here, but if you need assistance with implementing something using simulink/matlab, you will need to contact MathWorks directly.

    For the 3V=4095 issue, make sure that you are executing the Device_cal() function and performing Offset Calibration in your initialization code.  Both of these steps are done in the F2806x adc_soc example in C2000Ware.

    To switch the reference from internal to external, you will need to set the ADCCTL1[ADCREFSEL] bit.  The registers are documented in the F2806x Technical Reference Manual.

    -Tommy

  • Mimi,

    It has been over two weeks since your last update. I assume that you were able to resolve your issue. If this isn’t the case, please reject this resolution and reply to this thread. If this thread is locked, please make a new thread describing the current status of your issue.

    -Tommy