lpcware

An "Always" transition in SCT statemachine - how to obtain that?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by larsen on Fri Dec 18 09:55:49 MST 2015
I need to always transition between two states in an SCT state machine for LPC824. How is the best way to achive this?

I have set a transition on a signal which is true when (CTIN_2 = Low), and this appears to work. However I am unsure if this is safe because
I have no statement in the initialization code which configures the SCT_INMUX_2 such as

Chip_INMUX_SetSCTInMux(LPC_INMUX, SCT_INMUX_2, SCT_INP_IN2); 


The reason I need this operation is to initialize all the SCT driven outputs after the U_ENTRY. Are there better ways to set the intial state of the SCT outputs?

But in any case and "Always" transition can be handy to have.

Outcomes