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.

TMS320F280049: C2000Ware ADC calibration

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

C2000 Team,

In the file C:\ti\c2000\C2000Ware_3_02_00_00\device_support\f28004x\common\include\f28004x_examples.

//
// The following pointers to functions calibrate the ADC linearity. Use this
// in the AdcSetMode(...) function only
//
#define CalAdcaINL (void (*)(void))0x0703B4
#define CalAdcbINL (void (*)(void))0x0703B2
#define CalAdccINL (void (*)(void))0x0703B0
#define CalAdcdINL (void (*)(void))0x0703AE

QUESTION: Why is there a reference to Adcd?  F28004x devices only have 3 ADCs.

QUESTION: The comments make mention of the AdcSetMode() function.  I don't believe this exists for the F28004x devices, correct?

QUESTION: Does CalAdcxINL() even exist for F28004x devices?  It seems we're supposed to be calling ADC_setINLTRIM() instead, per TRM sprui33c section 13.13.

QUESTION: Finally, in C2000Ware 3.02.00.00, the DriverLib reference manual, F28004x_DriverLib_Users_Guide.pdf and also F28004x_DriverLib_API_Guide.html seem to have disappeared.  I expected to find them in C:\ti\c2000\C2000Ware_3_02_00_00\device_support\f28004x\docs.  Seems like this needs to be corrected?

Thanks and regards,

David

  • Hi David,

    QUESTION: Why is there a reference to Adcd?  F28004x devices only have 3 ADCs.

    QUESTION: The comments make mention of the AdcSetMode() function.  I don't believe this exists for the F28004x devices, correct?

    Yes, this looks incorrect for F28004x as AdcSetMode() is not available for F28004x as only 12-bit mode is applicable for this device. F28004X has SetVREF() to  load offset trims as per selected reference. I think INL trim is loaded as part of device_cal().

    I will raise a Jira for this and get this fixed in next release.

    Thanks
    Vasudha

  • Hi David,

    The contents of the documents you have mentioned are now provided as HTML files.

    The files are located in C:/ti/c2000/C2000Ware_3_02_00_00/device_support/f28004x/docs/html/index.html.

    PDF files will no longer be provided for the Driverlib API starting from C2000Ware v3.02.00.00 onwards.

    Best Regards

    Siddharth