Forum Discussion
Altera_Forum
Honored Contributor
17 years agoPIO
Hi all, I'm trying to write/read to and from some PIO. I have read as much as I can find about this topic on the forums and nios wiki but im not having much luck. Ive made a little test pro...
Altera_Forum
Honored Contributor
17 years ago<div class='quotetop'>QUOTE (hippo @ Aug 7 2009, 10:54 AM) <{post_snapback}> (index.php?act=findpost&pid=23449)</div>
--- Quote Start --- You will need to bypass cache by turning on address bit 31. writew(0xFFFF,0x10402020 | 0x80000000); //data - Hippo[/b] --- Quote End --- Hi, what does that acually mean? Unfortunately that didn't work. My output port are all set to high no matter what. Also, I have two ports, one output and one bidirectional. Is there a way to change the direction of a port? Or does writew /readw take care of that?