I have configuration the STM of s32f74 like this
STM_0.CR.R = 0x80F00000;
STM_0.CHANNEL[0].CCR.R = 0x80000000;
but I read the count ,but they always are zero.
TIME_READ[2]=STM_0.CNT.R;
where is wrong?
Hello,
if you want to set FRZ and TEN bits, you must write STM_0.CR.R = 0x00000003; Numbering in reference manual could be confusing.
If you have any other questions, please feel free to write back.
Regards,
Martin