<?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 Unable to receive data into buffer for Check_CAN_MB_Status in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-receive-data-into-buffer-for-Check-CAN-MB-Status/m-p/724435#M44343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have issues using the demo functions, as well as the drivers in MSCAN for FRDM-KEA128. In particular, I am unable to exit the while loop, shown below, for both the demo function and the function in the driver. The buffer_status[0] returns NODATA and the err_status returns ERR_OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while (buffer_status[0] != NEWDATA)&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;err_status = check_CAN_mb_stat us(0, 1, buffer_status); us(&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two boards were configured separately, one as a transmitting board and the other as a receive board. Both boards were powered by a 12V supply.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 05:21:08 GMT</pubDate>
    <dc:creator>kentran</dc:creator>
    <dc:date>2017-11-21T05:21:08Z</dc:date>
    <item>
      <title>Unable to receive data into buffer for Check_CAN_MB_Status</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-receive-data-into-buffer-for-Check-CAN-MB-Status/m-p/724435#M44343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have issues using the demo functions, as well as the drivers in MSCAN for FRDM-KEA128. In particular, I am unable to exit the while loop, shown below, for both the demo function and the function in the driver. The buffer_status[0] returns NODATA and the err_status returns ERR_OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while (buffer_status[0] != NEWDATA)&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;err_status = check_CAN_mb_stat us(0, 1, buffer_status); us(&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two boards were configured separately, one as a transmitting board and the other as a receive board. Both boards were powered by a 12V supply.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 05:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-receive-data-into-buffer-for-Check-CAN-MB-Status/m-p/724435#M44343</guid>
      <dc:creator>kentran</dc:creator>
      <dc:date>2017-11-21T05:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to receive data into buffer for Check_CAN_MB_Status</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-receive-data-into-buffer-for-Check-CAN-MB-Status/m-p/724436#M44344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;I am not sure if you are test the &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/download/877195-1-399981/MSCAN_Driver FRDM_KEA128 Example.zip"&gt;MSCAN_Driver+FRDM_KEA128 Example.zip&lt;/A&gt; project in "&lt;A _jive_internal="true" href="https://community.nxp.com/thread/443739"&gt;S32 KEAZ-SDK &amp;amp; PEX, MSCAN Missing --Help!&lt;/A&gt;".&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/thread/443739"&gt;&lt;SPAN class="" title="f05473"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When one FRDM-KEA128 configured as receive mode &lt;STRONG&gt;TEST_CASE_FUNC(Demo_Receive_DataFrame);&lt;/STRONG&gt;, it can not receive data at all?&lt;/P&gt;&lt;P&gt;And I did not find &lt;STRONG&gt;err_status = Check_CAN_MB_Status(0, 1, buffer_status);&lt;/STRONG&gt; in &lt;STRONG&gt;Receive_DataFrame()&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;If you have CAN analyzer, maybe you can test the send(&lt;STRONG&gt;TEST_CASE_FUNC(Demo_Transmit_DataFrame);&lt;/STRONG&gt;) and receive(&lt;STRONG&gt;TEST_CASE_FUNC(Demo_Receive_DataFrame);&lt;/STRONG&gt;) mode separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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>Fri, 24 Nov 2017 04:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unable-to-receive-data-into-buffer-for-Check-CAN-MB-Status/m-p/724436#M44344</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2017-11-24T04:38:52Z</dc:date>
    </item>
  </channel>
</rss>

