<?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>PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34963/pc-ble-driver-on-fenstel-ev-bt840f-nrf52840-mcu</link><description>I am successfully able to use pc-ble-driver on nRF52840 Preview DK using latest connectivity firmware loaded by nRF Connect. 
 I want to use the same functionality on FENSTEL EV-BT840 which have the same controller as nRF52840. 
 nRF52840 have the connectivity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Aug 2022 08:41:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34963/pc-ble-driver-on-fenstel-ev-bt840f-nrf52840-mcu" /><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/379465?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 08:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e400ea43-d786-4695-9b4b-b6d5db72fbfb</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Hello i try also to use pc-ble-driver with EV-BT840XE.&lt;/p&gt;
&lt;p&gt;Is it necessarry to use a MAX3232 ?&lt;/p&gt;
&lt;p&gt;I thaught that to have the good hex file it was needed to use connectivity UART but you use hci ?&lt;/p&gt;
&lt;p&gt;Do you have your project or&amp;nbsp; your code to have an example please ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pierre-Yves&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/137997?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 05:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d54103-d2bb-4ab1-b8ec-55ade9022729</guid><dc:creator>Bhavesh Shah</dc:creator><description>&lt;p&gt;Hi Jorgen, Thank you so much for your support.&lt;/p&gt;
&lt;p&gt;With the help of &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/6e0b595e73a329b34dcf378abd798f6a38017a0a/hex/sd_api_v3/bootstrap_sd_api_v3.sh"&gt;bootstrap_sd_api_v3.sh&lt;/a&gt;&lt;strong class="final-path"&gt;&amp;nbsp;&lt;/strong&gt;file from &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/6e0b595e73a329b34dcf378abd798f6a38017a0a/hex/sd_api_v3"&gt;S132 v3.0 softdevices&lt;/a&gt;, I am able to download and patch the SDK12 file and able to compile and run the connectivity firmware for nRF52840 PDK board. After changing pin configurations I am able to compile and run the connectivity firmware on FANSTEL EV-BT840 board as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I used&amp;nbsp;ble_connectivity\pca10040\ser_s132_hci\ code and disabled the hardware flow control for UART. and changed the pins as per UART connected pins on EV-BT840 board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From this exercise, some points got cleared and those are.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- pc-ble-driver is not dependent on J-link Com port. It can run on any UART ports (Hardware flow control need to enable/disable as per the implementations). I am able to run UART code from&amp;nbsp;&lt;span&gt;ser_s132_hci example for hardware control disabled UART.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;I am not able to compile connectivity firmware and run it on nRF Connect or&amp;nbsp;pc-ble-driver from SDK15&lt;/p&gt;
&lt;p&gt;Once again thank you so much&amp;nbsp;J&amp;oslash;rgen Holmefjord for&lt;span&gt;&lt;/span&gt; your inputs on this topic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/137665?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 12:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a81a6fa-1f10-48bf-a967-10093fda10b1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tried &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/10729/my-device-is-freezing-and-restarting"&gt;debugging&lt;/a&gt; the connectivity firmware that you built? You should check it to make sure there is no errors putting your device into the error handler. If your UART pins are floating at some point, this could cause errors in the UART peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/137639?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 10:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58714a6-4793-4c7e-90cd-f1e4d089c490</guid><dc:creator>Bhavesh Shah</dc:creator><description>&lt;p&gt;I am also trying to create hex file for connectivity firmware using s132 for nrf52832 DK board, In it, I am able to Open the port. But&amp;nbsp;it fails&amp;nbsp;in enabling&amp;nbsp; BLE. It gives an error like&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Enabling BLE failed. (NRF_ERROR_INTERNAL)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Error occured when enabling SoftDevice. Errorcode: NRF_ERROR_INTERNAL (0x3)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have hex files which are working on both (nRF52840 and nRF52832) DK board, But I want to do that on a custom board so, need to compile connectivity firmware for that custom board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you point out something which can help me with this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/137631?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 09:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ca42572-a03b-497c-ad15-0d13cb52c790</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;nRF Connect does not support S140 softdevice yet. You can still use nRF52840 with &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/6e0b595e73a329b34dcf378abd798f6a38017a0a/hex/sd_api_v3"&gt;S132 v3.0 softdevices&lt;/a&gt;. I tested with nRF Connect v2.4.0 and &lt;a title="connectivity_1.2.2_1m_with_s132_3.0.hex" href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/6e0b595e73a329b34dcf378abd798f6a38017a0a/hex/sd_api_v3/connectivity_1.2.2_1m_with_s132_3.0.hex" rel="nofollow"&gt;connectivity_1.2.2_1m_with_s132_3.0.hex&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/137303?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 11:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f0ca897-9ef9-4ea3-a9d7-229b683cf0a6</guid><dc:creator>Bhavesh Shah</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;I have tried all the things. But it looks like pc-ble-driver code is written for J-link Com port only and will not work with any other USB to UART chip.&lt;/p&gt;
&lt;p&gt;Now as you have suggested earlier, that I need to recompile connectivity firmware as per &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/Installation.md#compiling-the-connectivity-hex-files"&gt;this link&lt;/a&gt;. After&amp;nbsp;following all the steps when I tried to run it on nRF52840 PDK using its USB ports only.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using SDK15 and patch from this pc-ble-driver-py&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/feature/v6-upgrade"&gt; branch&lt;/a&gt;. Right now I want to understand and run the compiled connectivity example on nRF52840 PDK using j-link com port.&lt;/p&gt;
&lt;p&gt;I am not changing anything in the code. Fresh SDK15 with connectivity patch. And directly compiling the example code on nRF52840 (pca10056) (with ser_s140_hci) and trying to run it on nRF Connect app.&lt;/p&gt;
&lt;p&gt;But I am getting same timeout errors. I have doubts on&amp;nbsp;version_info which is added from the patch file.&amp;nbsp;Somehow the nRF Connect is not able to match &amp;ldquo;magic_number&amp;rdquo; from the version_info.&lt;/p&gt;
&lt;p&gt;What could be the problem with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/135089?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 08:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d50c0bc0-555d-41e0-a8a1-c3e6248a45e6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29523/pc-ble-driver-communication-issues/117333#117333"&gt;This&lt;/a&gt; might be worth a shot. Otherwise, as I said, the driver is written to work with J-Link COM ports, and this is also the only supported devices in the current release. We are working on adding support for our own nRF52 Dongle into our tools (&lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-core#nrf-connect"&gt;pc-nrfconnect&lt;/a&gt;, which use pc-ble-driver in the lower layers), which might help with issues you are facing as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/134975?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 13:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bb61ec3-275f-43c3-b7c6-91c4b376a899</guid><dc:creator>Bhavesh Shah</dc:creator><description>&lt;p&gt;Hi Jorgen, thank you for your inputs.&lt;/p&gt;
&lt;p&gt;I have tested UART peripheral examples on both the boards&amp;#39; (nRF52840 and EV-BT840) UART pins (P0.06, P0.08) and it works with HWFC turned On and turned Off from the code itself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now in both the board (nRF52840 and EV-BT840 with MAX3232) (which have same latest connectivity firmware) are at the same point. I am able to open the port but while calling function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;_pc_ble_driver_sd_api_v3.sd_ble_enable()&lt;/p&gt;
&lt;p&gt;it returns Error code: 3 (NRF_ERROR_INTERNAL)&lt;/p&gt;
&lt;p&gt;I am not sure why it is returning this error. It is not even part of error list from&amp;nbsp;&lt;span&gt;sd_ble_enable() functions return code list.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please point out any issue that can cause this error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;FYI the same firmware in nRF52840 is working (sd_ble_enable returns 0) using&amp;nbsp;onboard&amp;nbsp;J-Link Virtual COM port.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/134844?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 07:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d088db-0871-422d-b450-639e13191ac9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, if you run same FW on both boards, it should use the same UART pins (P0.06, P0.08). If you connect the&amp;nbsp;MAX3232 to these pins, you should be able to connect. Have you tested this method with any examples in the SDK using UART for logging (or for instance the UART peripheral example)? This should show you if the UART conenction works. When you have verified this, you need to make sure the UART communication parameters are set correct in the application, as they need to match the connectivity firmware settings. Note that the pc-ble-driver library is written to work with J-Link Virtual COM port, which works somewhat different than other UART to USB bridges (for instance the HWFC can be enabled by the J-Link even though the FW/application have not enabled it).&lt;/p&gt;
&lt;p&gt;When that is said, our tools only officially support our DKs and J-Link devices. It is not guaranteed to work with other boards, you will have to test with all settings correct to&amp;nbsp;see if&amp;nbsp;it is working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/134666?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 07:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08eac0ea-d568-490a-8e78-2cc2ea644f0a</guid><dc:creator>Bhavesh Shah</dc:creator><description>&lt;p&gt;Thank you Jorden for answering. I have some question related to it.&lt;/p&gt;
&lt;p&gt;If both the boards nRF52840 pdk and EV-BT840 both have same firmware loaded in it.&lt;/p&gt;
&lt;p&gt;Should the pins of EV-BT840&amp;#39;s pin configuration be same as nRF52840 pdk?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Will &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fvir_com_port.html&amp;amp;cp=2_0_3_6_1"&gt;these pins&lt;/a&gt; behave as UART pins?&lt;/p&gt;
&lt;p&gt;I connected EV-BT840&amp;#39;s &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fvir_com_port.html&amp;amp;cp=2_0_3_6_1"&gt;UART pins&lt;/a&gt; to MAX3232 Board to PC via USB. But it is not working. It is returning this error,&lt;/p&gt;
&lt;p&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: 13&lt;/p&gt;
&lt;p&gt;When i came back to nRF52840 pdk and changed switch (sw6) DEFAULT to -&amp;gt; nRF ONLY and by connecting &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52840_pdk%2Fvir_com_port.html&amp;amp;cp=2_0_3_6_1"&gt;UART pins &lt;/a&gt;to PC by MAX3232 Board.&lt;/p&gt;
&lt;p&gt;It dose able to open the serial port. But while enabling BLE using driver.ble_enable( ) it is returning this error,&lt;/p&gt;
&lt;p&gt;pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_enable. Error code: 3&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;FYI on the same board if switch (sw6) is set to DEFAULT side and using it by USB cable the same code is working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PC-BLE-DRIVER on FENSTEL EV-BT840F (nRF52840 MCU)</title><link>https://devzone.nordicsemi.com/thread/134171?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7110a2c3-3837-4efc-a191-ab8f294fa2c3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware of any reference of pc-ble-driver implemented on this board, and this is not officially supported by Nordic.&lt;/p&gt;
&lt;p&gt;First thing you should fix is that according to the &lt;a href="https://static1.squarespace.com/static/561459a2e4b0b39f5cefa12e/t/5905ee34579fb3c5cc57eeff/1493560884625/EV+BT840+V3.pdf"&gt;schematics of the&amp;nbsp;EV-BT840 board&lt;/a&gt;, it use different pins for UART RX and TX (P0.11, P0.12) than the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/vir_com_port.html?cp=2_0_3_6_1"&gt;Nordic DKs&lt;/a&gt; (P0.08, P0.06). You need to change the &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/feature/v6-upgrade/hex/sd_api_v6/sdk150_connectivity.patch#L33"&gt;pin settings&lt;/a&gt; in the connectivity firmware, and &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/Installation.md#compiling-the-connectivity-hex-files"&gt;recompile it&lt;/a&gt;. Your board also does not seem to support RTS/CTS HW flow control pins. The connectivity firmware and the pc-ble-driver appication needs to reflect this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>