<?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>S12 / MagniV Microcontrollers中的主题 Re: 9S12XEP100 CAN 2,0B</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XEP100-CAN-2-0B/m-p/594770#M12978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;The msCAN module in S12XE devices is able to send and receive CAN messages in both standard and extended message formats.&lt;/P&gt;&lt;P&gt;If you set acceptance filter that both message formats may pass through it, the CAN module can receive both 2.0A and 2.0B messages, and you just need to check IDE bit to check whether the message is CAN 2.0A or 2.0B format.&lt;/P&gt;&lt;P&gt;Note: 2.0A format = standard format; 2.0B format = extended format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want send CAN message, you have to fill Message buffer which consist from:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;four Identifier registers (4B, IDR0~3),&lt;/LI&gt;&lt;LI&gt;eight Data Segment registers (8B, DSR0~7),&lt;/LI&gt;&lt;LI&gt;one Data Length register (1B, DLR),&lt;/LI&gt;&lt;LI&gt;one Transmit Buffer Priority register (1B, TBPR),&lt;/LI&gt;&lt;LI&gt;two Time Stamp registers (2B, TSRH and TSRL)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The IDE bit is the fourth bit in IDR1 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached compilation of CAN example codes for your reference.&lt;/P&gt;&lt;P&gt;Note: The example codes was created for slightly older S12XD family, however, the module is the same and you can use CAN related code also for S12XE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More S12XE example codes could be downloaded here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95116"&gt;https://community.nxp.com/docs/DOC-95116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="11493" data-containertype="14" data-objectid="329209" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329209"&gt;https://community.nxp.com/docs/DOC-329209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 11:20:58 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2016-07-21T11:20:58Z</dc:date>
    <item>
      <title>9S12XEP100 CAN 2,0B</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XEP100-CAN-2-0B/m-p/594769#M12977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using 9S12XEP100 and want to know about CAN module setting.&lt;/P&gt;&lt;P&gt;My question is how to set to receive a CAN 2.0B message.&lt;/P&gt;&lt;P&gt;Which REG or bit needs to be set for CAN 2.0A/2.0B receive?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or in receive mode, CAN module can receive both 2.0A and 2.0B, and I just need to check IDE bit to check the message is CAN 2.0A or 2.0B?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 09:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XEP100-CAN-2-0B/m-p/594769#M12977</guid>
      <dc:creator>peteyo</dc:creator>
      <dc:date>2016-07-21T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: 9S12XEP100 CAN 2,0B</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XEP100-CAN-2-0B/m-p/594770#M12978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;The msCAN module in S12XE devices is able to send and receive CAN messages in both standard and extended message formats.&lt;/P&gt;&lt;P&gt;If you set acceptance filter that both message formats may pass through it, the CAN module can receive both 2.0A and 2.0B messages, and you just need to check IDE bit to check whether the message is CAN 2.0A or 2.0B format.&lt;/P&gt;&lt;P&gt;Note: 2.0A format = standard format; 2.0B format = extended format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want send CAN message, you have to fill Message buffer which consist from:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;four Identifier registers (4B, IDR0~3),&lt;/LI&gt;&lt;LI&gt;eight Data Segment registers (8B, DSR0~7),&lt;/LI&gt;&lt;LI&gt;one Data Length register (1B, DLR),&lt;/LI&gt;&lt;LI&gt;one Transmit Buffer Priority register (1B, TBPR),&lt;/LI&gt;&lt;LI&gt;two Time Stamp registers (2B, TSRH and TSRL)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The IDE bit is the fourth bit in IDR1 register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attached compilation of CAN example codes for your reference.&lt;/P&gt;&lt;P&gt;Note: The example codes was created for slightly older S12XD family, however, the module is the same and you can use CAN related code also for S12XE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More S12XE example codes could be downloaded here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95116"&gt;https://community.nxp.com/docs/DOC-95116&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="11493" data-containertype="14" data-objectid="329209" data-objecttype="102" href="https://community.nxp.com/docs/DOC-329209"&gt;https://community.nxp.com/docs/DOC-329209&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 11:20:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/9S12XEP100-CAN-2-0B/m-p/594770#M12978</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2016-07-21T11:20:58Z</dc:date>
    </item>
  </channel>
</rss>

