AnsweredAssumed Answered

PE generates wrong code for KL15

Question asked by markosiponen on Aug 2, 2013
Latest reply on Aug 12, 2013 by Vojtech Filip

PE generates wrong code for KL15.

 

When I configure PE to generate code for VLLS0 it generates the following wrong code:

 

      /* SMC_STOPCTRL: PSTOPO=0,PORPO=0,??=0,??=0,VLLSM=0 */
      SMC_STOPCTRL = (SMC_STOPCTRL_PSTOPO(0x00) | SMC_STOPCTRL_VLLSM(0x00));         

 

There is no PSTOPO bit in the KL15 and the VLLSM bit is in VLLSCTRL, not in STOPCTRL

Outcomes