<?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 Can't Configure ESP-01 With AT Commands Using KL25Z in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2015470#M67091</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to configure the ESP-01 wifi module with AT commands using KL25Z board. But my UART configuration isn't working and I don't receive any response from ESP-01 module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using MCUXpresso and I've attached the code. As you can see below, I've connected my laptop and KL25Z with miniusb. The connection between KL25Z and ESP-01 is as follows:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VDD -&amp;gt; P3V3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GND -&amp;gt; GND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tx -&amp;gt; Rx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rx -&amp;gt; Tx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Baud rates are set as 115200 and UART is in normal 8-bit without parity and 1 stop bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My current connections" style="width: 425px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316337i85E61A73FCD14CEB/image-dimensions/425x196?v=v2" width="425" height="196" role="button" title="photo_2024-12-17_21-03-39.jpg" alt="My current connections" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;My current connections&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone tell me why it's not working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;LI-PRODUCT title="FRDM-KL25Z" id="FRDM-KL25Z"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 18:22:29 GMT</pubDate>
    <dc:creator>ElectroDesi9n</dc:creator>
    <dc:date>2024-12-17T18:22:29Z</dc:date>
    <item>
      <title>Can't Configure ESP-01 With AT Commands Using KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2015470#M67091</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to configure the ESP-01 wifi module with AT commands using KL25Z board. But my UART configuration isn't working and I don't receive any response from ESP-01 module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using MCUXpresso and I've attached the code. As you can see below, I've connected my laptop and KL25Z with miniusb. The connection between KL25Z and ESP-01 is as follows:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VDD -&amp;gt; P3V3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GND -&amp;gt; GND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tx -&amp;gt; Rx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rx -&amp;gt; Tx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Baud rates are set as 115200 and UART is in normal 8-bit without parity and 1 stop bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My current connections" style="width: 425px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316337i85E61A73FCD14CEB/image-dimensions/425x196?v=v2" width="425" height="196" role="button" title="photo_2024-12-17_21-03-39.jpg" alt="My current connections" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;My current connections&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone tell me why it's not working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;LI-PRODUCT title="FRDM-KL25Z" id="FRDM-KL25Z"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 18:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2015470#M67091</guid>
      <dc:creator>ElectroDesi9n</dc:creator>
      <dc:date>2024-12-17T18:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Configure ESP-01 With AT Commands Using KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2016821#M67094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have checked your code, I suppose it is okay.&lt;/P&gt;
&lt;P&gt;But for the api function, it has issue. I modified it as following.&lt;/P&gt;
&lt;P&gt;// Function to send data to ESP-01 via UART&lt;BR /&gt;void send_data_to_esp(const char&amp;nbsp; data) {&lt;BR /&gt;&amp;nbsp;while (!(UART_GetStatusFlags(UART) &amp;amp; 1&amp;lt;&amp;lt;7)) //check the TDRE bit&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;UART_WriteByte(UART, data); // Send each byte to UART&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Each calling, you can only transfer ONE byte.&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;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1734581432200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316629i1ECEF15392E35FAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1734581432200.png" alt="xiangjun_rong_0-1734581432200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 04:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2016821#M67094</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-12-19T04:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Configure ESP-01 With AT Commands Using KL25Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2016823#M67095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;BTW, pls connect a scope and check the uart_txd pin if it&amp;nbsp; has waveform after you transfer.&lt;/P&gt;
&lt;P&gt;I suggest you use interrupt mode instead of polling mode.&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;</description>
      <pubDate>Thu, 19 Dec 2024 04:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Can-t-Configure-ESP-01-With-AT-Commands-Using-KL25Z/m-p/2016823#M67095</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-12-19T04:14:07Z</dc:date>
    </item>
  </channel>
</rss>

