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: TIDM-02002 : SOC0 Is Not Used For ISEC_ADC

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Hello,

In the following file:

C:\ti\c2000\C2000Ware_DigitalPower_SDK_4_01_00_00\solutions\tidm_02002\f28004x\clllc\clllc_user_settings.h

Line 157 starts with ADC_SOC_NUMBER1:

#define CLLLC_ISEC_ADC_SOC_NO_1  ADC_SOC_NUMBER1

But line 214 starts with ADC_SOC_NUMBER0:

#define CLLLC_VSEC_ADC_SOC_NO_1  ADC_SOC_NUMBER0

And line 257 starts with ADC_SOC_NUMBER0:

#define CLLLC_VPRIM_ADC_SOC_NO_1  ADC_SOC_NUMBER0

Is there a reason SOC0 is avoided for ISEC or is this just a enumeration typo and starting at ADC_SOC_NUMBER0 would work just as well?

Thank you.

Kier.

  • Kier,

    ADC_SOC_NUMBER0 is used for IPRIM_ADC_SOC_NO on ADCA. You can see this on line 136 of the same file. Please also note that it appears that you have modified the code somewhat and your line numbers differ from the original code source.

    I do not see a typo here.

    Regards,
    Cody 

  • Regarding ADC_SOC_NUMBER0, thanks Cody I missed that, it makes sense now.

    On the line numbers, I reinstalled C2000Ware Digital Power SDK 4.1 just to be sure and the line numbers I quoted are correct. Here's the VCS data in my file:

    // $TI Release: TIDM_02002 v2.00.03.00 $
    // $Release Date: Wed Jun 29 01:36:01 CDT 2022 $

    Isn't it the same as yours?

  • Ah, my mistake. I was looking at the internal  source files for the code which doesn't contain the VCS data in the file... this would explain the line number differences.

    Regards,
    Cody