<?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 Clarification on EDMA usage with LPI2C_MasterTransfer in S32K144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Clarification-on-EDMA-usage-with-LPI2C-MasterTransfer-in-S32K144/m-p/2338099#M57477</link>
    <description>&lt;P&gt;&lt;FONT face="helvetica"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;I am working on an S32K144 project using S32 Design Studio and SDK.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;I have configured:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;LPI2C (I2C PAL)&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;EDMA driver initialized using EDMA_DRV_Init()&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;UART for debugging&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;In my application, I am using the following APIs:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;I2C_MasterSendData()&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;I2C_MasterReceiveData()&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;EDMA is initialized as part of the system, and I expected that the I2C transfers would utilize DMA automatically.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;However, I would like to confirm:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Are the LPI2C PAL transfer APIs automatically using EDMA when EDMA is initialized, or do they operate in interrupt mode by default?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;How can I verify whether the I2C transactions are actually being handled via DMA (EDMA) rather than CPU-driven interrupts?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Are there any configuration steps required to explicitly enable DMA for LPI2C transfers?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Which registers or debug signals should I monitor to confirm EDMA is active during transfers?&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;Please find my configuration summary:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;MCU: S32K144&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;IDE:S32 design studio platform 3.4&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;SDK version: RTM 4.0.3&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Transfer mode: LPI2C PAL APIs&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;EDMA initialized: Yes&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;Thank you for your support.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 04:51:18 GMT</pubDate>
    <dc:creator>padmaja</dc:creator>
    <dc:date>2026-03-24T04:51:18Z</dc:date>
    <item>
      <title>Clarification on EDMA usage with LPI2C_MasterTransfer in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/Clarification-on-EDMA-usage-with-LPI2C-MasterTransfer-in-S32K144/m-p/2338099#M57477</link>
      <description>&lt;P&gt;&lt;FONT face="helvetica"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;I am working on an S32K144 project using S32 Design Studio and SDK.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;I have configured:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;LPI2C (I2C PAL)&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;EDMA driver initialized using EDMA_DRV_Init()&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;UART for debugging&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;In my application, I am using the following APIs:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;I2C_MasterSendData()&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;I2C_MasterReceiveData()&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;EDMA is initialized as part of the system, and I expected that the I2C transfers would utilize DMA automatically.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;However, I would like to confirm:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Are the LPI2C PAL transfer APIs automatically using EDMA when EDMA is initialized, or do they operate in interrupt mode by default?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;How can I verify whether the I2C transactions are actually being handled via DMA (EDMA) rather than CPU-driven interrupts?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Are there any configuration steps required to explicitly enable DMA for LPI2C transfers?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Which registers or debug signals should I monitor to confirm EDMA is active during transfers?&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;Please find my configuration summary:&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;MCU: S32K144&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;IDE:S32 design studio platform 3.4&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;SDK version: RTM 4.0.3&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;Transfer mode: LPI2C PAL APIs&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="helvetica"&gt;EDMA initialized: Yes&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="helvetica"&gt;Thank you for your support.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 04:51:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clarification-on-EDMA-usage-with-LPI2C-MasterTransfer-in-S32K144/m-p/2338099#M57477</guid>
      <dc:creator>padmaja</dc:creator>
      <dc:date>2026-03-24T04:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on EDMA usage with LPI2C_MasterTransfer in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/Clarification-on-EDMA-usage-with-LPI2C-MasterTransfer-in-S32K144/m-p/2338423#M57494</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;padmaja&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="helvetica"&gt;Q1.Are the LPI2C PAL transfer APIs automatically using EDMA when EDMA is initialized, or do they operate in interrupt mode by default?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="helvetica"&gt;Q2.Are there any configuration steps required to explicitly enable DMA for LPI2C transfers?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;For Q1&amp;amp;Q2, You should choose "DMA" in I2C component;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 826px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/380193iB794E924AFCA8BCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="helvetica"&gt;Q3.How can I verify whether the I2C transactions are actually being handled via DMA (EDMA) rather than CPU-driven interrupts?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="helvetica"&gt;Read the code directly, &lt;/FONT&gt;&lt;FONT face="helvetica"&gt;this needs little explanation.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/380191iC102B5B8E9C39B0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="helvetica"&gt;Q4.Which registers or debug signals should I monitor to confirm EDMA is active during transfers?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can try defining an interrupt callback function for the DMA channel and observe the DMA behavior through the callback function, or directly check the DMA registers. Please refer to the datasheet to get DMA register information.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 960px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/380196i71456E9FCD67DDE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 09:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clarification-on-EDMA-usage-with-LPI2C-MasterTransfer-in-S32K144/m-p/2338423#M57494</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-03-24T09:52:37Z</dc:date>
    </item>
  </channel>
</rss>

