<?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>MCX MicrocontrollersのトピックHow we can Integrating HC‑SR04 Ultrasonic Sensor into Demo code on MCIMX9352 SDK ?</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2127242#M3462</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I’m working with the &lt;STRONG&gt;MCIMX9352-EVK&lt;/STRONG&gt; (i.MX93 Cortex‑M33) and the &lt;STRONG&gt;MCUXpresso SDK &lt;/STRONG&gt;, and I’d like to extend the built‑in &lt;STRONG&gt;adc_polling_cm33&lt;/STRONG&gt; demo to also drive and read an &lt;STRONG&gt;HC‑SR04&lt;/STRONG&gt; ultrasonic sensor. My goal is to preserve the demo’s structure (using BOARD_InitHardware(), PRINTF(), GETCHAR(), etc.) but replace the ADC conversion loop&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Which &lt;STRONG&gt;SDK driver&lt;/STRONG&gt; do you recommend for &lt;STRONG&gt;µs‑resolution&lt;/STRONG&gt; on i.MX93, and how best to integrate it into the existing demo framework?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there &lt;STRONG&gt;examples&lt;/STRONG&gt; in the SDK showing how to use&amp;nbsp; input‑capture for pulse‑width measurement?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any guidance on preserving the &lt;STRONG&gt;ADC demo’s build settings&lt;/STRONG&gt; (CMake or MCUXpresso project) while adding these new peripherals?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229244"&gt;@NXP_imx93evk_user&lt;/a&gt;&amp;nbsp;&lt;LI-PRODUCT title="i.MX93EVK" id="i.MX93EVK"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#utrasonic_sensor&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2025 11:50:46 GMT</pubDate>
    <dc:creator>Manjunathb</dc:creator>
    <dc:date>2025-07-02T11:50:46Z</dc:date>
    <item>
      <title>How we can Integrating HC‑SR04 Ultrasonic Sensor into Demo code on MCIMX9352 SDK ?</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2127242#M3462</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I’m working with the &lt;STRONG&gt;MCIMX9352-EVK&lt;/STRONG&gt; (i.MX93 Cortex‑M33) and the &lt;STRONG&gt;MCUXpresso SDK &lt;/STRONG&gt;, and I’d like to extend the built‑in &lt;STRONG&gt;adc_polling_cm33&lt;/STRONG&gt; demo to also drive and read an &lt;STRONG&gt;HC‑SR04&lt;/STRONG&gt; ultrasonic sensor. My goal is to preserve the demo’s structure (using BOARD_InitHardware(), PRINTF(), GETCHAR(), etc.) but replace the ADC conversion loop&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Which &lt;STRONG&gt;SDK driver&lt;/STRONG&gt; do you recommend for &lt;STRONG&gt;µs‑resolution&lt;/STRONG&gt; on i.MX93, and how best to integrate it into the existing demo framework?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there &lt;STRONG&gt;examples&lt;/STRONG&gt; in the SDK showing how to use&amp;nbsp; input‑capture for pulse‑width measurement?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Any guidance on preserving the &lt;STRONG&gt;ADC demo’s build settings&lt;/STRONG&gt; (CMake or MCUXpresso project) while adding these new peripherals?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229244"&gt;@NXP_imx93evk_user&lt;/a&gt;&amp;nbsp;&lt;LI-PRODUCT title="i.MX93EVK" id="i.MX93EVK"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;#utrasonic_sensor&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 11:50:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2127242#M3462</guid>
      <dc:creator>Manjunathb</dc:creator>
      <dc:date>2025-07-02T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: How we can Integrating HC‑SR04 Ultrasonic Sensor into Demo code on MCIMX9352 SDK ?</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2127509#M3466</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252048"&gt;@Manjunathb&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As shown in the image, you can add additional components to your project.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chavira_0-1751482110115.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345819iB704A1C40B247305/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chavira_0-1751482110115.png" alt="Chavira_0-1751482110115.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, you can use a TPM module for input capture functionality. We provide a working example that you can reference here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/mcimx93evk/driver_examples/tpm/input_capture" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/mcimx93evk/driver_examples/tpm/input_capture&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 19:16:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2127509#M3466</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-07-02T19:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: How we can Integrating HC‑SR04 Ultrasonic Sensor into Demo code on MCIMX9352 SDK ?</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2128021#M3474</link>
      <description>&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&lt;BR /&gt;Thank you for your response...</description>
      <pubDate>Thu, 03 Jul 2025 10:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/How-we-can-Integrating-HC-SR04-Ultrasonic-Sensor-into-Demo-code/m-p/2128021#M3474</guid>
      <dc:creator>Manjunathb</dc:creator>
      <dc:date>2025-07-03T10:15:10Z</dc:date>
    </item>
  </channel>
</rss>

