<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MC13213 &amp; MAC/PHY codebase - Noise issue? in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208265#M17695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;If the modem goes idle after a repeatable period, you might have an issue with timer comparator 3 expiring, as listed in the errata, below.&amp;nbsp; Typically this will happen after 67 seconds, but could also happen 2x, 4x, 8x, or 16x after that.&amp;nbsp; To fix the bug, be sure to enable timer comparator 3 interrupts and restart the receiver when it pops.&amp;nbsp; To help identify if this is the case, you can enable the Out of Idle indicator and see if the transceiver gets stuck idle.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Timer Comparator 3 can abort an RX sequence - If an RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;sequence (Packet Mode) is active and Timer Comp 3 matches&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;the value of the Event Timer “current time” counter, the RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;sequence will be aborted. No status bit is set and no interrupt can&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;be generated. Exit from RX mode can only be detected by using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;GPIO1 as an “out-of-idle” indicator.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Freescale IEEE 802.15.4 MAC (and BeeStack) software already&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;deals with and compensates for this situation.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;If users are writing their own software (such as using SMAC), this&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;condition should be compensated for.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;P align="left"&gt;&lt;B&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Note:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;The Freescale IEEE 802.15.4 MAC and&lt;/FONT&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;BeeStack (which uses the MAC) already&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;compensate for this condition.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;For users writing their own applications:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;a) Never let the counter reach the compare value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;in Time Comp 3 register.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;b) Enable Timer Compare 3 always to generate an&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;interrupt. If the interrupt occurs and the RX state&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;was enabled. Take appropriate action, such as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;restarting RX.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;c) Monitor the “out-of_idle” indicator while in RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;mode.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2008 01:29:04 GMT</pubDate>
    <dc:creator>RichTestardi</dc:creator>
    <dc:date>2008-12-10T01:29:04Z</dc:date>
    <item>
      <title>MC13213 &amp; MAC/PHY codebase - Noise issue?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208264#M17694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I built a custom board using MC13213 for lighting application. I use a relays for switch on and off the lamp. Sometimes, after swtich on or off the lamp, the modem stops to work and restart after 4 minutes and sometimes never restart, I must reset manually the board. I suppose that problem is caused by an interference with the lamp switching circuit because without lamp this problem doesn't happen. Can this delay depends on a software timeout? And is it programmable? Can I check if the modem stops to work properly by some status registers or something else? Thank you, Filippo&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by Spell on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-12-09&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;09:52 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 16:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208264#M17694</guid>
      <dc:creator>Spell</dc:creator>
      <dc:date>2008-12-09T16:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: MC13213 &amp; MAC/PHY codebase - Noise issue?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208265#M17695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;If the modem goes idle after a repeatable period, you might have an issue with timer comparator 3 expiring, as listed in the errata, below.&amp;nbsp; Typically this will happen after 67 seconds, but could also happen 2x, 4x, 8x, or 16x after that.&amp;nbsp; To fix the bug, be sure to enable timer comparator 3 interrupts and restart the receiver when it pops.&amp;nbsp; To help identify if this is the case, you can enable the Out of Idle indicator and see if the transceiver gets stuck idle.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Timer Comparator 3 can abort an RX sequence - If an RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;sequence (Packet Mode) is active and Timer Comp 3 matches&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;the value of the Event Timer “current time” counter, the RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;sequence will be aborted. No status bit is set and no interrupt can&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;be generated. Exit from RX mode can only be detected by using&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;GPIO1 as an “out-of-idle” indicator.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Freescale IEEE 802.15.4 MAC (and BeeStack) software already&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;deals with and compensates for this situation.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;If users are writing their own software (such as using SMAC), this&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;condition should be compensated for.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;P align="left"&gt;&lt;B&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;Note:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;The Freescale IEEE 802.15.4 MAC and&lt;/FONT&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;BeeStack (which uses the MAC) already&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;compensate for this condition.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;For users writing their own applications:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;a) Never let the counter reach the compare value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;in Time Comp 3 register.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;b) Enable Timer Compare 3 always to generate an&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;interrupt. If the interrupt occurs and the RX state&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;was enabled. Take appropriate action, such as&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;restarting RX.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;c) Monitor the “out-of_idle” indicator while in RX&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial" size="1"&gt;&lt;FONT face="Arial" size="1"&gt;mode.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 01:29:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208265#M17695</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-10T01:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: MC13213 &amp; MAC/PHY codebase - Noise issue?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208266#M17696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks Rich T, I knew this kind of problem.&lt;BR /&gt;I'm using Freescale 802.15.4 MAC/PHY codebase so I thought to be ok.&lt;BR /&gt;&lt;BR /&gt;Anyway the Reference Manual suggests to enable the tmr_cmp and the interrupt but in the modem initialization routine I found the interrupt is disable.&lt;BR /&gt;&lt;BR /&gt;I have to manually enable it?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;filippo&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 17:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208266#M17696</guid>
      <dc:creator>Spell</dc:creator>
      <dc:date>2008-12-11T17:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: MC13213 &amp; MAC/PHY codebase - Noise issue?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208267#M17697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm not familiar with that codebase, so they might have worked around the bug using one of the other methods, or in another way, so this very well may not be your problem.&amp;nbsp; Can you dump all of the transceiver registers before and after the "hang"?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I believe the easiest way to tell if this is the issue is to enable the "Out of Idle" indicator on pin 44 (assuming pins 43 and 44 are amenable to this in your circuit and MCU configuration -- see table 3-2 in the Reference Manual) and monitor it to see if the transceiver mysteriously goes idle when the issue arises -- mine always went idle after exactly 67 seconds (see table 6-1 for possible&amp;nbsp;timer periods, multiples or fractions of 67 seconds).&amp;nbsp; Alternately you could also try changing the timer 3 compare value and see if the problem occurs after a different amount of time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 21:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC13213-MAC-PHY-codebase-Noise-issue/m-p/208267#M17697</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-11T21:55:28Z</dc:date>
    </item>
  </channel>
</rss>

