nios II sratixII interrupt handling with uController

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

Reply to
badari.joshi
Loading thread data ...

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).

Reply to
David Brown

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

Reply to
badari.joshi

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

Reply to
badari.joshi

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

Reply to
GMM50

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.