PDA

View Full Version : Use any pin as tmr input?



jmgelba
- 11th October 2016, 20:19
Is there a way to use any pin as an input to the timers? I need to add a feature to a currently in production design that reads 2 frequencies but the CCP1 and CCP2 pins are currently used for other things.
The device is 18F2550 @ 20mhz.

HenrikOlsson
- 11th October 2016, 20:50
For that you need a device with PPS, Peripheral Pin Select, the 18F2550 doesn't have that.
Perhaps the 18F27J53 can work in its place (it's just the first one I found so make sure to look around).

/Henrik.