S32R274 STM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32R274 STM

932 Views
evalin
Contributor III

Hello,

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.

Tags (1)
1 Reply

512 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

could you please check, if your problem is related to this one?

https://community.nxp.com/thread/460379 

If not, please write me back as much details as possible.

Regards,

Martin