<?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>nRF HCInRF52 ith HCI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42340/nrf-hcinrf52-ith-hci</link><description>Hello, 
 I want to interface a microcontroller with the nRF52832 chip in one of our designs. The microcontroller will be running on FreeRTOS. 
 I would like to know a few technical things before finalizing our design. 
 1) Which type of interface with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jan 2019 13:12:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42340/nrf-hcinrf52-ith-hci" /><item><title>RE: nRF HCInRF52 ith HCI</title><link>https://devzone.nordicsemi.com/thread/165981?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36eba92b-7002-4561-812d-5927447397f9</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Keval&lt;/p&gt;
&lt;p&gt;You can use the serialization API yes, if you don&amp;#39;t need HCI support.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With this API we basically just serialized all the SoftDevice functions and events, so that you can access the SoftDevice over a serial interface like UART or SPI.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This means that the separation of work between the external MCU and the nRF would be similar to the separation of work between the application and the SoftDevice in a normal (non serialized) nRF5 example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So the GATT database would be stored internally in the SoftDevice as usual, and you would access it indirectly over the serialized SoftDevice interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF HCInRF52 ith HCI</title><link>https://devzone.nordicsemi.com/thread/165900?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 09:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:204280ff-3f3f-4a83-b30c-6594c4764915</guid><dc:creator>Keval Soni</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;I was going through the online documentation of Nordic and found that it has a support called Serialization which allows the external controller to send BLE commands over UART. It might not be the standard HCI but it is proprietary of Nordic&amp;#39;s.&lt;/p&gt;
&lt;p&gt;So, if I use this serialization, can I send commands to the nRF52832 chip for BLE operation like scan, connect, send data etc.?&lt;/p&gt;
&lt;p&gt;Where would be the BLE Host i.e. the GATT database etc in this case. Whether it would be on the nRF or the external MCU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF HCInRF52 ith HCI</title><link>https://devzone.nordicsemi.com/thread/165077?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 08:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96374613-c331-4116-bc55-35e0caf04eb1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Keval&lt;/p&gt;
&lt;p&gt;1) The nRF52832 supports UART, SPI master and slave and TWI (I2C) master and slave.&lt;/p&gt;
&lt;p&gt;2) The nRF5 SDK does not have HCI support, but the &lt;a href="https://github.com/zephyrproject-rtos/zephyr"&gt;Zephyr RTOS project&lt;/a&gt; includes sample projects for running HCI over UART on the nRF52832.&lt;/p&gt;
&lt;p&gt;If you&amp;nbsp;don&amp;#39;t want to do much code development on the Nordic side, and just want to control it over HCI from your host MCU, then this should be a good option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) The Zephyr project provides documentation. The page for the HCI over UART example can be found &lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/hci_uart/README.html"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4) I am a bit unsure what you are asking for here. When you say the chip FW, do you mean the nRF52832 or your host MCU?&lt;/p&gt;
&lt;p&gt;As mentioned above HCI support can be provided through the Zephyr project. This is technically a third party software collection, but Nordic is working closely with Zephyr and we are also contributing to the code base.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Zephyr has their own RTOS implementation,&amp;nbsp;and FreeRTOS compatibility is not provided.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>