<?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>Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92958/not-receiving-whole-hex-array-serial-communication</link><description>There is probably an obvious reason for why I’m not receiving the whole hex array I sent? 
 
 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Oct 2022 11:22:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92958/not-receiving-whole-hex-array-serial-communication" /><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391622?ContentTypeID=1</link><pubDate>Thu, 20 Oct 2022 11:22:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e56911-4d12-4471-9a93-7e07472f1c31</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Do you see the same problem with other projects such as &lt;span&gt;&lt;a title="UART Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/uart_example.html?cp=8_1_4_6_48"&gt;UART Example&lt;/a&gt;&lt;/span&gt; too?&lt;/p&gt;
[quote user="jorgenrs"]Tried with differnt wires[/quote]
&lt;p&gt;What are these wires used for? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391406?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 11:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f97486d-2012-45bf-804f-3948633e1ee6</guid><dc:creator>Stig24</dc:creator><description>&lt;p&gt;Seems like the problem with receiving only zeroes still occurs. Reboot, reflash etc. nothing this time. Even tried swapping pc, then it worked for a time or two before zeros. Tried with differnt wires, nRF52840DK board, and different arduino.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391373?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 09:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21bb7d8-d671-45d0-8419-0825baf50711</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. The Segger VCOM does not support the baudrate=921600 setting as noted here: &lt;span class="item"&gt;&lt;a class="" title="Virtual COM port" href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/vir_com_port.html?cp=4_0_4_6_1"&gt;Virtual COM port&lt;/a&gt;. It supports 1M though if your are looking to maximize the speed. &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391372?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 09:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0af49978-f7cf-45a1-9481-b446895f9249</guid><dc:creator>Stig24</dc:creator><description>&lt;p&gt;Did a reboot of computer and reflashed nRF52. Everthing works fine now &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391370?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 09:11:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c7198e4-8a74-4826-841b-3d64c0f7cb84</guid><dc:creator>Stig24</dc:creator><description>&lt;p&gt;ah, sorry, i&amp;#39;m using the jlink yes with the RX_PIN_NUMBER and TX_PIN_NUMBER. That works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391366?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 09:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3ec6102-f94a-4b36-8a38-82d2ff27ad99</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="jorgenrs"]However changing the pins to usb(rx/tx pins) and baud rate to 115200[/quote]
&lt;p&gt;I would not expect you to receive data any data at all if the TX and RX pins were swapped. What do you use for the USB - UART bridging, is it the Jlink on our development kit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391353?ContentTypeID=1</link><pubDate>Wed, 19 Oct 2022 08:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ac26e5c-7057-4b18-815d-f43dd5b2cd8c</guid><dc:creator>Stig24</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, I&amp;rsquo;m just trying to send some simple messages, and this exact code worked yesterday, but today I only receive zeros in my Arduino program (also same as yesterday).&lt;/p&gt;
&lt;p&gt;Tried with a USB to TTL, and RealTerm, still zeros. However changing the pins to usb(rx/tx pins) and baud rate to 115200, it works fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:536px;max-width:388px;" height="536" src="https://devzone.nordicsemi.com/resized-image/__size/776x1072/__key/communityserver-discussions-components-files/4/pastedimage1666168148037v1.png" width="388" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1666168192709v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving whole hex array – serial communication</title><link>https://devzone.nordicsemi.com/thread/391144?ContentTypeID=1</link><pubDate>Tue, 18 Oct 2022 09:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0963124e-bdc1-488f-9ebf-e2b1d4a2f068</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try sizeof(tx_message) instead of strlen(tx_message). strlen() will stop counting when as soon as it reaches the first null character (0x00) in your array.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>