<?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>nRF52840 PCB &amp;amp; Antenna Design</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104586/nrf52840-pcb-antenna-design</link><description>Hi, 
 I have been designed a couple of PCBs using STM32 MCUs and got them manufactured &amp;amp; assembled through JLCPCB and this is my first project designing a PCB using nRF SoC. I have several queries, to be honest, regarding my nRF 52840 based PCB before</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Oct 2023 12:13:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104586/nrf52840-pcb-antenna-design" /><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/451494?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 12:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bcac565-8c16-451b-9214-34343e5ce265</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Yes, that&amp;#39;s the components in meant. This configuration looks good.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/451345?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 14:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241508b4-bd64-40cb-85a2-8e754a888d1d</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;Thanks for responding.&lt;/p&gt;
&lt;p&gt;By remaining components you mean C3, L1 and C4? I have used these for radio matching then I have C23 shunt cap for antenna. I have used these 4 components only due to space limitation.&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;C3,L1, C4&amp;nbsp; [Radio side]&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;C23 Shunt Caps [Antenna side]&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/451304?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 12:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f339b2ee-098e-433b-b948-0dc2d46327f4</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;This antenna looks OK, only one shunt capacitor is needed for tuning a monopole antenna, so the antenna matching circuit is also OK. The 3 remaining components are needed for impedance matching and harmonic frequency filtering for the radio, these components should match the reference schematic.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/450959?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 07:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d93ce11-d610-48d5-8816-f5b0d813fb1d</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;I have partially modified my design as per requirement of space/ dimensions of the PCB and used a monopole antenna which is routed around a 6x14 sq.mm slit/ hole. I have attached a screenshot of the antenna for a review and additional components are essentially required for tuning by Nordic?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&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/Screenshot_5F00_72.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/450913?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 18:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64e92aff-2fa2-4224-aa7d-9d85fe295412</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;Thank you very much for your response.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/450309?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 13:04:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdec2c27-97d1-49c4-932a-dc178ab38cae</guid><dc:creator>Bendik Heiskel</dc:creator><description>[quote user="X4ce"]If I plan to use USB peripheral then I don&amp;#39;t need USB to UART bridge? Is, so, I just need to connect VBUS to VUSB, Gnd, and D+ and D- using differential pair? So, after uploading bootloader through SWD. I can program nRF52840 using this USB?[/quote]
&lt;p&gt;USB CDC can be used for a serial connection through the USB interface so there&amp;#39;s no need to add a additional USB to UART bridge. The USB peripheral needs 5V on the VBUS pin, the 4.7uF capacitor on DECUSB and the D+ and D- lines to function. If a bootloader with USB support is flashed using the SWD interface, the application can be programmed using just USB.&lt;/p&gt;
[quote user="X4ce"]If I plan to utilize bottom layer to place some components, what precautions should be followed in general?[/quote]
&lt;p&gt;No components or traces can be routed under the RF transmission line, and there should be a good GND connections to the GND vias under the SoC.&lt;/p&gt;
[quote user="X4ce"]In reference design, I see a transmission line width of 0.762mm &amp;amp; approx spacing of 0.25m from ground. Moreover, stackup shows 1.6mm thickness of the PCB. However, I calculated transmission line width under the same conditions on JLCPCB &amp;amp; KiCad, they show a trace width of 1.25mm. Why there is significant difference? For Radio C3, L1 &amp;amp; C4 are used to matching with 50ohm and C26 for radio but, in between, I need to match transmission line impedance as well. Please guide.[/quote]
&lt;p&gt;The difference will come from the dielectric constant for the PCB substrate, I can&amp;#39;t verify what value was used for the trace width calculations in the reference design.&lt;/p&gt;
&lt;p&gt;It is always best to use the transmission line dimensions provided by the PCB manufacturer as they have the data for the specific PCB substrate used. A trace impedance within +/- 5 Ohm won&amp;#39;t result in any significant loss of transmitted power.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/449914?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 18:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d71b194-623e-4960-b4fb-adae3803c999</guid><dc:creator>X4ce</dc:creator><description>&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;Following your guidelines, I have made following changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ground of C3 was not connected to VSS_PA &amp;amp; bottom of the chip. I used cutout to remove ground plane connection and used trace to connect to chip bottom ground.&lt;/li&gt;
&lt;li&gt;Added ground cutouts to both internal layers beneath transmission line.&lt;/li&gt;
&lt;li&gt;VDD_NRF net was missing at VDD (A22) with C12, added it.&lt;/li&gt;
&lt;li&gt;Removed C20 and left DECUSB floating.&lt;br /&gt;Removed battery measurement.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;br /&gt;Regarding the load capacitors, I am using the same crystal as of reference design and, as such, reference design CLs are used. So, it&amp;#39;s fine.&lt;/p&gt;
&lt;p&gt;I have following queries if you could help with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If I plan to use USB peripheral then I don&amp;#39;t need USB to UART bridge? Is, so, I just need to connect VBUS to VUSB, Gnd, and D+ and D- using differential pair? So, after uploading bootloader through SWD. I can program nRF52840 using this USB?&lt;/li&gt;
&lt;li&gt;If I plan to utilize bottom layer to place some components, what precautions should be followed in general?&lt;/li&gt;
&lt;li&gt;In reference design, I see a transmission line width of 0.762mm &amp;amp; approx spacing of 0.25m from ground. Moreover, stackup shows 1.6mm thickness of the PCB. However, I calculated transmission line width under the same conditions on JLCPCB &amp;amp; KiCad, they show a trace width of 1.25mm. Why there is significant difference? For Radio C3, L1 &amp;amp; C4 are used to matching with 50ohm and C26 for radio but, in between, I need to match transmission line impedance as well. Please guide.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&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/6011.Screenshot_5F00_63.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PCB &amp; Antenna Design</title><link>https://devzone.nordicsemi.com/thread/449892?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 15:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ec1ee6-14da-4cd4-b3bc-d387d778ef9e</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi Shahid,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Do I need to connect any other power supply (besides not required by me)?[/quote]
&lt;p&gt;When only using high voltage mode(VDDH) you don&amp;#39;t need to supply any other voltage to the SoC. But you still need to connect all the VDD pin externaly though the VDD_nRF net.&lt;/p&gt;
[quote user=""]I have not used VBUS, so I can remove C21 (4.7uF)?[/quote]
&lt;p&gt;VBUS is only needed when the USB peripheral is used. If this isn&amp;#39;t needed you can ground the VBUS pin and remove C21 and leave the DECUSB pin floating.&lt;/p&gt;
[quote user=""]If, I connect power to VDDH, do I get regulated VDD from SoC?[/quote]
&lt;p&gt;Yes, the VDD pins will be the output of REG0, this output voltage can be configured through the REGOUT0 register:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=5_0_0_3_4_0_7#register.REGOUT0"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=5_0_0_3_4_0_7#register.REGOUT0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This can be used for supplying external components, but the supply current is limited based on the radio output power. Here&amp;#39;s a overview of the max external current draw based on the tx power used:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_7_1#unique_1706523351"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_7_1#unique_1706523351&lt;/a&gt;&lt;/p&gt;
[quote user=""]In Reference Design, what is meant by Vext? It is for supplying load to external components or otherwise?[/quote]
&lt;p&gt;Yes, Vext is for supplying external components from REG0.&lt;/p&gt;
[quote user=""]Do I need NC in my design such as C10, C13, C22?[/quote]
&lt;p&gt;No, these components are not needed and can be removed from the design. Just make sure that DEC2 is floating, it should not be grounded.&lt;/p&gt;
[quote user=""]I do not need RTC function and, as such, not used optional 32.768KHz external oscillator. I left pins unconnected, I hope this is fine. I am using following, 32MHz crystal OSC.[/quote]
&lt;p&gt;Leaving the XL1 and XL2 pins disconnected is OK when not using the 32.768kHz crystal. The 32MHz crystal looks OK but you have to make sure you are using the correct load capacitance(C1 and C2) for the crystal you are using. This is dependent on the CL rating of the crystal, to calculate the required load capacitance you can use the following equation:&lt;/p&gt;
&lt;p&gt;C_cap = 2*CL-C_pin&lt;/p&gt;
&lt;p&gt;For the nRF52840 C_pin is 4pF.&lt;/p&gt;
[quote user=""]C9 is required for this design, I have included it to be on safe side.[/quote]
&lt;p&gt;Having C9 connected on version Fxx and newer isn&amp;#39;t a issue, so this is OK.&lt;/p&gt;
[quote user=""]I have not used NFC, USB,&amp;nbsp;DCC and DCCH pins and left them unconnected.[/quote]
&lt;p&gt;This is fine, just make sure that you don&amp;#39;t configure either of the internal regulators for DCDC mode, as this will brick the device due to the missing inductors on DCC and DCCH.&lt;/p&gt;
[quote user=""]Regarding Reset pin, can I leave it unconnected?[/quote]
&lt;p&gt;If it&amp;#39;s not needed it&amp;#39;s OK to leave it disconnected.&lt;/p&gt;
[quote user=""]Do I need Tracedata pins for debugging?[/quote]
&lt;p&gt;Debugging can be done though the SWD interface, so you don&amp;#39;t need to use Trace.&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6253.Screenshot_5F00_60.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This is fine?&lt;/li&gt;&lt;/ul&gt;[/quote]
&lt;p&gt;This looks good, but you can also sample the voltage directly from the VDDH pin internally, so this isn&amp;#39;t strictly needed.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html?cp=5_0_0_5_22"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/saadc.html?cp=5_0_0_5_22&lt;/a&gt;&lt;/p&gt;
[quote user=""]I will not be using USB in my first design due to space limitation and will be using SWD for this purpose. I have STLink &amp;amp; nRF52840 DK, can I use STLink to program (bootload/ flash) this nRF52840 by supplying VDD(3V3), Gnd, SWDIO &amp;amp; SWCLK?[/quote]
&lt;p&gt;I&amp;#39;m not sure if the STLink supports the nRF52840, but you can use the nRF52840DK to program the board. The only connections need is VDD(3V form the DK), GND, SWDIO and SWDCLK.&lt;/p&gt;
[quote user=""]Due to space/ width limitation, I have placed SMA connector at top by extending trace from C4 to SMA, this will require matching at end? If, so, what is the easiest procedure?[/quote]
&lt;p&gt;The connector should be matched to 50Ohm already so it won&amp;#39;t need a matching network. Only the antenna and the radio requires matching networks, C26 for the antenna and C3, L1 and C4 for the radio.&lt;/p&gt;
[quote user=""]Also, as per antenna design paper, I need to keep at least 10mm distance between antenna and ground plane, this has also increased width of PCB beyond 6mm of the requirement. Which antenna would you suggest for limited space? Any reference design giving matching components and antenna design.[/quote]
&lt;p&gt;A meander antenna requires less space than a standard monopole antenna. The nRF52840 dongle uses one of type, you can download the design and production files for the dongle here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle/Download"&gt;https://www.nordicsemi.com/Products/Development-hardware/nRF52840-Dongle/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The antenna will require tuning, so the values of the matching components used on the dongle may not be optimal for your board. We offer radio and antenna tuning for designs using our devices free of charge, so if you don&amp;#39;t have the equipment needed for it you can send us board samples for tuning.&lt;/p&gt;
[quote user=""]Can I connect small, wire type, antenna to SMA connector without this PCB antenna? Please provide any such antenna type.[/quote]
&lt;p&gt;Any external antenna designed for the 2.4GHz ISM band will work, I don&amp;#39;t have any specific recommendation at hand.&lt;/p&gt;
[quote user=""]Please list any other compact and reasonable chip antenna considering space limitation.[/quote]
&lt;p&gt;It is probably best if you have a some antenna manufacturers help you select the antenna best suited for your board. &lt;/p&gt;
&lt;p&gt;Johanson technology have a handy chip antenna selection guide:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.johansontechnology.com/chip-antenna-selection"&gt;https://www.johansontechnology.com/chip-antenna-selection&lt;/a&gt;&lt;/p&gt;
[quote user=""]I have followed nRF52840 Reference Design but I need to make sure everything is reasonably correct before placing order. I have attached my gerber files.[/quote]
&lt;p&gt;The layout looks mostly good, only comment is that the GND cutout on the internal layers should be extended to cover the entire RF transmission line, like this:&lt;/p&gt;
&lt;p&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/pastedimage1697037495059v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>