<?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>UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104973/uarte-to-usb-to-putty-on-nrf52840dk</link><description>Hi, I have strange issue with getting UARTE to USB to PuTTY to work on the 840 devkit. I have the following config for the UARTE: And the following config on PuTTY: UARTE messages are sent to transmit in a while loop (just for testing), and I see that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2023 18:34:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104973/uarte-to-usb-to-putty-on-nrf52840dk" /><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452363?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 18:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9557b792-bbde-41c0-9f47-03539a901e5f</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;SOLUTION!&lt;br /&gt;&lt;br /&gt;Check with a scope (which I shouldve done alot earlier), and the data that was being sent was infact 0x00.&lt;br /&gt;&lt;br /&gt;I set the tx_message to not be a const array, and the data is being sent and received correctly in Termite&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452357?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2bbf79a-500d-4408-bf61-6033d8167b28</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;Tried Termite, and here I actually get &amp;quot;data&amp;quot; [00] * len(message). So the data is actually sent with correct length.&lt;br /&gt;&lt;br /&gt;GND should be the same, as its only a USB cable. I am able to program the DK through the same cable.&lt;br /&gt;&lt;br /&gt;Ill try to get ahold of an oscilloscope in that case, to check that the correct data is being sent&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452354?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:36:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:559b6c5b-617d-4e51-ba4e-1dd0dac4421c</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;Its enabling HW_FLOW control, with a writing error &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61b.svg" title="Stuck out tongue"&gt;&amp;#x1f61b;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452352?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c261f06-196e-4d33-8f3e-61cb538c272e</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Does for us, 115200 and 230400 in regular use .. looking at the code snippet, what is &amp;quot;UARTE_HW_CLOW_CONTROL_ENABLED&amp;quot;? .. We don&amp;#39;t use flow control .. Maybe try Termite to see if it works differently.&lt;/p&gt;
&lt;p&gt;Edit: .. and maybe check the common GND is really common&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452351?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8178440a-8404-4be5-b751-331abc3862e9</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;Good tip, but nope, tried setting all of them to high drive, but still nothing.&lt;br /&gt;&lt;br /&gt;Does the J-Link handle all the different speeds? Or do I have to match the baudrate with the J-Link ATSAM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452350?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08ac98c2-d764-4985-91bf-2e5d46a6927c</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe check the Tx output pin on the DK is set to high-drive H0H1 after the serial port is initialised; the level might be too soggy if using standard drive S0S1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452348?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 16:08:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e811a87-4002-4174-b7d3-be642faf0cfc</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;Still the same issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452088?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 20:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c618e34-5864-4c1b-a1c1-a29b37c5e7ee</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Better to use DTR/DSR on the terminal (which enables the USB) and disable flow control on the nRF; that works with Termite and (if I remember correctly) also with PuTTY&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/452051?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 16:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57961db-bcb1-45c8-8100-992983fe26e6</guid><dc:creator>JosteinBrovold</dc:creator><description>&lt;p&gt;I went through the settings, WRT UART settings I had enabled Flow Control (Which should be enabled if Im using Flow Control on the nRF?), and I dont see how the keyboard settings will have anything to do with the problem when Im not trying to send data to the device (yet), just receive from it.&lt;br /&gt;&lt;br /&gt;Im not running any sample projects, I have written the drivers and code using the MDK.&lt;br /&gt;&lt;br /&gt;The DK was connected through a USB pass through on my Keyboard, but I tried connecting it to the front panel on the computer aswell, but the results were the same. On the DK its connected to J2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE to USB to PuTTY on nRF52840DK</title><link>https://devzone.nordicsemi.com/thread/451975?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 12:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be5ecaf4-6fcb-4dcc-bc03-cfe45c8f770e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Can you double check that you&amp;#39;ve set &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_cli.html#lib_cli_terminal_settings"&gt;the recommended settings for the PuTTY terminal&lt;/a&gt;? What sample project are you running when trying to see the logging information here? I assume you&amp;#39;re using the J-Link and J2 connector on the DK as the interface here? How is the DK connected to the computer exactly? Is it connected to a USB hub, or do you have another USB dongle connected directly next to it? USB 3.0 devices cause a lot of noise if I recall correctly that might affect nearby ports.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>