<?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>nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93617/nrf5840-not-advertising-with-dfu-code</link><description>Hi Nordic team, 
 I am working on a custom board which contains a nRF52840 BLE chip. 
 
 The board advertises with &amp;#39;Nordic Template&amp;#39; code but not with the DFU code. 
 I program first the chip with the soft device &amp;#39;s140_nrf52_7.2.0_softdevice.hex&amp;#39; then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Nov 2022 15:37:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93617/nrf5840-not-advertising-with-dfu-code" /><item><title>RE: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/395380?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 15:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52967536-76e2-47e5-9e47-741d7e2cd443</guid><dc:creator>Katie Newell</dc:creator><description>&lt;p&gt;Thank you Jonathan - much appreciated.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/395347?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 14:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4d0878-f6c5-463e-96e8-c24d083366f8</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Both can be correct, but seems like for some reason the tighter accuracy tolerance you was using is no longer working. Could be that the crystal that you are using is not as accurate as the last one for the previous design.&lt;br /&gt;&lt;br /&gt;So if there is no other issues then there is nothing wrong with using the values that the manufacturer recommended.&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: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/395266?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 09:42:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f341321-813e-4982-9ac5-b189e9e68670</guid><dc:creator>Katie Newell</dc:creator><description>&lt;p&gt;Thank you Jonathan.&lt;/p&gt;
&lt;p&gt;I will get in touch with the manufacturer and see what we can correct.&lt;/p&gt;
&lt;p&gt;What are the correct settings to use?&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/395216?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 22:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48b0afeb-b5f4-4c36-b2d6-ebcecde0ec7d</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;That is the settings for the crystal oscillator, so could be that the external crystal is not mounted correctly?&lt;br /&gt;&lt;br /&gt;The settings are for changing the accuracy from 20 to 500 PPM.&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: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/394807?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 20:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6362f0ba-fb09-4448-b433-14a8ddd5a537</guid><dc:creator>Katie Newell</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Jonathan,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I presented this issue to the PCB manufacturer explaining that we were expecting the exact same hardware and we don&amp;#39;t understand why our firmware no longer work on the new hardware. They came back and suggested to change the following soft device settings:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC from 1 to 0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_CTIV from 0 to 16&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_RC_TEMP_CTIV from 0 to 2&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;NRF_SDH_CLOCK_LF_ACCURACY from 7 to 1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After these changes, now DFU code works OK on the new board. I checked the settings in the Nordic Template and they are indeed set as the manufacturer suggested.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Would you be able to help us understand what these parameters do? Does the need of calibrating the soft device differently as we used to do mean that our hardware changed somehow? Maybe you can point us to a documentation&amp;nbsp;about this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Apologies for the basic questions - we are not experts in this level of the firmware. We outsourced writing the firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help and understanding&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Many thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/394776?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 15:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80455368-415b-489b-b1b7-eff10815ccb7</guid><dc:creator>Katie Newell</dc:creator><description>&lt;p&gt;Hi Jonathan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is the exact same schematic - no changes. Can I send you the layouts to see what changed?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes the new board works with the Nordic template firmware and adversities fine.&lt;/p&gt;
&lt;p&gt;We have 5 samples of the new &lt;span&gt;board&amp;nbsp;&lt;/span&gt;and I tested all of them. The DFU code works on none of them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My main question is - could the hardware effect how the DFU code works? I don&amp;#39;t know where to start investigating this issue - on the hardware or the firmware. I am only questioning the hardware because as I mentioned above I used the DFU code for over 2 years now on the first version of the hardware.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am&amp;nbsp;hoping you could provide some guidance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5840 not advertising with DFU code</title><link>https://devzone.nordicsemi.com/thread/394691?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 12:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09896043-ef2e-472a-886c-63e6617dfaf9</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;What layout changes? any new pins in use or other pins in use? or is the schematic the exact same still?&lt;br /&gt;&lt;br /&gt;But you have confirmed that the new board works otherwise?&lt;br /&gt;&lt;br /&gt;Have you tested more then one sample of the new revision?&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>