<?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のトピックshell_write</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199074#M4312</link>
    <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;i am using KW45 as receiver and EATT_central.c example i am using as base code.&lt;/P&gt;&lt;P&gt;from transmitter&amp;nbsp; i will get multiple bytes of data via BLE . we checked the time its taking to print data in receiver using shell ,its taking around 1ms to 2ms&amp;nbsp; for printing 10bytes. but i am getting huge data from transmitter and to print that its taking too much time.&lt;/P&gt;&lt;P&gt;we tried with printing more than 10 bytes to 200 bytes ,its taking too much time.&lt;/P&gt;&lt;P&gt;Is nxp can confirm is shell used in EATT_central.c is blocking oor non blocking ?&lt;/P&gt;&lt;P&gt;please suggest what is the optimised way to print data over UART?&lt;/P&gt;&lt;P&gt;currently i am using Queue to take data from BLE and convert that raw data , i am trying to print that converted data using shell_write.&lt;/P&gt;&lt;P&gt;is there is role of Baud rate in data printing using shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Nov 2025 13:30:50 GMT</pubDate>
    <dc:creator>Chan_17</dc:creator>
    <dc:date>2025-11-05T13:30:50Z</dc:date>
    <item>
      <title>shell_write</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199074#M4312</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;i am using KW45 as receiver and EATT_central.c example i am using as base code.&lt;/P&gt;&lt;P&gt;from transmitter&amp;nbsp; i will get multiple bytes of data via BLE . we checked the time its taking to print data in receiver using shell ,its taking around 1ms to 2ms&amp;nbsp; for printing 10bytes. but i am getting huge data from transmitter and to print that its taking too much time.&lt;/P&gt;&lt;P&gt;we tried with printing more than 10 bytes to 200 bytes ,its taking too much time.&lt;/P&gt;&lt;P&gt;Is nxp can confirm is shell used in EATT_central.c is blocking oor non blocking ?&lt;/P&gt;&lt;P&gt;please suggest what is the optimised way to print data over UART?&lt;/P&gt;&lt;P&gt;currently i am using Queue to take data from BLE and convert that raw data , i am trying to print that converted data using shell_write.&lt;/P&gt;&lt;P&gt;is there is role of Baud rate in data printing using shell?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 13:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199074#M4312</guid>
      <dc:creator>Chan_17</dc:creator>
      <dc:date>2025-11-05T13:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: shell_write</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199276#M4314</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you help us confirm is you are using the KW45 from a NXP development board [KW45B41Z-EVK or KW45-LOC] or in a custom board?&lt;/P&gt;
&lt;P&gt;Could you help us describe details about the implementation on converting raw data and printing using shell_write, please?&lt;/P&gt;
&lt;P&gt;The example EATT_Central uses non-blocking when using "HAL_UartSendNonBlocking" in [fsl_adapter_lpuart.c] to print in shell.&lt;/P&gt;
&lt;P&gt;To print data over UART both blocking and non-blocking UART APIs are provided, though it is recommended to use a non-blocking implementation. Blocking functions polls the sending queue, waits for the sending queue to be empty. The non-blocking functions send/receive data using an interrupt method, return directly without waiting for all data written to the transmitter register.&lt;/P&gt;
&lt;P&gt;In file [fsl_adapter_uart.h] the baudRate_Bps is defined for 115200 in the description for Initialize UART.&lt;/P&gt;
&lt;P&gt;For more information about the UART Driver Non-blocking information please refer to: &lt;A href="https://mcuxpresso.nxp.com/api_doc/dev/1562/a00031.html?_gl=1*481hmd*_ga*MTE4OTQwMTA4OS4xNzM0NzE4NDY0*_ga_WM5LE0KMSH*czE3NjIzNTg4NTAkbzI3JGcxJHQxNzYyMzYwMzA0JGoxNyRsMCRoMTg0NzEyNjcwMw.." target="_blank"&gt;MCUXpresso SDK API Reference Manual: UART Driver&lt;/A&gt; and for the User interface usage response on the EATT Central please refer to: &lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/25.09.00/html/middleware/wireless/bluetooth/doc/Bluetooth%20Low%20Energy%20Demo%20Applications%20Users%20Guide/topics/eatt_central.html#eatt-central" target="_blank"&gt;EATT Central — MCUXpresso SDK Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 18:21:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199276#M4314</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-11-05T18:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: shell_write</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199770#M4316</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Board : KW45 EVK&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDK: SDK_25_06_00.KW45B41Z83xxxA&lt;/P&gt;&lt;P&gt;Convesion: we re receiving 210 bytes of 32 samples on&amp;nbsp; every 30ms of gx,gy,gz and we are converting that raw data to user readable data using loops and some mathematical calculations(shifting, multiplication,devision).&lt;/P&gt;&lt;P&gt;210 bytes after conversion we are priting using shell_write() shell_writeDec() shell_writeHex().&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 06:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2199770#M4316</guid>
      <dc:creator>Chan_17</dc:creator>
      <dc:date>2025-11-06T06:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: shell_write</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2200262#M4322</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you for the confirmation,&lt;/P&gt;
&lt;P&gt;To improve performance and response, it's recommended to use smaller attribute value sizes, ATT can only send 23 bytes of data as default length in a radio packet to maintain a logical mapping between radio packets and ATT packets.&lt;/P&gt;
&lt;P&gt;For more information about this you can consult Chapter 5.1.2 in &lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/_static/wireless/Bluetooth/Bluetooth_Low_Energy_Application_Developer's_Guide.pdf" target="_blank"&gt;Bluetooth Low Energy Application Developer’s Guide&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This series of community post also explains about sending long attributes if can contribute to your project. &lt;A href="https://community.nxp.com/t5/Wireless-MCU/Bluetooth-Low-Energy-Working-with-long-attributes-on-a-GATT/m-p/370714" target="_blank"&gt;Bluetooth Low Energy - Working with long attributes on a GATT Server - Part 1: ATT_MTU - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In my previous comment are the information and links regarding the questions on UART Non-blocking and Baud rate.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 18:51:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/shell-write/m-p/2200262#M4322</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-11-06T18:51:22Z</dc:date>
    </item>
  </channel>
</rss>

