<?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: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2021626#M57467</link>
    <description>&lt;P&gt;Hi Xiangjun rong,&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;We have already installed the SDK package for LPC55S69 EVK Board.&lt;/P&gt;&lt;P&gt;And we tried same configurations, the issue still remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jan 2025 05:57:15 GMT</pubDate>
    <dc:creator>Nikhil_Gupta</dc:creator>
    <dc:date>2025-01-03T05:57:15Z</dc:date>
    <item>
      <title>Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2017256#M57440</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm working on Audio Codec(WM8904 IC).&lt;/P&gt;&lt;P&gt;Facing an issues like Back Ground Noise and Quality issues, below are the details we followed for implementation,&lt;/P&gt;&lt;P&gt;1. We are converting the text to audio(&lt;STRONG&gt;.mp3&lt;/STRONG&gt; /&lt;STRONG&gt;.wav&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;2. (.&lt;STRONG&gt;mp3 / .wav&lt;/STRONG&gt;) Converting into &lt;STRONG&gt;Bin&lt;/STRONG&gt; file using &lt;STRONG&gt;audacity&lt;/STRONG&gt; tool&lt;/P&gt;&lt;P&gt;3. And storing into External Flash using J-Link of NXP&lt;/P&gt;&lt;P&gt;4. And we are reading chunk wise(i.e. 1024 bytes/ 1KB)&lt;/P&gt;&lt;P&gt;5. After collecting the data sending to Audio Codec(&lt;STRONG&gt;WM8904&lt;/STRONG&gt; IC) via I2S in DMA method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the points experimented from our end,&lt;/P&gt;&lt;P&gt;1. Changed sample rate from 8Khz to 48Khz.&lt;/P&gt;&lt;P&gt;2. Increased and Decreased chunk size.&lt;/P&gt;&lt;P&gt;3. Same chunk Data sending two times to Audio Codec instead of one time.&lt;/P&gt;&lt;P&gt;4. Adjusted parameters for Volume and Gain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:-&amp;nbsp;&lt;/STRONG&gt;Tried by storing audio data into internal buffer of controller and sending to audio codec&lt;/P&gt;&lt;P&gt;Audio size is - 32KB&lt;/P&gt;&lt;P&gt;Kindly help me out in this with your valuable suggestions.&lt;/P&gt;&lt;P&gt;Thanking you in Advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 13:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2017256#M57440</guid>
      <dc:creator>Nikhil_Gupta</dc:creator>
      <dc:date>2024-12-19T13:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2020956#M57464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls download SDK package for the LPC55S69-EVK board from the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en" target="_blank"&gt;https://mcuxpresso.nxp.com/en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is the codec configuration:&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;wm8904_config_t&lt;/SPAN&gt;&lt;SPAN&gt; wm8904Config = {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .i2cConfig = {.codecI2CInstance = BOARD_CODEC_I2C_INSTANCE, .codecI2CSourceClock = BOARD_CODEC_I2C_CLOCK_FREQ},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .recordSource = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_RecordSourceLineInput&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .recordChannelLeft = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_RecordChannelLeft2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .recordChannelRight = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_RecordChannelRight2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .playSource = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_PlaySourceDAC&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .slaveAddress = WM8904_I2C_ADDRESS,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .protocol = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_ProtocolI2S&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .format = {.sampleRate = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_SampleRate48kHz&lt;/SPAN&gt;&lt;SPAN&gt;, .bitWidth = &lt;/SPAN&gt;&lt;SPAN&gt;kWM8904_BitWidth16&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .mclk_HZ = DEMO_I2S_MASTER_CLOCK_FREQUENCY,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; .master = false,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;codec_config_t&lt;/SPAN&gt;&lt;SPAN&gt; boardCodecConfig = {.codecDevType = &lt;/SPAN&gt;&lt;SPAN&gt;kCODEC_WM8904&lt;/SPAN&gt;&lt;SPAN&gt;, .codecDevConfig = &amp;amp;wm8904Config};&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;The codec is a slave, it's MCLK is from LPC55S69, it's bit clock and frame clock are from LPC55S69.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;The data format is 16 bits for each slot and the baudrate is 48KHz.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;Hope it can help you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jan 2025 02:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2020956#M57464</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2025-01-02T02:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2021626#M57467</link>
      <description>&lt;P&gt;Hi Xiangjun rong,&lt;/P&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;We have already installed the SDK package for LPC55S69 EVK Board.&lt;/P&gt;&lt;P&gt;And we tried same configurations, the issue still remains.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 05:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2021626#M57467</guid>
      <dc:creator>Nikhil_Gupta</dc:creator>
      <dc:date>2025-01-03T05:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2022240#M57472</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you said that "We are converting the text to audio(&lt;STRONG&gt;.mp3&lt;/STRONG&gt; /&lt;STRONG&gt;.wav&lt;/STRONG&gt;), 2. (.&lt;STRONG&gt;mp3 / .wav&lt;/STRONG&gt;) Converting into &lt;STRONG&gt;Bin&lt;/STRONG&gt; file using &lt;STRONG&gt;audacity&lt;/STRONG&gt; tool", pls check the PCM format, especially, the data length. For example, each PCM sample consists of two bytes or 3 bytes.&lt;/P&gt;
