update SCT_MATCH / MATCH_RELOAD register cause hardfault?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by camellias on Sat Nov 01 00:54:57 MST 2014
Hi, guys, it's so weird that the program will drop into the hardfault routine everytime those registers was updated.
my operation flow:

sct running...
halt the sct: LPC_SCT->CTRL_U |= (SCT_CTRL_HALT_L | SCT_CTRL_HALT_H) ; 
update the match / match reload registers: LPC_SCT->MATCHREL[0].U = my_reload_value;   //here is the problem

so, anyone got the same problem here?