<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Async UART and shell module in Zephyr on  nRF52480</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/86789/async-uart-and-shell-module-in-zephyr-on-nrf52480</link><description>I have shell working with the following configuration 
 
 CONFIG_SHELL =y 
 CONFIG_SHELL_BACKENDS =y 
 CONFIG_SHELL_BACKEND_SERIAL =y #also selects serial 
 CONFIG_SHELL_CMDS =y 
 CONFIG_SHELL_ECHO_STATUS =y 
 
 Now I need to add async UART to send some</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 11 Apr 2022 12:33:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86789/async-uart-and-shell-module-in-zephyr-on-nrf52480" /><item><title>RE: Async UART and shell module in Zephyr on  nRF52480</title><link>https://test-devzone.nordicsemi.com/thread/362854?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 12:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:267bd269-91bc-4693-b0d6-223f1dbfd85c</guid><dc:creator>user107683</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Now I need to add async UART to send some data outside the shell[/quote]
&lt;p&gt;Could you check out&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/topic/exercise-1-5/"&gt;this detailed sample using asynchronous UART&lt;/a&gt;&amp;nbsp;in our&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/lessons/lesson-4-serial-communication-uart/"&gt;nRF Connect SDK course&lt;/a&gt;&amp;nbsp;to see if&amp;nbsp;you have missed anything in the setup of the asynchronous UART?&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/hardware/peripherals/uart.html?highlight=uart_callback_set#c.uart_callback_set"&gt;uart_callback_set()&lt;/a&gt;&amp;nbsp;should only return ENOSYS if async api is not supported by the device, but this should be supported by the nRF52840, leading me to think there is something missing in your setup.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]Is there a way to use UART async API with the shell?[/quote]
&lt;p&gt;Regarding this, I will ask around and come back with more details before Wednesday (within 2 working days). In the meanwhile, you may investigate this&amp;nbsp;&lt;a href="https://test-devzone.nordicsemi.com/support-private/support/264421"&gt;open ticket with a somewhat similar issue&lt;/a&gt;&amp;nbsp;to see if you are able to spot your issue through&amp;nbsp;their fix.&lt;br /&gt;&lt;br /&gt;Let me know if these guides help you before I am able to reach back to you with additional information.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>