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.

TM4C123GH6PM: what is DSP in the core registers?

Part Number: TM4C123GH6PM

  • Hello Mohammed,

    There is no DSP register inside the device so that seems to be an IDE specific issue with it showing an additional register. You'll notice that the DSP register duplicates the value of PSP. This mirroring would indicate to me that because the DSP register doesn't exist, the IDE is just using the last known read value to display.

    Best Regards,

    Ralph Jacobi

  • There is no DSP register inside the device so that seems to be an IDE specific issue with it showing an additional register.

    I was looking at the device XML files in a CCS 12.0 installation to try and determine what the DSP register is as far as the IDE is concerned.

    ccs1200/ccs/ccs_base/common/targetdb/cpus/cortex_m4f.xml has:

    	<register id="MSP" acronym="MSP" width="32" description="MSP Register" />
    	<register id="PSP" acronym="PSP" width="32" description="PSP Register" />
    	<register id="DSP" acronym="DSP" width="32" description="DSP Register" />

    And ccs1200/ccs/ccs_base/common/targetdb/drivers/TI_reg_ids/TMS470REX_regids.xml which defines the CortexM registers has:

    	<register_id id="MSP"  value="0x211" address="0" page="0" />
    	<register_id id="PSP"  value="0x212" address="0" page="0" />
    	<register_id id="DSP"  value="0x213" address="0" page="0" />

    The TMS470REX_regids.xml does shows the "DSP" register has a different internal value for the debug stack, but not sure which actual device register is being read when the value of DSP is shown.