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.

TMS320F280049C: DAC_tuneOffsetTrim

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hi all,

According to the TRM for the TMS320F28004x:
" If the DAC is used at any reference voltage other than 2.5v, the offset trim must be adjusted to ensure the offset error performance stays within the device-specific data manual limits. The DAC offset register is a 16-bit register that contains the 8-bit signed offset trim in the lower half of the register. Use the function call DAC_tuneOffsetTrim() found in C2000Ware to adjust the offset"
The only place where I can find this function is in the driverlib, and since we are not using driverlib in our project, is there another way two adjust the DAC offset?

  • Hi Valentin,

    If you don't want to use driverlib, you can open the corresponding driverlib function and copy the code out of them but i would recommend you use the driverlib function as-is because we have tested it.

    Just for your information, you can keep using bitfield in your application and still call this driverlib function. Driverlib and bitfield can be mixed in the same application.