Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Hardware:
http://forum.niosforum.com/forum/index.php...ded&show=&st=&# (http://forum.niosforum.com/forum/index.php?showtopic=4979&pid=18913&mode=threaded&show=&st=&#) Software: use IOWR... and IORD... macros to avoid cache you can check some Altera provided drivers (SPI and PIO are simple examples) C:\altera\quartus60\sopc_builder\components - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iztok.jeras@Nov 30 2006, 04:39 AM hardware:http://forum.niosforum.com/forum/index.php...ded&show=&st=&# (http://forum.niosforum.com/forum/index.php?showtopic=4979&pid=18913&mode=threaded&show=&st=&#)
software:
use iowr... and iord... macros to avoid cache
you can check some altera provided drivers (spi and pio are simple examples)
c:\altera\quartus60\sopc_builder\components
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19706)
--- quote end ---
--- Quote End --- Hi , iztok.jeras thanks for your replies. Regards Faye
- Altera_Forum
Honored Contributor
Hi guys.
I'm a beginner using Nios II software and i need some advices for controlling an external camera connected to PROTO1 block in an Altera development board mounting EP2C35 FPGA. On SOPC i added a couple of PIO(??) for Ctrl bits and Data bits of the Camera,ABLE to Call IRQs. System Generation is ok,compilation is ok, software is ok , BUT: 1)If i try to read the pio ports,these are always 0 (it seems no datas eventhough the oscilloscope show datas present); 1) program stops when reach alt_irq_register(a,b,c) instruction; Have i to add an avalon tristate bridge for allowing pios's interface or it's enough to add pios on SOPC and use pin planner? I've done the second but happen 1) and 2) Thank you very much Paolo