<?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>TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105159/ttl-hmi-to-nrf52840</link><description>Working with a Pinnacle 100 using an NRF52840. I have a HMI with a TTL serial interface. I have verified I/O on the HMI itself via a TTL/USB converter to Tera term, but having trouble with TTL comm to the NRF. Is there sample code available to reference</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Nov 2024 07:14:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105159/ttl-hmi-to-nrf52840" /><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/509593?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2024 07:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec4a376c-ad02-4ef1-9d45-83fdeac03b5d</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="MontanaEE"]What is the best way to receive this in?&amp;nbsp; I&amp;#39;m thinking of bringing it in as a string, but I need to send and receive in the same format.&amp;nbsp;[/quote]
&lt;p&gt;You just have to select one, not sure if one is better then the other, hex or string will both work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/509320?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 19:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89d5212a-b760-48fc-ad93-86b8820ea967</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Hey Jonathan,&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;nbsp;I have this setup for the two wire TX/RX on my display to connect to the nrf52840.&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uart0_default_alt:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uart0_default_alt&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;phandle&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;0x2&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;group1&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;psels&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;0x6&lt;/span&gt;&lt;span&gt; &amp;gt;, &amp;lt; &lt;/span&gt;&lt;span&gt;0x10008&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uart0_sleep_alt:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uart0_sleep_alt&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;phandle&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;0x3&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;group1&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;psels&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt; &lt;/span&gt;&lt;span&gt;0x6&lt;/span&gt;&lt;span&gt; &amp;gt;, &amp;lt; &lt;/span&gt;&lt;span&gt;0x10008&lt;/span&gt;&lt;span&gt; &amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;low-power-enable&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I do know what the signal looks like with the o&amp;#39;scope now.&amp;nbsp; What is the best way to receive this in?&amp;nbsp; I&amp;#39;m thinking of bringing it in as a string, but I need to send and receive in the same format.&amp;nbsp; Below is the signal I receive for a single touchscreen press.&amp;nbsp; Each button is it&amp;#39;s own unique number always ending in FF FF FF.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/HMI-to-Data-Match-Up.jpg" /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Stephen&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/459003?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 14:15:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da76b80a-d13c-429b-bace-a317230c08c0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Both the&amp;nbsp;Analog Discovery and Saleae works well as logic analyzers but I do see that there are some makeshift Arduino options like this&amp;nbsp;&lt;a href="https://www.hackster.io/vincenzo-g/diy-logic-analyzer-f61ee5"&gt;https://www.hackster.io/vincenzo-g/diy-logic-analyzer-f61ee5&lt;/a&gt;&amp;nbsp;that doesn&amp;#39;t brake the bank.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Whatever you end up using should help with further debugging.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/457729?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 04:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16fc9a4d-b644-46e0-9312-dd1cef82d921</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp; I will see what I can find for an LA.&amp;nbsp; I have everything connected as it should be then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/457491?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 09:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db0d44e-d428-4beb-8ab4-3ea2a75f9686</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jonathan is out of office, so I&amp;#39;m replying instead.&lt;/span&gt;&lt;/p&gt;
[quote user="MontanaEE"]Am I correct that for the 3.3V TTL Serial, I would connect to the UART TX and RX?&amp;nbsp;[/quote]
&lt;p&gt;Correct.&lt;/p&gt;
[quote user="MontanaEE"] If so, I was trying to find out how to view the data so I can debug the HMI.[/quote]
&lt;p&gt;Personally, I prefer&amp;nbsp;saleae logic analyzer, but there are other options&amp;nbsp;on the marked as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/456231?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 17:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241da3a3-ea9a-47bd-aede-3dda5ca20e75</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;&lt;span&gt;Jonathan,&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;Thank you for the response.&amp;nbsp; Yes, I do have an o&amp;#39;scope.&amp;nbsp; The board I am using is the Laird Pinnacle 100 DVK.&amp;nbsp; It has a UART port that I can access the TX/RX pins on.&amp;nbsp; Am I correct that for the 3.3V TTL Serial, I would connect to the UART TX and RX?&amp;nbsp; &amp;nbsp; If so, I was trying to find out how to view the data so I can debug the HMI.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;Stephen&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/455537?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 13:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fbed664-f282-4a23-bcf8-67754d04e60a</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="MontanaEE"]Is there a way to monitor the other UART port to see what is coming through besides just getting the echo back on the port?&amp;nbsp;[/quote]
&lt;p&gt;Do you have a logic analyzer or a Oscilloscope that you can probe the lines with to see what is happening on the line?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;TP 13 and TP 14 is USB lines test points.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&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/pastedimage1699968979860v1.png" alt=" " /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/453400?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 00:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79ad9b3e-1fd0-4413-8da3-f59fb6072fbb</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;The SDK version I have is 2.5.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/453373?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2023 18:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7654e66b-1208-4b57-9779-5fee764e271e</guid><dc:creator>MontanaEE</dc:creator><description>&lt;p&gt;I am using the Laird Connectivity Pinnacle 100 DVK.&amp;nbsp;&amp;nbsp;&lt;a id="" href="https://docs.zephyrproject.org/latest/boards/arm/pinnacle_100_dvk/doc/index.html"&gt;https://docs.zephyrproject.org/latest/boards/arm/pinnacle_100_dvk/doc/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This DVK uses Zephyr RTOS.&amp;nbsp; I am a first time Zephyr user so picking that up as I work through this.&lt;/p&gt;
&lt;p&gt;I have a UART available on the DVK, but I do not see the data from the touchscreen coming in on the port.&amp;nbsp; I can connect the same touchscreen to a TTL to USB converter and see the touchpoint ID&amp;#39;s come through on TeraTerm with no issue,&amp;nbsp; so I know that is functioning.&amp;nbsp; There is a direct USB port to the NRF52840 on the DVK.&amp;nbsp; Is there a way to monitor the other UART port to see what is coming through besides just getting the echo back on the port?&amp;nbsp; This is a 3.3V TTL signal which should be compatible with the UART I believe.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TTL HMI to NRF52840</title><link>https://devzone.nordicsemi.com/thread/453090?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 14:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a262a36d-aefe-4873-ad0f-fe66a323ab99</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Can you share some more about the setup\issue?&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What SDK are you using?&lt;br /&gt;&lt;br /&gt;We do have some uart and usb examples.&lt;br /&gt;&lt;br /&gt;nRF5SDK&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/uart_example.html?cp=9_1_4_6_48"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/uart_example.html?cp=9_1_4_6_48&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/examples_usb.html?cp=9_1_4_6_50"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/examples_usb.html?cp=9_1_4_6_50&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NCS&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/87bdbc783a5eed1b02685f45075311215bfc1de3/samples/peripheral/lpuart"&gt;https://github.com/nrfconnect/sdk-nrf/tree/87bdbc783a5eed1b02685f45075311215bfc1de3/samples/peripheral/lpuart&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>