<?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>Processor Expert SoftwareのトピックRe: MSCAN spamming CAN bus</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440414#M3583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had my usb-to-CAN device on "listen only", so the MSCAN device never saw the acknowledge for the message so it would send it again and again.&amp;nbsp; So really MQX-Lite was behaving correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2015 14:34:41 GMT</pubDate>
    <dc:creator>samkreuze</dc:creator>
    <dc:date>2015-11-30T14:34:41Z</dc:date>
    <item>
      <title>MSCAN spamming CAN bus</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440412#M3581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm trying to send CAN messages from a MKE06Z128VLH4 running MQXLite using the MSCAN processor expert component.&amp;nbsp; I am able to receive, however, when I try to transmit, I send one message then the processor keeps spamming the same message repeatedly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure my code is not sending the messages repeatedly. So the MSCAN driver must be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LDD_CAN_TFrame FrameTX1;&lt;/P&gt;&lt;P&gt;uint8_t frameData[] =&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };&lt;/P&gt;&lt;P&gt;LDD_TError error;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FrameTX1.MessageID = (message.id | 0x00000000);&lt;/P&gt;&lt;P&gt;FrameTX1.FrameType = LDD_CAN_DATA_FRAME;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FrameTX1.Length = 8;&lt;/P&gt;&lt;P&gt;FrameTX1.Data = frameData;&lt;/P&gt;&lt;P&gt;error = CAN_SendFrame(g_CANPtr, 1U, &amp;amp;FrameTX1);&lt;/P&gt;&lt;P&gt;if (error)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mutex_lock(&amp;amp;g_printMutex);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("CAN TX 1 ERROR : %d\n\r", error);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mutex_unlock(&amp;amp;g_printMutex);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not receive any errors. I can see the messages being spammed repeatedly on my scope. Is there something in the component I set up wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 19:20:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440412#M3581</guid>
      <dc:creator>samkreuze</dc:creator>
      <dc:date>2015-11-24T19:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: MSCAN spamming CAN bus</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440413#M3582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sam&lt;BR /&gt;I see you use MQX-Lite, for "sending the messages repeatedly" , whether is the reason of the MQX task start repeatedly ?&lt;/P&gt;&lt;P&gt;If you not sure ,you can copy your code to bareboard(without MQX ) project to have a try .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope&amp;nbsp; it helps !&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 03:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440413#M3582</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-11-25T03:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: MSCAN spamming CAN bus</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440414#M3583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had my usb-to-CAN device on "listen only", so the MSCAN device never saw the acknowledge for the message so it would send it again and again.&amp;nbsp; So really MQX-Lite was behaving correctly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 14:34:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MSCAN-spamming-CAN-bus/m-p/440414#M3583</guid>
      <dc:creator>samkreuze</dc:creator>
      <dc:date>2015-11-30T14:34:41Z</dc:date>
    </item>
  </channel>
</rss>

