Question on Arduino Interrupts, rsp Interrupt-sampling


friends, need enlightenment  :smiley-confuse: :

field of action: arduino mega 256, atmel avr, 8bit

i intend use very short pulse trigger external interrupt (falling, if makes difference). in fact may theoretically shorter clock-cycle on arduino. datasheet not go in depth how intwhatever detected. rising/falling says detecting state change in between samples. now, ideally may flip-flop, capturing whatsoever (reasonably) short pulse or might port-sample (storing latest sample , applying boolean logic) being limited 1 or more clock-cycles of avr, requiring pulse last minimum of clock-cycles.

this important me, want keep circuit simple possible, flip-flop in hardware mean chip (ttl or gal), i'd love avoid.

regarding use:
i intend implement z80-shield old ones amoungst us, can play nice , speedy real cp/m-toy. thought wiring ioreq directly intwhatever in falling mode. thus, simple i/o-command z80, alert arduino. if had make arduino more sensible, mean implement mono-flop or waste pin reset of flip-flop (ok, might use m1 cycle reset it). depending on type of "master-cpu" attach, might on e.g. 50 mhz (ez80, maybe). mean cycle third of arduino cycle , might fast happens in between cycles of polling interrupt controller. not detected @ all!

yes right, experiment on , find out on own, not have signal generator, process lengthy , after ... basic question on avr, isn't it? surprised datasheet hasn't been more specific @ point (or did miss it?).

best regards , thank in advance hint (or pointer on forum-post or article or doc, searched did not come filled gaps).


the pin change interrupts trigger if pin "toggles", it's synchronous clock have problem suggest.

the intx interrupts can triggered "falling or rising edge or low level". haven't looked bu assume that's option set in control register somewhere.

so appear external interrupts suitable, it's in wording, have thought "toggling" edge detecting if @ diagram (15-1) on page 113 of 2560 data sheet if shows input clocked sr system clock. unfortunately there no such diagram external int pins , can't see in electrical characteristics section.



Arduino Forum > Using Arduino > Microcontrollers > Question on Arduino Interrupts, rsp Interrupt-sampling


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'