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.

TMS320F28388D: ADC calibration using OTP memory functions not working

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hello,

I was configuring the ADC calibration from the OTP memory (section 19.13.2 in the Technical Reference Manual) for the TMS320F28388D.

I notice a strange behaviour when calling the calibration functions using their addresses listed in table 19-10. Any function call seems to suppress the RPC address from the stack memory, which prevent the program from running after the end of this function.

Moreover, I have been looking at the calibration function used in the C2000ware ‘f2838x_adc.c’ and ‘f2838x_examples.h’ files. I notice that the method is different from what is explained in the TRM, i.e. not using functions at addresses but offset stored in other addresses.

Can you provide more information about which documented method to use?

Best regards,

Thomas Souyri

  • Hi Thomas,

    Apologies for the oversight.  That table is no longer applicable to the F2838x device.  It is a remnant from F2837x and branching to those addresses indicated on the table using the F2838x device will cause issues.  Please refer to the calibration routines in C2000ware 'f2838x_adc.x'.  Let me know if you have any questions regarding those calibration routines in C2000ware.  the documents have been updated accordingly and will be reflected in the next release.

    Best regards,

    Joseph