<?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>programing and interrupts on custom PCB using nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4496/programing-and-interrupts-on-custom-pcb-using-nrf51822</link><description>Hey, 
 I am designing a custom PCB with the nrf51822. I would like to use the reference layout that Nordic provides, specifically nrf51x22_qfaa. My project involves reading an accelerometer and gyroscope via TWI and transmitting certain measurements</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Nov 2014 13:41:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4496/programing-and-interrupts-on-custom-pcb-using-nrf51822" /><item><title>RE: programing and interrupts on custom PCB using nrf51822</title><link>https://devzone.nordicsemi.com/thread/15937?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2014 13:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b208c8-b923-4141-b7ab-60ffdfc6ba51</guid><dc:creator>mnhs</dc:creator><description>&lt;p&gt;Thanks for the info about pulls, good to know.&lt;/p&gt;
&lt;p&gt;I finally found the .pdf I wanted to post before but couldn&amp;#39;t find it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ti.com/lit/an/szza009/szza009.pdf"&gt;www.ti.com/.../szza009.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is an EMI guide. The topic is far more complicated but for the first PCB this should be enough Just a short note for MIchael Dietz - when making 2 layer PCB design, ground plane splitting cannot be fully avoided. But do the best to make it as uniform as possible, one additional hour when routing the PCB really pays off here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programing and interrupts on custom PCB using nrf51822</title><link>https://devzone.nordicsemi.com/thread/15936?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2014 13:29:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c29861-bcfd-40b9-ac9b-37431b0beb71</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Nice answer by mnhs here, but regarding the pull on SWDIO and SWDCLK. There are internal pulls on both, so you don&amp;#39;t need the external (if you forget or don&amp;#39;t want to add it).&lt;/p&gt;
&lt;p&gt;Q2: TWI can go to any pins, as stated by mnhs. I can&amp;#39;t remember any restrictions with regard to wake up pins and softdevice, but the pins you are thinking of might be related to some code examples using pins for UART debugging? This would be application implementation and could easily be moved to other pins if wanted.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t gone into details on the guide from TI that mnhs is linking to, but it looks like a good place to get more information and to get some good points as to what to think about when designing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: programing and interrupts on custom PCB using nrf51822</title><link>https://devzone.nordicsemi.com/thread/15935?ContentTypeID=1</link><pubDate>Tue, 18 Nov 2014 07:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38e5767d-4428-4696-812e-d7f4864ec674</guid><dc:creator>mnhs</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Yes, you can implement the programming interface like that. I was playing with the interface and if you accidentally forgot to put it there (like me :-) ), it works even without the 12k pull-down on SWCLK. But let it be there. The NRST pin is &amp;quot;integrated&amp;quot; into SWDIO pin. Thus, unlike for example the STM32 family, you need only 4 pins to program the device, not 5.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Yes, you can use any pin for the interface. There is just a restriction on ADC - there is a specific range of pins as stated in datasheet. As for wakeup interrupts, I am not completely sure - try to find a corresponding page in datasheet and wait for advice from anyone else here. The internal pull-ups are fine, if the traces are short and do not include any excessive capacitance. Otherwise, you should experiment with external resistors to achieve optimum rise and fall shapes.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;PCB layout considerations - there is a lot of things to look after to make a good design. Just a short must-do list. Do not forget to make proper decoupling, several caps as close as possible to the power lines of the chip. A combination of several 1nF, 22nF, 100nF will make the job. Do not place any tracks under the balun and the 50 Ohm impedance matched trace to the antenna. There should be a clear ground plane line under the RF circuitry. If the path to the antenna is long, you must match the path to 50 Ohm. There are several calculators called &amp;quot;microstrip impedance calculator&amp;quot; or something like that on the Internet. Otherwise, you will lose some output power there and reduce the range. The power line should be stable, without any significant ripples. If not using 4-layer design and nice power plane, make the power traces wider than signal traces and make them as straight as possible, without many vias. Implement ESD protective devices to all connectors. Use low capacitance 32.768kHz and 16Mhz crystals and place them close to the chip.&lt;/p&gt;
&lt;p&gt;There are a lot of other tips and guidelines. Read some guides. This is a document from Texas Instruments about analog-digital circuits.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.ti.com/lit/ml/sloa089/sloa089.pdf"&gt;www.ti.com/.../sloa089.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or attend any PCB design orientated course. The PCB design can be a bit alchemy, especially if you are going over 100 Mhz or you are measuring very small signals and every detail matters. And well, RF design is a true magic :-).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>