Hello,
how can i simulate the ICP (Input Capture Port) with AVR-Studio.
I cant find any option to set this pin.
thanks,
Marc
Hello,
how can i simulate the ICP (Input Capture Port) with AVR-Studio.
I cant find any option to set this pin.
thanks,
Marc
I haven't done it, but wouldn't you just set up the port pin as needed for ICP, and then toggle the pin with mouse click or script? (i.e., the same as simulating any other input.)
Lee
the problem is, that the ICP pin is not on any port like external interrupts on portd it is a extra pin and i cant find it in avr studio.
Which processor is this?
Lee
at90s8515
I think you tickle ICF1 in TIFR. See the block diagram of ICP in the data sheet, and the write-up on ICF1.
Lee