<?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>UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25816/uart-not-sending-data-to-ftdi-usb</link><description>I can&amp;#39;t get my PCA10040 board to send serial data when connected to a FTDI USB dongle.
When the FTDI dongle is disconnected, and I connect my logic analyzer to the tx and gnd pins assigned on to the UART on the PCA10040 board it works perfectly. But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Oct 2017 16:45:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25816/uart-not-sending-data-to-ftdi-usb" /><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101705?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 16:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bcfa17d-610d-44fa-bb76-074e9bc089ec</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I tested this with the oscilloscope and electrically everything is fine, so it is not a hardware issue, so I tried the UART example from the latest SDK v14.0 and it works fine. The problem has to be in the SDK11.0 UART driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101699?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 20:22:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:065e43e2-4465-4ab9-826c-acc62e6cb880</guid><dc:creator>martin.richter.supervag</dc:creator><description>&lt;p&gt;I connected it on other pins and works well. Rx is P0.08, Tx P0.06, CTS P0.07 to ground, picture at &lt;a href="https://os.mbed.com/platforms/Nordic-..."&gt;os.mbed.com/.../Nordic-...&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101697?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3e7b505-c6a7-4d91-9f87-6f421e05e2e7</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Really? OK, then there&amp;#39;s something going here that I can&amp;#39;t figure out. I&amp;#39;ll have to keep searching...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101696?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:40:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1881d7-a48e-46ae-8f6e-b2a7424b0301</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I can only say that my PCA10028/40/56 work with FTDI RS232-TTL-3V3 serial to USB convertors without problems for years. I hope you crack it soon...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101695?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54c50a91-a768-4f02-8450-4fc018fee904</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I can only get the UART on the PCA10040 to work using the onboard JLink OB COM port, it will not work with any external UART interface hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101702?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254a6dcc-b7d4-4efe-8ab6-a8bdc815f41f</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;To clarify. it sends and receives via the JLink OB COM port. Interestingly when I attach the logic analyzer I get no readings, which makes me think the error in UART config in my app is also causing the problems with the FTDI dongle. I&amp;#39;ll investigate further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101701?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 13:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04269399-979b-4480-9378-3ac8d22ca5de</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;BTW endnode, thanks for your help on this! So, I went back to basics and loaded the uart peripheral example with no softdevice to test in non-loopback mode and it sends and receives correctly to my terminal program. So there is definitely a problem with how I have configured the UART in my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101700?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:51:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6074d9d2-340e-4414-92a1-cc602741f187</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well isn&amp;#39;t the problem in your terminal app on PC side (as it usually is)? Can you test it from something reliable (e.g. from Python which can stream raw hexadecimal bytes to serial port)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101687?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66017a5b-7d3a-49cd-88d8-853642b73a30</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Logic analyzer on UART RX P0.8 of the JLink OB COM port is seeing  0x21 no matter what I send on the terminal program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101693?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ef8595d-64ad-4bea-b423-f1dd8a3cc23e</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I configured the JLink OB COM port. I am able to transmit bytes out the UART of the PCA10040 to my terminal program OK. Receiving bytes from the terminal program does not work correctly though. No matter what I send the UART receives 0x21. I&amp;#39;ll try putting the logic analyzer on P0.8 to see what&amp;#39;s happening in the hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101692?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09432b14-61ed-47d7-b939-88bca792ffc2</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;You mean Dev Kit&amp;#39;s user guide?:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101691?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11ec1ba9-96bb-4971-8602-22b96ab0b929</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I have not tried the segger JLink OB COM port. Is there any documentation on how to use this? I have tried other IO pins on the board without success&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101704?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:08:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9ec7003-0eab-4030-a120-6ef805984cce</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;I tried connecting CTS to ground. No change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101690?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a72b191-46b5-4ffe-ba60-d5962529a94e</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Have you tried SEGGER J-Link OB COM port on the DK itself? If that works then I&amp;#39;m sorry but it&amp;#39;s somewhere in your wiring or FTDI dongle (the fact that it works with STM32 board is encouraging but not a proof of anything).&lt;/p&gt;
&lt;p&gt;One more thing: P0.26 and P0.27 are used in I/O expander connection (see Table 5 in nRF52 DK User Guide). I don&amp;#39;t see any reason why this should cause the effect but I cannot exclude it so going with some different PIN (not connected to any HW feature on DK;) might be also good debugging step. Actually many PINs are usable if you short Arduino shield detect PIN on P5 header...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101689?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ccc7d98-c0c4-4678-82bb-6069b0c29de5</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Also, when I test the UART signals with a logic analyzer and the dongle disconnected, the UART output is working correctly, so it has to be some kind of hardware issue with the PCA10040. If that&amp;#39;s the case, I would expect other people to have the same problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101694?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4693f23b-4887-4a86-8021-b84936ec1180</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Yes, the wiring is fine. I&amp;#39;ve checked it multiple times and I use this dongle all the time with the STM32 boards it works perfectly. The dongle is 3V3. It will not work at all with the PCA10040&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101703?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 11:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f12c78df-fc89-43d7-9132-6b3012b8a9e2</guid><dc:creator>martin.richter.supervag</dc:creator><description>&lt;p&gt;I connected it on other pins and works well.
Rx is P0.08, Tx P0.06, CTS P0.07 to ground,
picture at &lt;a href="https://os.mbed.com/platforms/Nordic-nRF52-DK/"&gt;os.mbed.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101688?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 11:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8345649-ecb8-4bde-96de-0a77b872f3a1</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Are these Tx/Rx from the right point of view?;) Also is the dongle really 3V3 TTL UART?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101685?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 11:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f813906-569d-421f-9316-3531eec2c8f6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Also are you sure that Tx/Rx/GND wires are correct on the dongle? Just trying some trivial mistakes...;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101684?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 11:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d27b0e1e-d9fc-49b0-878e-873b4ac0f22a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;It looks OK. Simple test would be: use Tx/Rx pins attached to J-Link OB chip on the Dev Kit and see if SEGGER emulation of COM port works. If yes then it&amp;#39;s most probably in your dongle or clumpsy wiring...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101686?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 10:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c181a274-bb1f-43c9-8898-097931ad8d2f</guid><dc:creator>Doug_H</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m using jumper wires. I have PCA10040 TX=P0.27, RX=P0.26. I added a link to a photo of the way the boards are connected in the original post&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART not sending data to FTDI USB</title><link>https://devzone.nordicsemi.com/thread/101698?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 10:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b40e0e1-b174-4ef4-93be-644951734bcd</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Maybe more details on how you exactly connect the dongle to the board? Are there some jumper wires between nRF52 GPIO header pins and your FTDI convertor? Do you have the system grounded properly? Maybe photo would help...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>