<?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>How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84761/how-do-you-program-the-swdio-and-swdclk-of-the-nrf52832-dk</link><description>I currently have a nRF52832 DK connected to an external board with a BC832 module connected to the nRF52832 DK through a P19 connector. The voltage I have running and connections I have are correct but I have questions on the software side of things.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Feb 2022 09:13:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84761/how-do-you-program-the-swdio-and-swdclk-of-the-nrf52832-dk" /><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/354066?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 09:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f33221b-58ec-4fff-bcdc-93507e4faa39</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="duendiad"]Currently nothing is being sent from this P19 port as I checked the signals from P19. [/quote]
&lt;p&gt;It sounds like you have not powered your external device as per the user guide, ie. that it is not powered with 3.0V.&lt;/p&gt;
&lt;p&gt;Or, that you are not triggering during programming.&lt;/p&gt;
&lt;p&gt;Note that the SWD interface is only active when you program or enter debug mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="duendiad"]Currently nothing is being sent from this P19 port as I checked the signals from P19. The only signal I was able to measure was a 60Hz signal and this was the same frequency for most pins which I assume is the standard signal sent. How do I make sure the SWDIO and SWCLK are sending the correct commands to the BC832?[/quote]
&lt;p&gt;This is highly likely noise from your mains.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/354018?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 01:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568d1424-a77d-4c8a-9759-c4153dcba0a8</guid><dc:creator>duendiad</dc:creator><description>&lt;p&gt;After going through my code, one part of change I can see occurring is at the SAADC channel configuration. I currently have it for AIN3 but that is because I inputted a generated signal. The BC832 I am using is ideally supposed to obtain an input from another chip. If this is the case then what should this input be set to or what would I need to code to make sure the BC832 obtained this value?&lt;/p&gt;
&lt;p&gt;Currently nothing is being sent from this P19 port as I checked the signals from P19. The only signal I was able to measure was a 60Hz signal and this was the same frequency for most pins which I assume is the standard signal sent. How do I make sure the SWDIO and SWCLK are sending the correct commands to the BC832?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/353759?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 07:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5cf3cf6-0c04-4bac-9efe-cf99eeac7304</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;A program that works on a specific board, is not guaranteed to work in other configurations. You can have different settings, like not having an external 32k source, as well as use different GPIOs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To answer your question directly: No, it is not guaranteed that it will then run on another module. However, it is likely that only small changes are needed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/353734?ContentTypeID=1</link><pubDate>Fri, 18 Feb 2022 00:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9d7207-2801-493a-8e3d-72d059487800</guid><dc:creator>duendiad</dc:creator><description>&lt;p&gt;Just to clarify...&lt;/p&gt;
&lt;p&gt;If I have code&amp;nbsp;that&amp;#39;s able to read the ADC of the DK and&amp;nbsp;then&amp;nbsp;connect P19 to an external board with a BC832 then it should be able to read the ADC of the BC832 and not the DK? And no additional code is needed to establish this connection because my previous code establishes it with the DK already?&lt;/p&gt;
&lt;p&gt;Thank You For Your Responses&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/353250?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 08:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61fe7c31-749b-4201-8262-55cb4b95f716</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;As long as you have connected according to the former link to the user guide, it should be routed to your external board when you program.&lt;/p&gt;
&lt;p&gt;Meaning: you do not have to do anything to &amp;quot;switch debug port&amp;quot; on the PC side.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/353201?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 20:16:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e0a1fb5-da60-4d1d-81b9-9cfae6045081</guid><dc:creator>duendiad</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the response.&lt;/p&gt;
&lt;p&gt;My setup seems to be correct and I am currently using SES. Are there any examples that use P19 and the SWDIO and SWDCLK? I am trying to code these two and finding certain commands could really help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do you program the SWDIO and SWDCLK of the nRF52832 DK?</title><link>https://devzone.nordicsemi.com/thread/353021?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 07:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:add9d211-1766-482c-9fa8-85677e0e6f83</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you have a external board connected to either P19 or P20, with a valid VDD of 3.0V, the nRF52-DK will automatically switch to debug the target connected on the specific port. More info can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html?cp=4_2_4_5_9"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html?cp=4_2_4_5_9&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For programming: You can use nrfjprog, JLink tools, or nRF connect for desktop - programmer application, or any other JLink compatible software on the PC side (Keil, IAR, SES, etc)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>