STM did not work?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

STM did not work?

762件の閲覧回数
xiexiaopeng
Contributor II

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?

pastedImage_1.png

0 件の賞賛
返信
1 返信

601件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

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

0 件の賞賛
返信