<?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 I2S codec mono channel configure in LPC55S69 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-codec-mono-channel-configure-in-LPC55S69/m-p/1727750#M54180</link>
    <description>&lt;P&gt;Hi community ,&lt;/P&gt;&lt;P&gt;I am using LPC55S69 and the&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;codec WM8904.&lt;/SPAN&gt;&lt;/SPAN&gt; The codec is configured as Stereo which uses Left and Right channel .Also the basic configuration are :-&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;wm8904_config_t wm8904Config = {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.i2cConfig = {.codecI2CInstance = BOARD_CODEC_I2C_INSTANCE, .codecI2CSourceClock = BOARD_CODEC_I2C_CLOCK_FREQ},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordSource = kWM8904_RecordSourceLineInput,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordChannelLeft = kWM8904_RecordChannelLeft2,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordChannelRight = kWM8904_RecordChannelRight2,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.playSource = kWM8904_PlaySourceDAC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.slaveAddress = WM8904_I2C_ADDRESS,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.protocol = kWM8904_ProtocolI2S,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.format = {.sampleRate = kWM8904_SampleRate48kHz, .bitWidth = kWM8904_BitWidth16},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.mclk_HZ = DEMO_I2S_MASTER_CLOCK_FREQUENCY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.master = false,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I have tried changing the parameters but i still the same out of the music file ,there isn't any distortion or any error .Does that mean the codec auto configures these parameter&amp;nbsp;.&lt;BR /&gt;PROBLEMS:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT color="#333333"&gt;What are the calculation behind these parameter ?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#333333"&gt;how to i configure the module to mono channel output ?&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I have used the SDK example of i2s_tranfer_dma example as my code .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Thank you and regards&amp;nbsp;&lt;BR /&gt;ujwal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;#LPC55S69&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2023 07:20:02 GMT</pubDate>
    <dc:creator>ujwal_kumar_N_L</dc:creator>
    <dc:date>2023-09-22T07:20:02Z</dc:date>
    <item>
      <title>I2S codec mono channel configure in LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-codec-mono-channel-configure-in-LPC55S69/m-p/1727750#M54180</link>
      <description>&lt;P&gt;Hi community ,&lt;/P&gt;&lt;P&gt;I am using LPC55S69 and the&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;codec WM8904.&lt;/SPAN&gt;&lt;/SPAN&gt; The codec is configured as Stereo which uses Left and Right channel .Also the basic configuration are :-&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;wm8904_config_t wm8904Config = {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.i2cConfig = {.codecI2CInstance = BOARD_CODEC_I2C_INSTANCE, .codecI2CSourceClock = BOARD_CODEC_I2C_CLOCK_FREQ},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordSource = kWM8904_RecordSourceLineInput,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordChannelLeft = kWM8904_RecordChannelLeft2,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.recordChannelRight = kWM8904_RecordChannelRight2,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.playSource = kWM8904_PlaySourceDAC,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.slaveAddress = WM8904_I2C_ADDRESS,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.protocol = kWM8904_ProtocolI2S,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.format = {.sampleRate = kWM8904_SampleRate48kHz, .bitWidth = kWM8904_BitWidth16},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.mclk_HZ = DEMO_I2S_MASTER_CLOCK_FREQUENCY,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;.master = false,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I have tried changing the parameters but i still the same out of the music file ,there isn't any distortion or any error .Does that mean the codec auto configures these parameter&amp;nbsp;.&lt;BR /&gt;PROBLEMS:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT color="#333333"&gt;What are the calculation behind these parameter ?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#333333"&gt;how to i configure the module to mono channel output ?&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;I have used the SDK example of i2s_tranfer_dma example as my code .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;Thank you and regards&amp;nbsp;&lt;BR /&gt;ujwal&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;#LPC55S69&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 07:20:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-codec-mono-channel-configure-in-LPC55S69/m-p/1727750#M54180</guid>
      <dc:creator>ujwal_kumar_N_L</dc:creator>
      <dc:date>2023-09-22T07:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: I2S codec mono channel configure in LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-codec-mono-channel-configure-in-LPC55S69/m-p/1729362#M54212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Q1)What are the calculation behind these parameter ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;For the structure wm8904_config_t wm8904Config , the codec WM8904 has I2C interface, the MCU can configure the codec with the I2C interface, the slaveAddress is the I2C device address of the codec, with the address, the LPC5569 can write the register of codec.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Q2)how to i configure the module to mono channel output &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;First of all, pls check the data sheet of codec WM8904 if the codec support mono channel, of course, the I2S of LPC5569 supports mono channel.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Hope it can help you&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;XiangJun Rong&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 05:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2S-codec-mono-channel-configure-in-LPC55S69/m-p/1729362#M54212</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-09-26T05:18:42Z</dc:date>
    </item>
  </channel>
</rss>

