<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックEMI/EMC for 5329EVB and LTIB</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EMI-EMC-for-5329EVB-and-LTIB/m-p/167309#M5910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case this helps the next guy...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(this is only my opinion, your mileage may vary, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PSTCLK on the BDM connector may be a significant source of emissions at 120MHz (half the CPU clock) and it's harmonics.&amp;nbsp; To turn this off in your shipping product (because turning it off earlier disables BDM debugging), you can execute the supervisor instruction WDEBUG, setting the proper bit in the CSR.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using uCLinux and the LTIB, there's a convenient flag that can be set under kernel configuration, kernel hacking, to set CONFIG_BDM_DISABLE.&amp;nbsp; It seems like this was intended to enable a bit of code in arch/m68knommu/platform/532x/config.c that will execute the proper WDEBUG command for you.&amp;nbsp; The catch is that it seems as if somewhere along the lines, this used to be called MCF_BDM_DISABLE (in the version of the LTIB that I'm using...kernel 2.6.17.1).&amp;nbsp; So to make the kernel configuration flag work, rename MCF_BDM_DISABLE to CONFIG_BDM_DISABLE in config.c, and rebuild the kernel.&amp;nbsp; Voila! you've got a kernel configuration flag that you can set on your shipping code, and clear when you need to debug using the BDM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jpa&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 21:25:03 GMT</pubDate>
    <dc:creator>jpa</dc:creator>
    <dc:date>2008-06-24T21:25:03Z</dc:date>
    <item>
      <title>EMI/EMC for 5329EVB and LTIB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EMI-EMC-for-5329EVB-and-LTIB/m-p/167309#M5910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case this helps the next guy...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(this is only my opinion, your mileage may vary, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The PSTCLK on the BDM connector may be a significant source of emissions at 120MHz (half the CPU clock) and it's harmonics.&amp;nbsp; To turn this off in your shipping product (because turning it off earlier disables BDM debugging), you can execute the supervisor instruction WDEBUG, setting the proper bit in the CSR.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using uCLinux and the LTIB, there's a convenient flag that can be set under kernel configuration, kernel hacking, to set CONFIG_BDM_DISABLE.&amp;nbsp; It seems like this was intended to enable a bit of code in arch/m68knommu/platform/532x/config.c that will execute the proper WDEBUG command for you.&amp;nbsp; The catch is that it seems as if somewhere along the lines, this used to be called MCF_BDM_DISABLE (in the version of the LTIB that I'm using...kernel 2.6.17.1).&amp;nbsp; So to make the kernel configuration flag work, rename MCF_BDM_DISABLE to CONFIG_BDM_DISABLE in config.c, and rebuild the kernel.&amp;nbsp; Voila! you've got a kernel configuration flag that you can set on your shipping code, and clear when you need to debug using the BDM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;jpa&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 21:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EMI-EMC-for-5329EVB-and-LTIB/m-p/167309#M5910</guid>
      <dc:creator>jpa</dc:creator>
      <dc:date>2008-06-24T21:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: EMI/EMC for 5329EVB and LTIB</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EMI-EMC-for-5329EVB-and-LTIB/m-p/167310#M5911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks for pointing this out.&amp;nbsp; I'll make sure this gets added to future&lt;BR /&gt;uClinux releases.&amp;nbsp; Very helpful post.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Matt&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 22:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/EMI-EMC-for-5329EVB-and-LTIB/m-p/167310#M5911</guid>
      <dc:creator>mwaddel</dc:creator>
      <dc:date>2008-06-24T22:04:09Z</dc:date>
    </item>
  </channel>
</rss>

