Pages: [1]   Go Down
Author Topic: Timer Interrupt Capture ICP  (Read 1245 times)
0 Members and 1 Guest are viewing this topic.
France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 266
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I'm using arduino mega board but cannot find pin number for ICP1 and ICP3.

So far, it looks like ICP4 is Pin 49 and ICP5 is Pin 48.

If someone has used ICP with 16-bit times (timer1, timer3, timer4 and timer5), maybe could tell me what are Pins of ICP1 and ICP3 ?

Thank you, Albert
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Judging by the Mega 2560 reference schematic, those two pins (9 and 47 on the chip) are not brought out to any pins on the board.
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 266
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Aie aie aie... too bad and wonder why this choice !

In fact, i'm using an arduino mega 1280 so I guess it will be same situation, no ICP1 and ICP3 signals routed to specific pins  smiley-confuse
Logged

France
Offline Offline
Sr. Member
****
Karma: 0
Posts: 266
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On a side note, i've noticed also upon viewing arduino mega schematics that it is not possible to generate ICP1 via ACO (Analog Comparator Output) making specific use of AIN0 and AIN1 pins input !

So yes, arduino mega can only manage ICP4 and ICP5 hence use only timer4 and timer5 as time stamper, data logger, PWM duty cycle or PWM frequency estimate...
Logged

Pages: [1]   Go Up
Jump to: