mehmetgok Posted August 25, 2012 Report Share Posted August 25, 2012 I will upload ZPUINO to my papilio board 500K. I want to learn about gpio and interrupt response speed of Zpuino with modified Arduino IDE. For example, I will trace two different external interrupts triggering at 1MHz and at 100KHz. Can I do this? Link to comment Share on other sites More sharing options...
ivanjh Posted August 30, 2012 Report Share Posted August 30, 2012 Hmm... I don't think the standard zpuino has external interrupt support.You may have to create your own customised zpuino to achieve this.If you're not familiar with VHDL, learning to do this will take some learning (~dozens of hours). Link to comment Share on other sites More sharing options...
mehmetgok Posted August 30, 2012 Author Report Share Posted August 30, 2012 I looked at that url:http://www.alvie.com/zpuino/releasenotes.htmlIt is saying it has two external interrupts for Alpha 4. Can I use those? Link to comment Share on other sites More sharing options...
ivanjh Posted August 30, 2012 Report Share Posted August 30, 2012 I think the "Alpha 4" is quite an old iteration, and that comment mightn't be relevant to current code.That being said... I did a little checking.It looks like zpuino_io instantiates a zpuino_intr (interrupt controller) with INTERRUPT_LINES => 18The interrupts are on signal "ivecs" (17 downto 0);It then maps the 16 slot interrupts onto "ivecs" (0 to 15).That does leave 2 interrupt lines "dangling around".In fact, if you check the build log, you'll see:WARNING:Xst:653 - Signal <ivecs<17:16>> is used but never assigned. This sourceless signal will be automatically connected to value 00.That's confirmation that those extra interrupts aren't connected anywhere, and would be optimized away in the actual bitfile.So, you could use them... but you'd need to mod the VHDL and synth your own bitfile. But if you're making your own... you wouldn't need to rely on those two - as you could just hook the ones exposed for the wishbone bus. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.