nios II sratixII interrupt handling with uController

Feb 07, 2006 4 Replies

hi all! I'm using NiosII with StratixII. i wanted to get interrupts from a micro controller of 7.393MHz Oscillator which generates half the oscillator clock. Nios works at 50Mhz. so what modification i need to do on nios



You should not need anything special - just treat the incoming interrupt signal as an asynchronous input (use a couple of latches to reduce the chance of metastability).

The problem is i'm getiing input as a pattern say a signal from an IR receiver which will be converted to digital with an ADC. i must measure the delay between rising edge and falling edge. if i use 50Mhz clock on nios , will i be able to get same delays as micro controller gets at 7 odd Mhz

I'm trying to get RC5 coded IR signal on nios from a micro controller

Why not disign custom logic that runs a counter and measure the difference in the edges of interest? Then latch that counter results and read it into the NIOS.

gm

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required