<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://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>nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47283/nrf9160-transmit-buffer-over-uart</link><description>Hi Guys, 
 I was able to connect a second uart to the evaluation board and receive over uart. 
 however I didnt find an example of how transmit a buffer over uart. 
 is there such an example ? 
 I did see some example in this post: 
 https://devzone.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2020 14:55:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47283/nrf9160-transmit-buffer-over-uart" /><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/273294?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 14:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7850bae4-fa1a-436f-9dc0-854eff884f75</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am stuck in the same problem. I looked into the post here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44788/nrf9160-dk-send-receive-data-from-uart1"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44788/nrf9160-dk-send-receive-data-from-uart1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I get the same error when I try to combine the code there i.e:&amp;nbsp;&lt;span&gt;fifo_uart_tx_data undeclared error. I could not find it in the uart.h library and wanted to know how is it declared ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Adeel.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187828?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 08:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ac58b58-9f23-46b0-a3f1-8a402c5e14d4</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Have you tried calling uart_fifo_fill() from the uart example I showed you? I tried it and at least it does compile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187564?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 14:09:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d6a56ac-1a9b-4aba-ae77-ac0cc6e4db84</guid><dc:creator>MosheSmartAmr</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# General config
CONFIG_NEWLIB_LIBC=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_ASSERT=y
CONFIG_REBOOT=y
#CONFIG_UART_2_NRF_UARTE=y
CONFIG_SERIAL=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
#CONFIG_HAS_HW_NRF_UARTE3=y
CONFIG_HAS_HW_NRF_UARTE1=y
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_1=y
CONFIG_AT_HOST_UART=2
#CONFIG_UART_ASYNC_API=y
# Network
CONFIG_NETWORKING=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_OFFLOAD=y
CONFIG_NRF_CLOUD_PROVISION_CERTIFICATES=y
# MQTT
CONFIG_MQTT_SOCKET_LIB=y
CONFIG_MQTT_LIB_TLS=y
CONFIG_MQTT_MAX_PACKET_LENGTH=2048
CONFIG_NRF_CLOUD_HOST_NAME=&amp;quot;aigjres9rg3vv-ats.iot.eu-west-1.amazonaws.com&amp;quot;
CONFIG_NRF_CLOUD_SEC_TAG=3314

# LTE link control
CONFIG_POWER_OPTIMIZATION_ENABLE=y
CONFIG_LTE_LINK_CONTROL=y
CONFIG_LTE_AUTO_INIT_AND_CONNECT=n

# Modem info
CONFIG_MODEM_INFO=y

# BSD library
CONFIG_BSD_LIBRARY=y

# nRF Cloud
CONFIG_NRF_CLOUD=y

# Sensors
CONFIG_GPS_USE_SIM=y
CONFIG_ACCEL_USE_SIM=y

# Library for buttons and LEDs
CONFIG_DK_LIBRARY=y
CONFIG_DK_LIBRARY_INVERT_LEDS=n

# Console
CONFIG_CONSOLE_SUBSYS=y
CONFIG_CONSOLE_HANDLER=y
CONFIG_CONSOLE_GETCHAR=y

# Main thread
CONFIG_MAIN_THREAD_PRIORITY=7

# Heap and stacks
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_GPS_SIM_THREAD_STACK_SIZE=1024
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1500
CONFIG_HW_STACK_PROTECTION=y

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187560?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 13:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3221784c-0d6b-4c07-93db-b62077009aa8</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;What does your .conf file look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187480?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 09:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:117a52c9-3464-48ff-aff1-7d294fa435bf</guid><dc:creator>MosheSmartAmr</dc:creator><description>&lt;p&gt;&lt;span&gt;I&amp;nbsp;get&amp;nbsp;&lt;/span&gt;&lt;span&gt;fifo_uart_tx_data undeclared error on it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Am I missing something?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187473?ContentTypeID=1</link><pubDate>Thu, 16 May 2019 09:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:771fc053-6421-473c-8115-ba614b856c83</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if there is any example that shows explicit use of uart transmission. Have you tried just using uart_fifo_fill()?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]however, I didnt understand what are those fifo&amp;#39;s , and if I should initialize them ?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;&lt;a href="https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)"&gt;https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In short, a FIFO is just a data buffer where data is read and written in a certain order. I don&amp;#39;t think you need to initialize it, I believe it&amp;#39;s handled by the kernel when the drivers are initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187263?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 12:23:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59ea6b74-abff-4c4f-8960-6479409d3e82</guid><dc:creator>MosheSmartAmr</dc:creator><description>&lt;p&gt;I have,&lt;/p&gt;
&lt;p&gt;this example is only &lt;strong&gt;RX&lt;/strong&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 transmit buffer over uart</title><link>https://devzone.nordicsemi.com/thread/187239?ContentTypeID=1</link><pubDate>Wed, 15 May 2019 11:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:608d7a67-6a11-4c00-ad9e-50dc76b2a48f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello, have you looked at this &lt;a href="https://github.com/Rallare/fw-nrfconnect-nrf/tree/nrf9160_samples/samples/nrf9160/uart"&gt;example&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>