timers

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

timers

517 Views
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.

Labels (1)
0 Kudos
2 Replies

494 Views
amelendez
Contributor II

Thanks, Felipe. Understood. Best regards.

0 Kudos

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