<?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>Mapping LGA pins (TX and RX) to any castellated pins on the nrf52840 (Fanstel BT840F module) internally in software?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67599/mapping-lga-pins-tx-and-rx-to-any-castellated-pins-on-the-nrf52840-fanstel-bt840f-module-internally-in-software</link><description>Relative newbie here. Would like to interface an Arduino MCU (AVR 328p/32u4, etc) via UART protocol with a decent range (50-100m open air) nrf 52840. I found the Fanstel BT840F amplified nrf52840 module with a long range. 
 The Fanstel datasheet (see</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Oct 2020 20:56:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67599/mapping-lga-pins-tx-and-rx-to-any-castellated-pins-on-the-nrf52840-fanstel-bt840f-module-internally-in-software" /><item><title>RE: Mapping LGA pins (TX and RX) to any castellated pins on the nrf52840 (Fanstel BT840F module) internally in software?</title><link>https://devzone.nordicsemi.com/thread/277252?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 20:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc3a31f-dee0-4ce3-859c-f015a20d25ed</guid><dc:creator>fe7565</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp; Will dive in deeper in the guides about the pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mapping LGA pins (TX and RX) to any castellated pins on the nrf52840 (Fanstel BT840F module) internally in software?</title><link>https://devzone.nordicsemi.com/thread/277067?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 09:23:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd203f2-5a32-4c11-b237-99dc7ab34424</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;As for the arduino part, I would check this in an Arduino forum. I think you have a better shot there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for the nRF52840, most of the pins are SW configurable. The SW... pins are some of the exceptions. Aim for the pins named PXYZ. I assume this refers to PX.YZ (P0.00 - P1.15). If the nRF52840 has an external LFXTAL, you should reserve pin P0.00 and P0.01 as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mapping LGA pins (TX and RX) to any castellated pins on the nrf52840 (Fanstel BT840F module) internally in software?</title><link>https://devzone.nordicsemi.com/thread/276981?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 22:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e7d9017-3d79-4ef6-9244-b579e3963296</guid><dc:creator>fe7565</dc:creator><description>&lt;p&gt;Thank you for the reply.&amp;nbsp; The chip I plan to use would be either the Atmel AVR 328p or the 32u4 MCUs.&amp;nbsp; The 32u4 already has native USB support.&amp;nbsp; The 32u4 (or 328p) would be hardwired to the NRF52840 via UART.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I am hoping to replicate is the Adafruit Feather 32u4 Bluefruit LE module.&amp;nbsp; It has a 32u4 MCU and a NRF51822 on the same board connected via SPI.&amp;nbsp; &amp;nbsp;I want to replace the NRF51822 with a NRF52840 and use UART.&amp;nbsp; &amp;nbsp; &amp;nbsp;I figured that that would be the easiest by modifying the Adafruit Arduino firmware written for the NRF52840.&lt;/p&gt;
&lt;p&gt;The NRF51822 does not have a strong enough BLE signal even at +4db, and I hope the NRF52840 at +8db would work.&amp;nbsp; The Fanstel NRF52840 &amp;quot;BT840F&amp;quot; is I think amplified to +18db.&lt;/p&gt;
&lt;p&gt;The code snippet is Nordic, but I hope to adopt it to Adafruit&amp;#39;s Arduino firmware for the NRF52840 once I figure out the internal pin mapping of the NRF52840.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mapping LGA pins (TX and RX) to any castellated pins on the nrf52840 (Fanstel BT840F module) internally in software?</title><link>https://devzone.nordicsemi.com/thread/276945?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 15:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d33c118e-5dec-430d-8882-a241820d0009</guid><dc:creator>Edvin</dc:creator><description>[quote user=""]Just to emphasise, I am limited to the Arduino&amp;nbsp;IDE.&amp;nbsp; &amp;nbsp;I have the Seger edu kit, but have not used it yet, nor do I have the NRF SDK..&amp;nbsp; I hope to stay with the relative safety of Arduino, unless no other options.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;If this is a requirement for you, you need to look into an Arduino forum. It is not something that we support. The code snippet that you found doesn&amp;#39;t look very Arduino like. It looks like a snippet from our SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To be honest, I am not sure about your HW setup. Do you have an Arduino chip which you want to communicate to the nRF52840 over UART, or is the arduino chip the nRF52840?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>