Quad time setting problems

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

Quad time setting problems

653 Views
jamesli
Contributor III

 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. 

Labels (1)
0 Kudos
3 Replies

400 Views
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 Kudos

400 Views
jamesli
Contributor III

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 Kudos

400 Views
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 Kudos