<?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 Re: The LPC55s28 DMA transmits USB data through ADAU1761 waveform abnormality in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2059288#M57869</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245163"&gt;@MHY_0878&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;now the possible problem is that the format of USB transfer data does not match the format of DMA transmission.&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;The most likely issue is a mismatch between the USB data format and the I2S/DMA configuration. Carefully verify the data formats at each stage (USB, MCU, I2S, and ADAU1761) and use debugging tools to identify where the waveform becomes incorrect. Once the mismatch is identified, adjust the software to ensure compatibility.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use a logic analyzer or debug tool to capture the USB data stream and verify its format.&lt;/LI&gt;
&lt;LI&gt;Since DMA is configured for 32-bit transmission, ensure the MCU is correctly handling the 24-bit audio data with 8-bit padding.&lt;/LI&gt;
&lt;LI&gt;If the USB data is 24-bit without padding, you may need to add the 8-bit padding in the MCU before sending it to I2S.&lt;/LI&gt;
&lt;LI&gt;Use a logic analyzer to capture the I2S signals (MCLK, BCLK, LRCK, and data) and compare them with the expected waveform.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 07:37:46 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2025-03-11T07:37:46Z</dc:date>
    <item>
      <title>The LPC55s28 DMA transmits USB data through ADAU1761 waveform abnormality</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2057904#M57856</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello seniors, I am using PC audio software to send audio data to MCU through USB, MCU automatically carries audio data to I2S through DMA, the data enters the ADAU1761 through I2S, and outputs through DAC, but the problem now is that the data waveform is incorrect after the audio data is transmitted to the ADAU1761 through USB. A few days ago, I have been testing DMA to transfer I2S data, and confirmed that DMA is no problem to transfer I2S data, but now the possible problem is that the format of USB transfer data does not match the format of DMA transmission.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My I2S configuration is 12.288mhz for MCLK, 48khz for LRCK, 3.072mhz for BCLK, left-aligned, frame length 64 bits, 24 bits of valid data, and the remaining 8 bits of 0 padding, DMA transmission is 32-bit transmission, USB partial configuration is 24-bit depth, 48khz sample rate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please give me your advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attach my code at the end&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 13:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2057904#M57856</guid>
      <dc:creator>MHY_0878</dc:creator>
      <dc:date>2025-03-07T13:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: The LPC55s28 DMA transmits USB data through ADAU1761 waveform abnormality</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2059288#M57869</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245163"&gt;@MHY_0878&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;now the possible problem is that the format of USB transfer data does not match the format of DMA transmission.&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;The most likely issue is a mismatch between the USB data format and the I2S/DMA configuration. Carefully verify the data formats at each stage (USB, MCU, I2S, and ADAU1761) and use debugging tools to identify where the waveform becomes incorrect. Once the mismatch is identified, adjust the software to ensure compatibility.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use a logic analyzer or debug tool to capture the USB data stream and verify its format.&lt;/LI&gt;
&lt;LI&gt;Since DMA is configured for 32-bit transmission, ensure the MCU is correctly handling the 24-bit audio data with 8-bit padding.&lt;/LI&gt;
&lt;LI&gt;If the USB data is 24-bit without padding, you may need to add the 8-bit padding in the MCU before sending it to I2S.&lt;/LI&gt;
&lt;LI&gt;Use a logic analyzer to capture the I2S signals (MCLK, BCLK, LRCK, and data) and compare them with the expected waveform.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 07:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2059288#M57869</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-03-11T07:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: The LPC55s28 DMA transmits USB data through ADAU1761 waveform abnormality</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2064175#M57931</link>
      <description>Thank you for your reply, the issue has been resolved.&lt;BR /&gt;MHY</description>
      <pubDate>Wed, 19 Mar 2025 01:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LPC55s28-DMA-transmits-USB-data-through-ADAU1761-waveform/m-p/2064175#M57931</guid>
      <dc:creator>MHY_0878</dc:creator>
      <dc:date>2025-03-19T01:03:32Z</dc:date>
    </item>
  </channel>
</rss>

