<?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>The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108254/the-cs-susceptiblility-test-is-completed-with-uart-output-even-if-there-is-no-response</link><description>hello, 
 While conducting a CS (Susceptiblility) test, unexpected data was generated from the UART. When I checked the data, the data was output as follows. 
 Of course, I did not run any events that generate data. 
 
 Why did I not enter any key data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2024 09:24:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108254/the-cs-susceptiblility-test-is-completed-with-uart-output-even-if-there-is-no-response" /><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/481954?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 09:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e216692-a5f5-4224-9bb1-4f04c5feb80f</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Good to hear you figured out the cause of the problem, I will close the ticket then &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: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/480780?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 23:20:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e79424ae-07d6-403e-8a96-215c08cfeb6b</guid><dc:creator>pkr2258</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry for the delay in registering your results.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In conclusion, there were no problems with nRF52.&lt;/p&gt;
&lt;p&gt;A key-related element in the same PCB malfunctioned.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468951?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 08:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df696125-8af8-41ec-8657-40a471ef33e8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@SHMoon: What do you connect on the other side of the UART ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please do what I suggested to turn off app_uart_put() in&amp;nbsp;ble_nus_chars_received_uart_print()&lt;br /&gt;Please try to test and make sure you can do UART (without BLE) normally.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If you test with unmodified ble_app_uart do you see the problem ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468916?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 00:15:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91db4a9-9368-4c15-8109-c44dbb5de73f</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Does the peripheral button have a pull-up enabled or an external pull-up? (Required)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468914?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 23:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cbaec5f-168b-483f-b4e7-c605fe858115</guid><dc:creator>SHMoon</dc:creator><description>&lt;p&gt;I am using 4.7k pullups for tx/rx on nRF52832.&lt;/p&gt;
&lt;p&gt;During the test, I added a pull-up to the other MCU, but it had no effect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;ECHOBACK_BLE_UART_DATA is disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468913?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 23:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d790c5-7d16-462a-8f7f-9343d5acf32a</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Suggestion: turn on the internal pull-up on the Rx pin for both Central and Peripheral. With either Rx pin disconnected, without a pull-up the Rx inputs are both susceptible to generate noise such as this which will be forwarded to the Central via BLE and output on the UART.&lt;/p&gt;
&lt;p&gt;Edit: Note you may have&amp;nbsp;ECHOBACK_BLE_UART_DATA enabled, which further complicates testing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468912?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 23:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cd064e7-2029-4bc6-9615-049791412e15</guid><dc:creator>SHMoon</dc:creator><description>&lt;div class="quote-header"&gt;&lt;/div&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;-nRF5_SDK_17.1.0&lt;/p&gt;
&lt;p&gt;-NUS (Peripheral-Central)&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;We conducted an experiment dividing it into two cases.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;Case 1) Peripheral power is turned off and central is scanning.&lt;/p&gt;
&lt;p&gt;=&amp;gt; UART data above does not occur&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;Case 2) Peripheral is turned on and paired with central.&lt;/p&gt;
&lt;p&gt;=&amp;gt; UART data above above occurs&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/108254/the-cs-susceptiblility-test-is-completed-with-uart-output-even-if-there-is-no-response/468604"]Could you describe how the test is performed ?&amp;nbsp;&lt;br /&gt;The data output on UART were simply noise or it was some data ?&amp;nbsp;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is absolutely nothing transmitted on the UART line that is simply noise.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;The orange line below is the tx line of the nRF52832, and the white line is the rx line.&lt;/p&gt;
&lt;p&gt;With tx data transmission, data is loaded on the rx line. In other words, the receiving side of communication is sending data through the rx line because the tx is normal.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;In the waveform below, I haven&amp;#39;t done any manipulation, but data is being generated when the button is pressed.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:153px;max-width:681px;" alt=" " height="153" src="https://devzone.nordicsemi.com/resized-image/__size/1362x306/__key/communityserver-discussions-components-files/4/pastedimage1707953373163v1.png" width="681" /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;If you zoom in, it looks like that...&lt;/p&gt;
&lt;p&gt;This statistic is actually how we use it.&lt;/p&gt;
&lt;p&gt;(The transfer was made via static void ble_nus_chars_received_uart_print(uint8_t * p_data, uint16_t data_len)&lt;/p&gt;
&lt;p&gt;Covers the basic format of the case. )&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- start byte : 0x02&lt;/p&gt;
&lt;p&gt;- mode : 0xA0 ( button )&lt;/p&gt;
&lt;p&gt;- length : 0x02&lt;/p&gt;
&lt;p&gt;- data : 0x1F (button )&lt;/p&gt;
&lt;p&gt;-reserved : 0x00&lt;/p&gt;
&lt;p&gt;- end byte : 0x03&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:95px;max-width:597px;" alt=" " height="95" src="https://devzone.nordicsemi.com/resized-image/__size/1194x190/__key/communityserver-discussions-components-files/4/pastedimage1707953547255v2.png" width="597" /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;Sometimes, tx is generated as shown below.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:84px;max-width:640px;" alt=" " height="84" src="https://devzone.nordicsemi.com/resized-image/__size/1280x168/__key/communityserver-discussions-components-files/4/pastedimage1707953875509v3.png" width="640" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Occasionally, data that cannot be generated as shown below may be generated.&lt;img style="max-height:74px;max-width:343px;" alt=" " height="74" src="https://devzone.nordicsemi.com/resized-image/__size/686x148/__key/communityserver-discussions-components-files/4/pastedimage1707954164022v1.png" width="343" /&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t press any buttons,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand that the data of the communication protocol when the button is operated is transmitted through tx...&lt;/p&gt;
&lt;p&gt;I checked the debugging messages with printf.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;However, surprisingly, data was being sent to the tx line using the ble_nus_chars_received_uart_print function.&lt;/p&gt;
&lt;p&gt;So the protocol was adjusted.&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;
&lt;p&gt;However, the only condition that enters this function is when the peripheral button is pressed, but no button is pressed at all.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand why it was implemented.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:87px;max-width:961px;" height="87" src="https://devzone.nordicsemi.com/resized-image/__size/1922x174/__key/communityserver-discussions-components-files/4/pastedimage1707954672331v2.png" width="961" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;.&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: The CS (Susceptiblility) test is completed with UART output even if there is no response.</title><link>https://devzone.nordicsemi.com/thread/468604?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 12:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c1149b-7d7a-4524-b774-a91b6caa753b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi SHMoon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you describe how the test is performed ?&amp;nbsp;&lt;br /&gt;The data output on UART were simply noise or it was some data ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you turn off the line that output on UART:&amp;nbsp;app_uart_put()&amp;nbsp;&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/pastedimage1707828661778v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Do you still see the same problem ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>