lpcware

decoding pwm input

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by miccio on Thu Sep 03 15:47:13 MST 2015
Hello everyone,

I have a sensor that outputs a PWM signal of approximately 250 Hz frequency (1us resolution so 12 bits) and I would like to read its output but I am unsure on which peripheral I should use and how. Any suggestion or code example?
I recently moved to the LPC15 series and I'm currently developing on the LPCXpresso1549 board.

Thanks in advance :)

Outcomes