<?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>Kinetis MicrocontrollersのトピックIt's PDM to PCM possible on KE04Z8?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/It-s-PDM-to-PCM-possible-on-KE04Z8/m-p/1940417#M66705</link>
    <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;I need to connect a digital microphone and send samples serially to an external codec. My microphone, the MP34DT05, sends a PDM signal which I need to process to PCM and send the samples serially at a baud rate of +200k bauds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Following the application note &lt;A href="https://www.st.com/content/ccc/resource/technical/document/application_note/group0/7d/62/3d/ad/24/57/47/78/DM00380469/files/DM00380469.pdf/jcr:content/translations/en.DM00380469.pdf" target="_self"&gt;PDM to PCM in STM32&lt;/A&gt;&amp;nbsp;, I will use SPI to connect the microphone. I have noticed that the KE04 SDK doesn't have a driver for this type of microphone, while more powerful NXP microcontroller SDKs do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;My questions are:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Does the KE04 have the necessary resources to perform the PDM to PCM conversion?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Is the PDM driver software from more powerful microcontroller SDKs compatible with the KE04?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Obviously, I would need to adapt the pins).&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Context:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Microcontroller:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;MKE04Z8VTG (Arm Cortex M0+, Clock up to 48Mhz, 8kb flash, 1kb sram)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Microphone:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MP34DT05 (PDM)&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Connection:&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;Via SPI (CLK: Microphone Clock, MISO: Microphone DATA_OUT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Goal:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Convert PDM to PCM and send samples serially&amp;nbsp;at +200k baud&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;I hope you can help me with this matter. Any advice or experience with PDM to PCM conversion on KE04 microcontrollers would be very helpful.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Thanks in advance for any help you can offer.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2024 12:39:11 GMT</pubDate>
    <dc:creator>Nicolas_Ottone</dc:creator>
    <dc:date>2024-08-26T12:39:11Z</dc:date>
    <item>
      <title>It's PDM to PCM possible on KE04Z8?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/It-s-PDM-to-PCM-possible-on-KE04Z8/m-p/1940417#M66705</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;I need to connect a digital microphone and send samples serially to an external codec. My microphone, the MP34DT05, sends a PDM signal which I need to process to PCM and send the samples serially at a baud rate of +200k bauds.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Following the application note &lt;A href="https://www.st.com/content/ccc/resource/technical/document/application_note/group0/7d/62/3d/ad/24/57/47/78/DM00380469/files/DM00380469.pdf/jcr:content/translations/en.DM00380469.pdf" target="_self"&gt;PDM to PCM in STM32&lt;/A&gt;&amp;nbsp;, I will use SPI to connect the microphone. I have noticed that the KE04 SDK doesn't have a driver for this type of microphone, while more powerful NXP microcontroller SDKs do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;My questions are:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Does the KE04 have the necessary resources to perform the PDM to PCM conversion?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Is the PDM driver software from more powerful microcontroller SDKs compatible with the KE04?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(Obviously, I would need to adapt the pins).&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Context:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Microcontroller:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;MKE04Z8VTG (Arm Cortex M0+, Clock up to 48Mhz, 8kb flash, 1kb sram)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Microphone:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MP34DT05 (PDM)&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Connection:&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;Via SPI (CLK: Microphone Clock, MISO: Microphone DATA_OUT)&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Goal:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Convert PDM to PCM and send samples serially&amp;nbsp;at +200k baud&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;I hope you can help me with this matter. Any advice or experience with PDM to PCM conversion on KE04 microcontrollers would be very helpful.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Thanks in advance for any help you can offer.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 12:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/It-s-PDM-to-PCM-possible-on-KE04Z8/m-p/1940417#M66705</guid>
      <dc:creator>Nicolas_Ottone</dc:creator>
      <dc:date>2024-08-26T12:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: It's PDM to PCM possible on KE04Z8?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/It-s-PDM-to-PCM-possible-on-KE04Z8/m-p/1940797#M66706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Unfortunately, the KE04 does not have the interface to connect to the PDM device, furthermore, the KE04 does not have I2S module.&lt;/P&gt;
&lt;P&gt;We have dedicated PDM module, which can convert PDM to PCM with internal digital filtering.&lt;/P&gt;
&lt;P&gt;Pls refer to RM of LPC5411x, there is dedicated PDM module, the converted PCM can be put to I2S receiver data register directly.&lt;/P&gt;
&lt;P&gt;Pls download UM10914.pdf from the link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc54000-arm-cortex-m4-/low-power-microcontrollers-mcus-based-on-arm-cortex-m4-cores-with-optional-cortex-m0-plus-co-processor:LPC541XX" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/lpc54000-arm-cortex-m4-/low-power-microcontrollers-mcus-based-on-arm-cortex-m4-cores-with-optional-cortex-m0-plus-co-processor:LPC541XX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1724724608165.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295419iED81E0074983D358/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1724724608165.png" alt="xiangjun_rong_0-1724724608165.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BTW, the latest MCXN family also has MICFIL module, which is alias of PDM, pls download the RM of MCXN family&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-n-series-microcontrollers/mcx-n94x-54x-highly-integrated-multicore-mcus-with-on-chip-accelerators-intelligent-peripherals-and-advanced-security:MCX-N94X-N54X" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus/mcx-arm-cortex-m/mcx-n-series-microcontrollers/mcx-n94x-54x-highly-integrated-multicore-mcus-with-on-chip-accelerators-intelligent-peripherals-and-advanced-security:MCX-N94X-N54X&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The LPC646xx also has PDM.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is the connection of PDM.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1724725311996.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295420i6623CCA85CABAC0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1724725311996.png" alt="xiangjun_rong_1-1724725311996.png" /&gt;&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;BR /&gt;&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>Tue, 27 Aug 2024 02:23:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/It-s-PDM-to-PCM-possible-on-KE04Z8/m-p/1940797#M66706</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-08-27T02:23:02Z</dc:date>
    </item>
  </channel>
</rss>

