<?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: Unable to transmit CAN messages in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579436#M4729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- About the CAN module routing , please refer to Reference Manual :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5470i5DC35D67C7E65193/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- I see you use the Processor Expert,&amp;nbsp; after you add the component of CAN, you can configure the pin on&lt;/P&gt;&lt;P&gt;the component directly :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5508i61DC34AFAEB02D31/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And there is demo code , you can also refer to : Right click the CAN component , then select "Help on component " ,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5572iF14B0CB399CAF751/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then select "Typical Usage" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5666i5818BCEA85EBAC33/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- If these all can not help you , could you please tell me which pin do you want to be used as CAN pin , and&lt;/P&gt;&lt;P&gt;does your question is you do not know how to configure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2016 10:19:30 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-09-09T10:19:30Z</dc:date>
    <item>
      <title>Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579433#M4726</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 new to MSCAN&amp;nbsp;and I am currently unable to transmit CAN messages. The micro controller is part of the&amp;nbsp;MC9S12ZVC family&amp;nbsp;and I&amp;nbsp;am using a&amp;nbsp;USB multilink universal debugger to communicate with the same. I am trying to code this using CodeWarrior with the help of Processor Expert. For the CAN messages to have&amp;nbsp;250k baud rate with a&amp;nbsp;20MHz external crystal or an internal oscillator of 1MHz what should the following flags be set to &amp;nbsp;-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;CAN0BTR0: SJW1, SJW0, BRP5, BRP4,&amp;nbsp;BRP3, BRP2, BRP1, BRP0&amp;nbsp;&lt;BR /&gt;&amp;nbsp;CAN0BTR1: SAMP, TSEG22, TSEG21, TSEG20,&amp;nbsp;TSEG13, TSEG12, TSEG11, TSEG10&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would deeply appreciate any help that comes my way.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:24:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579433#M4726</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-08-31T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579434#M4727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anurag,&lt;/P&gt;&lt;P&gt;Could you please describe your project in detail ?&lt;/P&gt;&lt;P&gt;What about the another CAN node communicate with MC9S12ZVC?&lt;/P&gt;&lt;P&gt;And which version of CW ? What about the code ? What about the problem ?&lt;/P&gt;&lt;P&gt;You can also show your project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 02:39:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579434#M4727</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-01T02:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579435#M4728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the specific problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the CAN has been exposed to 3 different cpu pins PS0-PS1, PS2-PS3 and then there is CANH and CANL(pin 29 and 31). We can't seem to get it to work with CANH and CANL. It works on the other ones. In the initial part of the documentation there are dashes meaning 1st, 2nd, 3rd, 4th functions dont exist. We have had very little luck modifying&amp;nbsp;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;MODRR0 to route it to these pins. It does not want to route MSCAN to CANPHY. So the question is has been removed and only 2 sets of CAN exists PS0-1 and PS2-3. I have attached the section with the dashes. We can't make heads or tails of it. &lt;span class="lia-inline-image-display-wrapper" image-alt="CANH_PHY.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5695i61E1B3C2FC4093CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="CANH_PHY.png" alt="CANH_PHY.png" /&gt;&lt;/span&gt;&amp;nbsp;If you could confirm these CAN lines have not been discontinued&amp;nbsp;can u please show us the exact way to configure it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 15:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579435#M4728</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-08T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579436#M4729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- About the CAN module routing , please refer to Reference Manual :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5470i5DC35D67C7E65193/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- I see you use the Processor Expert,&amp;nbsp; after you add the component of CAN, you can configure the pin on&lt;/P&gt;&lt;P&gt;the component directly :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5508i61DC34AFAEB02D31/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And there is demo code , you can also refer to : Right click the CAN component , then select "Help on component " ,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5572iF14B0CB399CAF751/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then select "Typical Usage" :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5666i5818BCEA85EBAC33/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- If these all can not help you , could you please tell me which pin do you want to be used as CAN pin , and&lt;/P&gt;&lt;P&gt;does your question is you do not know how to configure ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 10:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579436#M4729</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-09T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579437#M4730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;Thanks for your detailed answer. Unfortunately i dont see the options what you see. Is this a version issue or could it be a bug in the specific version of processor expert for our processor. We specifically want to use the pin 29 and 31 because our board uses these pins. Is there a backdoor option of check why we are not seeing anything other than MSCAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CANH_PHY2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6866iB08AA12D23DD5ACE/image-size/large?v=v2&amp;amp;px=999" role="button" title="CANH_PHY2.png" alt="CANH_PHY2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 13:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579437#M4730</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-09T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579438#M4731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like this is available in Port/IO routing but i am still struggling to transmit a message. Do we need to do anything on VCanphy0 interrupt service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 17:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579438#M4731</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-09T17:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579439#M4732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;We need the CAN messages to show up on pins 29 and 31. They seem to show up just fine on&amp;nbsp;PS2 (pin 36). I think the problem lies in routing the CAN messages to the required pin. From what we understand the register responsible for routing the CAN lines is&amp;nbsp;MODRR0 which we tried setting to values from 0x00 to 0x07 with no success. Below are the registers values we are setting -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14176iA9C60D4000E25AD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have also tried&amp;nbsp;toggling the Split enable on and off but it doesn't seem to have any effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you think of any registers that we need to set or any flags that we are required to enable to route the CAN lines to PIN 29 and 31? Once again deeply appreciate &amp;nbsp;your help regarding this matter.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 21:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579439#M4732</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-09T21:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579440#M4733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alice, i am willing to bet CANH and CANL signals are not available on ZVCA package and will need a transceiver to translate the MSCAN signals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 22:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579440#M4733</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-10T22:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579441#M4734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahendra,&lt;/P&gt;&lt;P&gt;- Yes,&amp;nbsp; in the chip of MC9S12ZVC128MKH,&amp;nbsp; the pins CANH and CANL signal are not available,&lt;/P&gt;&lt;P&gt;we can see it from the Reference Manual, you also show it on the former information :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5247i08B0122CDD34F9D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- About the Processor Expert configuration , please select the "Advanced", then you can see the more conifguration&lt;/P&gt;&lt;P&gt;selection :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5302iC79273DCECCCBB4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Mon, 12 Sep 2016 06:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579441#M4734</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-09-12T06:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to transmit CAN messages</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579442#M4735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Alice. Really appreciate you looking it up and confirming it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Unable-to-transmit-CAN-messages/m-p/579442#M4735</guid>
      <dc:creator>jmu</dc:creator>
      <dc:date>2016-09-12T12:36:24Z</dc:date>
    </item>
  </channel>
</rss>

