ICP and AVR-Studio

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

how can i simulate the ICP (Input Capture Port) with AVR-Studio.

I cant find any option to set this pin.

thanks,

Marc

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Which processor is this?

Lee

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

at90s8515

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think you tickle ICF1 in TIFR. See the block diagram of ICP in the data sheet, and the write-up on ICF1.

Lee