timers

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

timers

1,028件の閲覧回数
amelendez
Contributor II

I need to supervise 6 encoders.

The LPC1778 has only four timers for capture and counter pulses.

Can two channels of the same timer be used for capture and count at the same time the pulses of two differents encoders ?.

Thanks.

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

1,005件の閲覧回数
amelendez
Contributor II

Thanks, Felipe. Understood. Best regards.

0 件の賞賛
返信

1,016件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

Unfortunately, I am afraid this will not be possible as you need to select the input capture pin in Count Control Register (CTCR) and you cannot select both channels at the same time, you will need to be switching between channels and reconfiguring the timer.

FelipeGarcia_0-1615483357688.png

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

------------------------------------------------------------------------------ 

0 件の賞賛
返信