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.

CCS/66AK2G12: 66AK2G12

Part Number: 66AK2G12


Tool/software: Code Composer Studio

Hi,

I am trying to configure main PLL in my application code for DSP core of 66AK2G12 device (on evmK2G).

According to Technical Reference Manual (SPRUHY8H), MAIN PLL base address is 0x02130000h :

However, when I use these addresses and debug using Code Composer studio, all PLL register values appear to be 0 and don't change when written to:

When I look into evmk2g.gel file under CCSv8 installation (C:\ti\ccsv8\ccs_base\emulation\boards\evmk2g\gel\evmk2g.gel), base address for PLL is different:

When I checked this in pdk_k2g_1_0_11, cslr_soc_baseaddress.h file has same base address as the gel file:

Could you please confirm which address is correct? 0x02130000 or 0x02310000?

Regards,

Amruta Tagare

  • Hi Amruta,

    This appears to be a bug in the TRM. Earlier in the document the PLL configuration is shown at 0x02310000 as found in the gel file. I've confirmed the error against our internal documentation. I will file a bug against the TRM and this will be updated in the next release of the document.

    Regards, Bill

  • Thank you for getting back to me quickly. This solved my problem.
  • Hello,

    As a side note, that CCS register view comes from TRM as well, so the error will appear there too, thus you are not able to see any register values for that PLL instance (since it's snooping the wrong addresses). If you wish to fix this fast on your end before the fix appears in the next release, you may change the follown

    Open file <CCS install dir>\ccs_base\common\targetdb\devices\66AK2G12.xml

    Edit the following lines (note the line is present in 2 places in the file)

    <instance href = "../Modules/66AK2G0x_66AK2G1x/PLL.xml" id = "PLL" xml = "PLL.xml" xmlpath = "../Modules/66AK2G0x_66AK2G1x/" HW_revision = "" description = "" requestor = "Cortex_A15_0, C66X_0" baseaddr = "0x2310000" size = "0x164" accessnumbytes = "1" permissions = "rw" />

    Restart CCS and reconnect to target. You should be now able to see values for the PLL instance.

    thanks,

    Alex

  • Hi Alex,

    Thank you for this tip! It worked: