Part Number: EVMK2H
Other Parts Discussed in Thread: 66AK2H14, TPS54620
Tool/software: Code Composer Studio
Hi,
Recently , I control GPIO of 66AK2H14 in EVMK2H board .But when I set GPIO[4:7],CCS 7.3 tell me "Power Failure on Target CPU".EVMK2H stop working
D4 and D6 led turn off.
Here there is a part of my code:
GPIO_test()
{
...............
*(volatile Uint32 *)( CSL_GPIO_CFG_REGS + CLR_DATA ) = 0xffff0ff0;//clear GPIO[16:31] and GPIO[4:11]
*(volatile Uint32 *)( CSL_GPIO_CFG_REGS + DIR ) = 0xffff0001;//set GPIO[16:31] and GPIO0 to input,others GPIO to output
//ReadGPIO_Flag = (regnum << Address_shift); //address
*(volatile Uint32 *)( CSL_GPIO_CFG_REGS + SET_DATA ) = 0xf0;//pull up GPIO[4:7]
.......................
}
I use xds560v2 to tace my code in CCS 7.3.I found that when I execute "*(volatile Uint32 *)( CSL_GPIO_CFG_REGS + SET_DATA ) = 0xf0;".
System stop like power fail .
Here there are picture on EVMK2H board:
CCS here display some tips:
I don't know why system stop?Please give me some advise to this problem.Thank you very much.
It confuse me that I can't figure it out.So i appreciate that someone can give me tips or clue to find out why system would down