&lt;P&gt;If you use two bytes, you have to set&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Consolas'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; I2S_TxGetDefaultConfig(&amp;amp;s_TxConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;divider&lt;/SPAN&gt;&lt;SPAN&gt; = DEMO_I2S_CLOCK_DIVIDER;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;masterSlave&lt;/SPAN&gt;&lt;SPAN&gt; = DEMO_I2S_TX_MODE;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;dataLength&lt;/SPAN&gt;&lt;SPAN&gt; = 16U;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;If you use three Bytes, you have to set:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; I2S_TxGetDefaultConfig(&amp;amp;s_TxConfig);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;divider&lt;/SPAN&gt;&lt;SPAN&gt; = DEMO_I2S_CLOCK_DIVIDER;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;masterSlave&lt;/SPAN&gt;&lt;SPAN&gt; = DEMO_I2S_TX_MODE;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; s_TxConfig.&lt;/SPAN&gt;&lt;SPAN&gt;dataLength&lt;/SPAN&gt;&lt;SPAN&gt; = 24U;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;BTW, I suggest you use example interrupt_transfer example, in the example, it plays the PCM&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;array g_Music[], which is defined in music.h, one sample consists of two bytes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1736134658546.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318140i4AE1172394150E48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1736134658546.png" alt="xiangjun_rong_0-1736134658546.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;First of all, play the music defined in the &lt;SPAN&gt;g_Music[], then replace the music.h with your own PCM,&amp;nbsp; check if the data length in PCM array matches with the s_TxConfig.dataLength.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope it can help you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 03:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2022240#M57472</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2025-01-06T03:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2022246#M57473</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is music data format, red is one PCM sample, blue is another PCM sample.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1736135204041.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/318141iC0CBCFAF3FBBAE11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1736135204041.png" alt="xiangjun_rong_0-1736135204041.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 03:47:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2022246#M57473</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2025-01-06T03:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Audio Codec(WM8904 IC) Back Ground Noise and Quality Issue in LPC55S69 EVK Board(Head Phone)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2023312#M57479</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Xiangjun rong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have tried as you suggested, but there is no improvement in the audio, and it is coming bit slow with lag.&lt;/P&gt;&lt;P&gt;I am requesting you that will have a call or discussion personally regarding audio, so that we can discuss in detail.&lt;/P&gt;&lt;P&gt;Please do let us know your convenient time and drop message to this mail id - &lt;A href="mailto:nikhil@emelite.in" target="_blank"&gt;nikhil@emelite.in&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 13:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Audio-Codec-WM8904-IC-Back-Ground-Noise-and-Quality-Issue-in/m-p/2023312#M57479</guid>
      <dc:creator>Nikhil_Gupta</dc:creator>
      <dc:date>2025-01-07T13:03:02Z</dc:date>
    </item>
  </channel>
</rss>

