<?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>LPC MicrocontrollersのトピックRe: LPC11Cxx C_CAN controller msgobject ignored</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530386#M9995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Harrie on Mon Sep 28 03:47:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hereby a more detailed explanation of the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the the CAN-rx function the pre-defined receive msgobjects are checked using a switch statement &lt;/SPAN&gt;&lt;I&gt;switch (msg_obj.msgobj)&lt;/I&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In its different cases the data from its corresponding msgobject is processed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue only takes place when the it is programmed to transmit CAN messages,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which effectively results into ignoring the incoming msgobject with the highest frequency ~500us on the canbus. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When transmitting at a rate of one message every 100ms, the problem occurs after approximately 15 to 30 minutes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But with a higher transmission rate the system starts to ignore the msgobject even sooner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem only occurs when the system is programmed to transmit messages, hence no transmission results in a functional system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, reading the MSGVALID bit does not disclose the cause of the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:32:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:32:10Z</dc:date>
    <item>
      <title>LPC11Cxx C_CAN controller msgobject ignored</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530383#M9992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Harrie on Wed Sep 23 01:18:35 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I am currently facing a problem, where only one particular msgobject is ignored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- The baud-rate for the CAN bus is set to 250 kb/s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Each msgobject is masked to only permit single identifier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem only seems to occur when messages for this msgobject are received at a rate of approximately 500 us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Upon ignoring this message, messages coming from other identifiers remain to be processed correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no control of the sending nodes, hence I seek a solution for this problem for the receiving side (LPC11C24).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this problem I already arranged the msgobjects by priority, however solution this didn't help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice or suggestion leading to solving this problem is welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530383#M9992</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx C_CAN controller msgobject ignored</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530384#M9993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Harrie on Thu Sep 24 06:14:13 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;While still searching for a solution, the following temporary workaround was found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Disabling the transmission of CAN messages from the LPC11C24, avoids the msgobject from getting ignored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although this seems to avoid the problem from occurring, a solution which enables the transmission of CAN messages is desired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530384#M9993</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx C_CAN controller msgobject ignored</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530385#M9994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Sat Sep 26 07:29:17 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;When you say "ignore", what do you mean? The MSGVALID bit?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe we could help you if you describe explicitly what you are doing, what behavior you are expecting, and what you actually observe?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530385#M9994</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx C_CAN controller msgobject ignored</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530386#M9995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Harrie on Mon Sep 28 03:47:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hereby a more detailed explanation of the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the the CAN-rx function the pre-defined receive msgobjects are checked using a switch statement &lt;/SPAN&gt;&lt;I&gt;switch (msg_obj.msgobj)&lt;/I&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In its different cases the data from its corresponding msgobject is processed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue only takes place when the it is programmed to transmit CAN messages,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which effectively results into ignoring the incoming msgobject with the highest frequency ~500us on the canbus. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When transmitting at a rate of one message every 100ms, the problem occurs after approximately 15 to 30 minutes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But with a higher transmission rate the system starts to ignore the msgobject even sooner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem only occurs when the system is programmed to transmit messages, hence no transmission results in a functional system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, reading the MSGVALID bit does not disclose the cause of the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530386#M9995</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11Cxx C_CAN controller msgobject ignored</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530387#M9996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Sep 29 00:53:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Harrie&lt;/STRONG&gt;&lt;BR /&gt;The issue only takes place when the it is programmed to transmit CAN messages,&lt;BR /&gt;which effectively results into ignoring the incoming msgobject with the highest frequency ~500us on the canbus.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Note that at that frequency the CAN bus is close to its capacity (depending on the size of the data in the message).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Harrie&lt;/STRONG&gt;&lt;BR /&gt;When transmitting at a rate of one message every 100ms, the problem occurs after approximately 15 to 30 minutes.&lt;BR /&gt;But with a higher transmission rate the system starts to ignore the msgobject even sooner.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;I would guess that you have some race condition, for example some mistake in your interrupt handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11Cxx-C-CAN-controller-msgobject-ignored/m-p/530387#M9996</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:32:11Z</dc:date>
    </item>
  </channel>
</rss>

