<?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>i.MX Processors中的主题 Re: Question on CAN, eDMA, and mailbox</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-on-CAN-eDMA-and-mailbox/m-p/1096503#M160584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="40376" data-username="Keith4DSmith" href="https://community.nxp.com/people/Keith4DSmith" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Keith Smith&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Do you mean, when more than one&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RX mailbox, you don't know which one is triggered Rx eDMA interrupt, or more than one tx mailbox, then the RX DMA receive the data, you want to know, which detail tx mailbox trigger the RX DMA?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; I checked the&amp;nbsp;loopback_edma_transfer, four messages are using the same mbIdx:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;txXfer.mbIdx&amp;nbsp; &amp;nbsp; &amp;nbsp; = (uint8_t)TX_MESSAGE_BUFFER_NUM;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;Could you tell me,&amp;nbsp;the&amp;nbsp;specific code position where&amp;nbsp;you find it is using two tx mailbox?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; To determine which detail mail box trigger the rx Interrupt, I think we can check the status register, we also can do the detail testing to verify it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;Please help to confirm my understanding of your question,&amp;nbsp; then If you need the test help, I can help you do the testing about it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2020 07:09:12 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2020-07-29T07:09:12Z</dc:date>
    <item>
      <title>Question on CAN, eDMA, and mailbox</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-on-CAN-eDMA-and-mailbox/m-p/1096502#M160583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 2.7 SDK has a FlexCAN eDMA example. The tx uses 'standard' output. The rx uses eDMA.&lt;/P&gt;&lt;P&gt;Path to project file:&lt;/P&gt;&lt;P&gt;SDK_2.7.0_EVK-MIMXRT1064\boards\evkmimxrt1064\driver_examples\flexcan\loopback_edma_transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example has two tx mailboxes and 1 rx mailbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there was more than one possible mailbox,&amp;nbsp;it is not clear from the example&amp;nbsp;how one would determine which mailbox triggered the rx eDMA interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To determine which mailbox triggered the rx eDMA interrupt, would one loop through the mailboxes checking the status flag, similar to the function&amp;nbsp;FLEXCAN_SubHandlerForDataTransfered() in fsl_flexcan.c?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 12:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-on-CAN-eDMA-and-mailbox/m-p/1096502#M160583</guid>
      <dc:creator>Keith4DSmith</dc:creator>
      <dc:date>2020-07-28T12:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Question on CAN, eDMA, and mailbox</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-on-CAN-eDMA-and-mailbox/m-p/1096503#M160584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="40376" data-username="Keith4DSmith" href="https://community.nxp.com/people/Keith4DSmith" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Keith Smith&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Do you mean, when more than one&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;RX mailbox, you don't know which one is triggered Rx eDMA interrupt, or more than one tx mailbox, then the RX DMA receive the data, you want to know, which detail tx mailbox trigger the RX DMA?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; I checked the&amp;nbsp;loopback_edma_transfer, four messages are using the same mbIdx:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;txXfer.mbIdx&amp;nbsp; &amp;nbsp; &amp;nbsp; = (uint8_t)TX_MESSAGE_BUFFER_NUM;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;Could you tell me,&amp;nbsp;the&amp;nbsp;specific code position where&amp;nbsp;you find it is using two tx mailbox?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; To determine which detail mail box trigger the rx Interrupt, I think we can check the status register, we also can do the detail testing to verify it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;Please help to confirm my understanding of your question,&amp;nbsp; then If you need the test help, I can help you do the testing about it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;Kerry&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-size: 14px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 07:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-on-CAN-eDMA-and-mailbox/m-p/1096503#M160584</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-07-29T07:09:12Z</dc:date>
    </item>
  </channel>
</rss>

