<?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>MPC5xxxのトピックRe: How to read Rx messages in MPC5748G dev Kit</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734122#M10052</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;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jiri.kral@nxp.com"&gt;jiri.kral@nxp.com&lt;/A&gt;‌ could you please help in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 11:05:04 GMT</pubDate>
    <dc:creator>laxmikanthindur</dc:creator>
    <dc:date>2018-02-12T11:05:04Z</dc:date>
    <item>
      <title>How to read Rx messages in MPC5748G dev Kit</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734121#M10051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MPC5748G Dev kit to read CAN messages from the OBD port of my car , Currently I am not able to receive any messages in the&amp;nbsp; board , because of baud rate mismatch and also configured Rx ID is only one in the example code.748g&lt;/P&gt;&lt;P&gt;my&amp;nbsp;questions&amp;nbsp;&amp;nbsp;are ;&lt;/P&gt;&lt;P&gt;1. How to change the baud rate ?&lt;/P&gt;&lt;P&gt;2. how to configure multiple read messages , if I have many Rx messages to read how to configure all of them.&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/4714i1A39DB5BCFF2FDD7/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;Thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Laxmikanth Indur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 04:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734121#M10051</guid>
      <dc:creator>laxmikanthindur</dc:creator>
      <dc:date>2018-02-11T04:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Rx messages in MPC5748G dev Kit</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734122#M10052</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;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jiri.kral@nxp.com"&gt;jiri.kral@nxp.com&lt;/A&gt;‌ could you please help in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 11:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734122#M10052</guid>
      <dc:creator>laxmikanthindur</dc:creator>
      <dc:date>2018-02-12T11:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Rx messages in MPC5748G dev Kit</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734123#M10053</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;about baud rate, please see the article below. It shows, how to calculate correct values for required bit rate.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-330446"&gt;https://community.nxp.com/docs/DOC-330446&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;about your second question, you simply configure every message buffer you would like to use. In the code above, CAN0 message buffer 4 is configured. You can configure every MB is the same way. If you want to receive every possible ID, use ID 0 for MB configuration (for example CAN_0.MB[4].ID.B.ID_STD = 0x0;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 10:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734123#M10053</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-02-13T10:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Rx messages in MPC5748G dev Kit</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734124#M10054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the reply. it is really helpful for the understanding, However I have some more questions to you.&lt;/P&gt;&lt;P&gt;Boud rate calculation, is very clear. but regarding the Message Buffer selection i have some issues as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;As you said I just have to use the MB[x] with the required ID or by making it as zero&amp;nbsp; we can receive any possible Rx message&lt;/P&gt;&lt;P&gt;for example If I have to receive the Message ID 0x6FC. I just have to modify&amp;nbsp; as&amp;nbsp; &lt;STRONG&gt;CAN_0.MB[4].ID.B.ID_STD = 0x6FC;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However I have a device which is sending 0x6FC , still I am not able to receive the Messages . If I debug I have the problem at the below&lt;/P&gt;&lt;P&gt;While loop (), execution is getting into infinite loop, since condition is never false.&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/9882i626EA458011DB612/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;Bit &lt;STRONG&gt;BUF4TO1I&lt;/STRONG&gt; is&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt; basically to understand if this is a Interrupt or for reserved.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/10012iA28BFF1C392A14B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;this particular bit is again dependent&amp;nbsp; on the &lt;STRONG&gt;CAN_MCR[RFEN]&lt;/STRONG&gt;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Now I have a&amp;nbsp; concerns .&lt;/P&gt;&lt;P&gt;who is responsible for making the BUF&lt;STRONG&gt;0&lt;/STRONG&gt;to&lt;STRONG&gt;31 &lt;/STRONG&gt;bits&lt;STRONG&gt; to Set (logic 1),&lt;/STRONG&gt; if i want to use all the buffers from 0 to 31&lt;STRONG&gt;.?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/b55689"&gt;b55689&lt;/A&gt;&amp;nbsp; again for your Kind support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Laxmikanth Indur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 11:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734124#M10054</guid>
      <dc:creator>laxmikanthindur</dc:creator>
      <dc:date>2018-02-13T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Rx messages in MPC5748G dev Kit</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734125#M10055</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;bits BUF&lt;STRONG&gt;0&lt;/STRONG&gt;to&lt;STRONG&gt;31 &lt;/STRONG&gt;in IFLAG register are set by hardware. When data are correctly received by message buffer, appropriate bit in IFLAG register is set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the example code below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-332504"&gt;https://community.nxp.com/docs/DOC-332504&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked mpc5748g devkit and it has only one CAN transceiver. If you want to do some CAN communication, I recommend to connect boards together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 12:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-read-Rx-messages-in-MPC5748G-dev-Kit/m-p/734125#M10055</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-02-13T12:57:04Z</dc:date>
    </item>
  </channel>
</rss>

