AnsweredAssumed Answered

S32R274 STM

Question asked by EVA LIN on Nov 24, 2017
Latest reply on Dec 11, 2017 by Martin Kovar


I have some problems about STM.I want to use STM as a counter,but I can not read the value of 'CNT'.

 STM_0.CR.B.CPS = 119;

 STM_0.CR.B.FRZ = 0;

 STM_0.CR.B.TEN = 1;

 STM_0.CNT.R = 0;//This step can not sucess


TIME_READ=STM_0.CNT.R;// the  value is wrong


could someone help me?thanks a lot.