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 by ●February 7, 20062006-02-07
I'm trying to get RC5 coded IR signal on nios from a micro controller
Reply by ●February 7, 20062006-02-07
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 by David Brown●February 7, 20062006-02-07
badari.joshi@gmail.com wrote:
> 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).
Reply by ●February 7, 20062006-02-07
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