<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=5&amp;t=7015" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2011-02-22T16:11:54+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=5&amp;t=7015</id>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-02-22T16:11:54+01:00</updated>
<published>2011-02-22T16:11:54+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30288#p30288</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30288#p30288"/>
<title type="html"><![CDATA[CM-510 and interrupts]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30288#p30288"><![CDATA[
Hi ggismero,<br /><br />The zigbee is connected to the same circuit as the serial cable.  These lines interface with USART1.  <br /><br />The only input-related interrupt is RX complete.  This interrupt fires whenever a new byte is received by the USART.  So there is one interrupt for each byte in the packet.  There is no additional interrupt when the packet is complete so you will have to be parsing the received data to see if it's all there yet.  Hint: byte 4 of the packet tells you how many more bytes to expect.  <br /><br />It is usual practice to have the low-level interrupt routine move the byte into a buffer.  Then a higher-level routine, running in a loop, can parse the bytes to extract the packet and its contents.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Tue Feb 22, 2011 4:11 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ggismero]]></name></author>
<updated>2011-02-22T14:36:59+01:00</updated>
<published>2011-02-22T14:36:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30287#p30287</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30287#p30287"/>
<title type="html"><![CDATA[CM-510 and interrupts]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30287#p30287"><![CDATA[
Thanks for your answer,<br /><br />I found how to do it, but i've got troubles finding the right interruption.<br />For the ATmega2561 I found the next possible interrupts for the rx complete (from here: <!-- m --><a class="postlink" href="http://www.nongnu.org/avr-libc/user-manual/group__avr__interrupts.html">http://www.nongnu.org/avr-libc/user-man ... rupts.html</a><!-- m -->):<br />USART0_RX_vect <br />USART1_RX_vect <br />USART2_RX_vect <br />USART3_RX_vect <br /><br />Does anybody know the right interrupt that's triggered when the reception of a packet through zigbee is complete?<br /><br />Thanks,<br />Gonzalo<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2248">ggismero</a> — Tue Feb 22, 2011 2:36 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Fritzoid]]></name></author>
<updated>2011-02-22T12:24:44+01:00</updated>
<published>2011-02-22T12:24:44+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30284#p30284</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30284#p30284"/>
<title type="html"><![CDATA[CM-510 and interrupts]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30284#p30284"><![CDATA[
ggismero wrote:<br /><blockquote class="uncited"><div><br />It's possible to program interrupts in embebed C for CM-510?<br /></div></blockquote><br />Of course it is, you control the the entire machine!  In fact it's probably just the first step you should take in making useable firmware for the CM-510.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=438">Fritzoid</a> — Tue Feb 22, 2011 12:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ggismero]]></name></author>
<updated>2011-02-20T21:44:59+01:00</updated>
<published>2011-02-20T21:44:59+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30274#p30274</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30274#p30274"/>
<title type="html"><![CDATA[CM-510 and interrupts]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=7015&amp;p=30274#p30274"><![CDATA[
Hello, <br /><br />It's possible to program interrupts in embebed C for CM-510?<br /><br />I'm using Zigbee, and i want to put the received message in a buffer (becouse hardware only keeps the last message arrived). At the moment my main code is a loop which checks the state of Zigbee and then execute the real code, but it generates overhead, so i thought to change it to an interrupt that is called every time a package is received.<br /><br />Best regards,<br />Gonzalo.<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2248">ggismero</a> — Sun Feb 20, 2011 9:44 pm</p><hr />
]]></content>
</entry>
</feed>