Quad time setting problems

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

Quad time setting problems

671件の閲覧回数
jamesli
Contributor IV

 I try to setting timer C1 using CW 10.7 PE, but cannot set it to be triggered by C2 output and counts a number of IFbus pulses and output from TC1 to external circuit when success compare, the second source is only list input pins, not output pin. Primary source cannot selected to trigger counting IFbus, Is there any body know how to set this up. It seems the timer does not behaviours as manual described. 

ラベル(1)
0 件の賞賛
3 返答(返信)

418件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Jian Li,

Can you tell me the DSC part number you are using?  I see you use quadTimer group, can you tell me which counting mode you are using? There are multiple counting mode for your scenario:

1)Signed-Count Mode

2)Triggered-Count Mode 1 and 2

3)One-Shot Mode

BR

Xiangjun Rong

0 件の賞賛

418件の閲覧回数
jamesli
Contributor IV

Hi, Xiangjun.rong:

Thank you for help, here is PE generated code, it does generate a pulse on TC1 pin, but I cannot change pulse width, when I change compare and compare load register values from 45 to 100. Also I tried different settings, none of them works as expected.

 CaptureTimerC1.PNG

Jian Li

0 件の賞賛

418件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, LiJian,

How about setting the output mode as "Toggle OFLAG output on successful compare"?

BR

Xiangjun Rong

0 件の賞賛