Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

JPEG core with NiosII

Altera_Forum
Honored Contributor II
4,768 Views

Hi Every body 

i am working on project : JPEG core on FPGA  

Probably i will use NiosII development kit with STRATIX board and i will iterface the JPEG core with the NiosII as a new component so is this feasible? 

please give some suggest and help 

tanks
0 Kudos
27 Replies
Altera_Forum
Honored Contributor II
561 Views

Hi BadOmen. 

Another question for you.  

If i try to use the whole Portable Reference Platform project, and with Pin Planner i change the connections for placing camera&#39;s pins right and get free the ones of camera not used, will be ok? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ph34r.gif  

As you said,camera C3088 has it&#39;s own frequency source. 

So, if i exclude clock supplied from CPU to camera and i keep only camera one, could function? Obviously C program will be different and will be considered the diffrence between camera models 

Many thanks 

Paolo
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

I&#39;m not too familiar with that platform (yet) but that interface would use general purpose I/O so as long as you relocate the pins to other general purpose I/O you should be fine. I think if you use Pin Planner in Quartus you will be notified if you move the I/O to an invalid I/O location. Before you do this check the schematic for the board to make sure the PCB wouldn&#39;t cause you problems by moving the camera interface. 

 

My icon boiled down to Charlie Brown or Vic the Rattlehead.... somehow Charlie won.
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

Hi again. 

Yes,at the moment both relocate camera and the system himself it seems ok. 

Camera is placed where i want and not used pins of camera are been get free for avoiding wrong logic levels. 

Now it&#39;s time to create main C. 

Should i ask you some advices for C program? Lot of register are used..so,it&#39;s quite easy that i will lost myself. 

Thank you again. 

Paolo
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

Hi guys. 

Is there someone who could say me some explanations about DMA block inside Portable Reference Platform? For example,i need to transmit frames in CIF/QCIF mode.How could i use this ready made SOPC block? And another question. What is vga_16_irq_controller usefull for?Many thanks 

Paolo
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

Hi BadOmen.Sorry for another contact, but i really need some hurry advices for creating my project for thesis. 

Well, do you think that using dma Altera block in SOPC, is it possible to have a good transfer? At the moment i&#39;m using an interface for external camera with a FIFO inside(all in VHDL).Then i&#39;ve thought that DMA is the right way for transfer. 

If i set the DMA interrupt so that it will create an interrupt when a number of byte (for example as much as is a CIF frame) arrive,should it function? 

Have you some examples or suggests from your experience? 

thank you
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

For software advice my best recommendations would be to go through the software development tutorial that&#39;s supplied with the tools and also try out various software examples available from within the IDE. That&#39;ll cover a good mix of simple to medium level software development. Since you&#39;ll be doing some board interfacing, the software example "board_diag" would be a good one to see how to communicate to peripherals. 

 

The vga controller that you are looking at I believe is a master peripheral that you tell it where your frame buffer is located and it fetches the frame out of memory and displays it to the screen. This means you need to have VGA display hardware such as a Lancelot card (search the forum to find out more about that). 

 

You might be able to find other video examples in this forum under the IP section. Unfortunately I haven&#39;t had the opportunity to look into the portable reference design much so hopefully someone else will have more information to provide you. I believe that the hardware is setup for CIF video, however, I&#39;m not sure if QCIF is easily supported (i.e. you may need to make modifications).
0 Kudos
Altera_Forum
Honored Contributor II
561 Views

Ok...i&#39;ll try the builded system. 

Many thanks again
0 Kudos
Reply