<?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 How to use RXMSCAN with processor expert with kea 128? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508378#M31991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to read an id of a bus CAN, I want to do that using RX interrupt, I'm using KEA128 and processor expert (CAN_LDD component).&lt;/P&gt;&lt;P&gt;Now I'm able to write to the bus CAN without interrupt, but when I try to read a message with a defined id nothing happens.&lt;/P&gt;&lt;P&gt;What I'm doing to read is the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FrameR.MessageID = 0x7DFU;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set Tx ID value - standard */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.FrameType = LDD_CAN_DATA_FRAME;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Specyfying type of Tx frame - Data frame */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.Length = sizeof(OutData2);&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.Data = OutData2; /* Set number of bytes in data frame - 4B */&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN1_ReadFrame(MyCANPtr,0,&amp;amp;FrameR);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Sends the data frame over buffer 1 */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what i'm doing wrong and also what do I need to do to read using the Rx Can interrupt?&lt;/P&gt;&lt;P&gt;I attached the complete code for more details.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337499"&gt;CAN_PE.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 May 2016 23:17:22 GMT</pubDate>
    <dc:creator>emilioaronmoyer</dc:creator>
    <dc:date>2016-05-06T23:17:22Z</dc:date>
    <item>
      <title>How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508378#M31991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to read an id of a bus CAN, I want to do that using RX interrupt, I'm using KEA128 and processor expert (CAN_LDD component).&lt;/P&gt;&lt;P&gt;Now I'm able to write to the bus CAN without interrupt, but when I try to read a message with a defined id nothing happens.&lt;/P&gt;&lt;P&gt;What I'm doing to read is the following:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FrameR.MessageID = 0x7DFU;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set Tx ID value - standard */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.FrameType = LDD_CAN_DATA_FRAME;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Specyfying type of Tx frame - Data frame */&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.Length = sizeof(OutData2);&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrameR.Data = OutData2; /* Set number of bytes in data frame - 4B */&lt;/P&gt;&lt;P&gt;&amp;nbsp; CAN1_ReadFrame(MyCANPtr,0,&amp;amp;FrameR);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Sends the data frame over buffer 1 */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what i'm doing wrong and also what do I need to do to read using the Rx Can interrupt?&lt;/P&gt;&lt;P&gt;I attached the complete code for more details.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337499"&gt;CAN_PE.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 23:17:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508378#M31991</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-05-06T23:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508379#M31992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emilio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a bug in the generated code in CAN1.c file ,it have not enable the interrupt.&lt;/P&gt;&lt;P&gt;Please add " MSCAN_PDD_EnableTxMessageBufferInterruptMask(MSCAN_BASE_PTR,0X01U);"&lt;/P&gt;&lt;P&gt;in the function of&amp;nbsp; LDD_TDeviceData* CAN1_Init(LDD_TUserData *UserDataPtr)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56639i6198D962ED11042E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.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, 09 May 2016 06:49:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508379#M31992</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-09T06:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508380#M31993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writting to the CAN bus every 100 ms using a timer interrupt without the TxInterrupt line you say, if i write de line the program doesn't work.&lt;/P&gt;&lt;P&gt;Do you know why??&lt;/P&gt;&lt;P&gt;And without the line is also working well the CAN1_OnFreeTxBuffer event in Events.c.&lt;/P&gt;&lt;P&gt;I'm having problems reading a message from CAN I don't know how is the syntax to receive a message, where can I indicate which ID is going to read? and from which variable can I retrieve the data read?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 19:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508380#M31993</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-05-09T19:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508381#M31994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emilio,&lt;/P&gt;&lt;P&gt;About the read data , you can refer to the demo code :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56808iC92F6FD63FE2D32E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- About the receive ID, you can configure here to control mask which one :&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/56846i9B41A72B4D0A0CD0/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;you can combined with the related registers to understand:&lt;/P&gt;&lt;P&gt;MSCAN_CANIDAR&lt;/P&gt;&lt;P&gt;MSCAN_CANIDMR&lt;/P&gt;&lt;P&gt;MSCAN_RSIDR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About use which variable to receive data , as for the below, it will use the "Inpdata[]",&lt;/P&gt;&lt;P&gt;so it mainly rely on the Frame.Data .&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/56856iCF974B71E9F1B65D/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;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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>Tue, 10 May 2016 03:45:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508381#M31994</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-10T03:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508382#M31995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;I refered to the demo code and the code needs the method &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:50:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508382#M31995</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-05-17T21:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508383#M31996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hello Alice,&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I refered to the demo code and the code needs the method.&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59143i087BE00416431810/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But I didn`t find the method in the CAN_LDD component&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&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/59206i899BF7E2619C7E93/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 style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;What do I need to do to generate the method?&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Another question, what do I need to write to the MSCAN_CANIDAR, MSCAN_CANIDMR, MSCAN_RSIDR if I want to read the ID0x7E8?&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;The reference manual there are a los of registers with those names&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&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/59227iB6B9748FE2137455/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 style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59256i5A8BEFEC012B42D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Emilio Moyers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508383#M31996</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-05-17T21:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508384#M31997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emililo,&lt;/P&gt;&lt;P&gt;- This demo is for CAN&amp;nbsp; on KIneites K series , sorry for my mistake.&lt;/P&gt;&lt;P&gt;The method of &lt;A href="http://127.0.0.1:58524/help/ntopic/com.freescale.doc.processorexpert.components/Beans/CAN_LDD/CAN_LDDMethods.html#SetRxBufferID"&gt;SetRxBufferID&lt;/A&gt; is also for K series, so you can not find it.&lt;/P&gt;&lt;P&gt;About the CAN demo for kea-128 , please refer to this thread, there also have a demo and the introduce:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/379133"&gt;I wonder how to get CAN to work with KDS's Processor Expert?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-About receive ID , at default&amp;nbsp; it can receive all of the ID if you do not configure these register.&lt;/P&gt;&lt;P&gt;For the MSCAN module of KEA series , the ID related registers' function is mask which ID ,&lt;/P&gt;&lt;P&gt;so if you do not need mask Receive ID, you can do not care it .&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;/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>Wed, 18 May 2016 09:40:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508384#M31997</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-18T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508385#M31998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;I can read one Id using the program in the help part of the CAN_LDD component. If I write this code in the program&amp;nbsp; main.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt; while(1){&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp; while (!DataFrameRxFlg) {}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Wait until data frame is received */ &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp; FrameR.Data = InpData;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Set Tx ID value - standard */&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp; error=CAN1_ReadFrame(MyCANPtr2,0,&amp;amp;FrameR);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Sends the data frame over buffer 1 */&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp; DataFrameRxFlg = FALSE;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&amp;nbsp; }&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;It should continue reading the id infinite time, but it only do it one time, do I need to clear a flag or do i need to do something else to continue reading?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Also for the part of the ID, I am interested in just reading one specific ID. What do I need to configure to the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;MSCAN_CANIDAR, MSCAN_CANIDMR, MSCAN_RSIDR register to read only the id 0x7E8?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Emilio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 18:48:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508385#M31998</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-05-18T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508386#M31999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Emilio,&lt;/P&gt;&lt;P&gt;-In the function of "CAN1_ReadFrame()" have clear&amp;nbsp; the Rx flag:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1469iC9AA5129E5FD8BF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Clearly the flag of the register MSCAN_CANRFLG to have a try.&lt;/P&gt;&lt;P&gt;- The ID length&amp;nbsp; of 0x7E8 is lager than 11, so here only can use the Extended ID .&lt;/P&gt;&lt;P&gt; I refer to the Reference manual to calculate it , you can also try to calculate and check whether&lt;/P&gt;&lt;P&gt;is right about mine&amp;nbsp; the result is &lt;/P&gt;&lt;P&gt;MSCAN_CANIDAR0 = 0x00;&lt;/P&gt;&lt;P&gt;MSCAN_CANIDAR1 = 0x18;&lt;/P&gt;&lt;P&gt;MSCAN_CANIDAR2 = 0x0f;&lt;/P&gt;&lt;P&gt;MSCAN_CANIDARn = 0x00;&lt;/P&gt;&lt;P&gt;MSCAN_CANIDMRn(n=0,1,2,3,) = 0x00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pay attention that , i assumption you use the data frame , not the remote frame, it is said&lt;/P&gt;&lt;P&gt;the bit of&amp;nbsp; RSRTR on the register of MSCAN_RSIDR1 is "0". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope is helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 15:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508386#M31999</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-05-19T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use RXMSCAN with processor expert with kea 128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508387#M32000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;It continue doing the same, doing the reading just one time. what other thing can be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Emilio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 17:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-RXMSCAN-with-processor-expert-with-kea-128/m-p/508387#M32000</guid>
      <dc:creator>emilioaronmoyer</dc:creator>
      <dc:date>2016-07-22T17:59:43Z</dc:date>
    </item>
  </channel>
</rss>

