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: CMP1HPMXSEL is 2 after cpu reset

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Hi Team,

when connected launchpad F280049c to ccs without load any code, then CMP1HPMXSEL and CMP3HPMXSEL is set to 2 as below showed. which is not matched with datasheet which should be 0 after reset. is anything wrong here?

if load the code from c2000ware as below, it seems there is no function to configure the CMP1HPMXSEL, it is easy to make confusion.

C:\ti\c2000\C2000Ware_2_00_00_02\driverlib\f28004x\examples\cmpss

Also if I change CMP1HPMXSEL to 3 in the ccs windows, then click reset command in ccs, then CMP1HPMXSEL value still remain 3, but other register like Cmpss1Regs will be reset to 0, why CMP1HPMXSEL remain no change?

  • Hi Strong,

    Not all registers are reset by a debugger reset. Some require an XRSn/POR--many of the AnalogSubsysRegs appear to fall into this category. Can you try power cycling the board and see if that clears the registers? To be sure there isn't any code running after the reset that goes and sets the registers, you may want to consider erasing the flash first.

    Whitney