Altera_Forum
Honored Contributor
11 years agoHelp with making an osciloscope on NIOS II
Good day every one!
I would like to make a simple 6 channel, 250 kSa oscilloscope using NIOS II/f. I am using DE0-NANO (Cyclone IV, 32 MB SDRAM) and I already have device built (6 channel ADC connected to SDRAM, pushbuttons, graphical LCD, some batteries). Now main problem: I wrote driver for my ADC and DATA is extracted by parallel ports. My first attempt was to write data from 6 PIO to SDRAM using CPU (but as you can guess, this task was killing any other IRQ). Later I was trying using DMA, SGDMA and mSGDMA to copy data from PIO to SDRAM, but without any success (I have spend so many hours on this... :evil: I hate myself). What I would like to ask you is to help me find best way getting this data (10 000 samples per channel) into SDRAM. Please help me with this matter, any guide will do. Best Regards Michael