Main Site Documentation

G120 Pulse counting using timerX pin capture feature


#1

Hi All,

I’ve successfully used in the past a FEZ Cobra (EMX module) and the code at page 91 (Section 33 - Managed Drivers, 33.1 Pulse Counter) using PCONP, PINSEL0,T2TCR,T2PR,T2CTCR,T2CCR,T2MCR and T2TC registers for fast pulse counting on an external EMX pin.

Is there any way to do this again with a COBRA2 board (G120 module) ? Would someone have a simple example like the one in the old GHI book?

Cheers for all the great work on the G120 guys,

Jean-Francois.


#2

I just posted a code share for you
take look @
https://www.ghielectronics.com/community/codeshare/entry/753


#3

Thanks Mike


#4

Thanks Mike Cormier!

I just love the support at GHI :slight_smile:

Cheers guys,
JF