<?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>driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel</link><description>Hi Group, currently working on nRF52840 chipset based EVK and able to flash program. But I need to port the chipset driver and required files from nRF5_SDK_15.2.0 SDK to my current linux kernel build which are having all the other device driver integrated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jan 2019 10:19:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel" /><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/166180?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 10:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27a275e3-9bb3-4f9f-94ee-43889447b508</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Excellent.&lt;/p&gt;
&lt;p&gt;Time to Verify the Answer, then?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8836._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/166154?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 08:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7ef606c-fa25-4279-8d51-da734be1687d</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Thanks !! I could detect the port in linux enviornment. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165699?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 11:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee79d2f1-dd21-4a4f-b705-61bd54823fb2</guid><dc:creator>awneil</dc:creator><description>[quote userid="75657" url="~/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel/165621"]CAn you please share example name(folder) where I can see the &lt;span&gt;standard USB CDC/ACM Class device.&lt;/span&gt;[/quote]
&lt;p&gt;Go to the documentation library&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/DocLib"&gt;https://www.nordicsemi.com/DocLib&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Choose &amp;#39;&lt;strong&gt;SDK Documentation&lt;/strong&gt;&amp;#39;, and click on &amp;#39;HTML&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/index"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/index&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the left-hand panel, choose &amp;#39;&lt;strong&gt;Examples&lt;/strong&gt;&amp;#39;, then &amp;#39;&lt;strong&gt;Hardware Peripheral Examples&lt;/strong&gt;&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/examples_hw_peripheral_devices"&gt;https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/examples_hw_peripheral_devices&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Choose &amp;#39;&lt;strong&gt;USB Examples&lt;/strong&gt;&amp;#39; ...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="card card-seablue " id="SDK Documentation"&gt;
&lt;div class="card-button"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165621?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 03:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6636e83-3513-4662-938e-b480ea3b0050</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi Awneil, Thanks for information !! &lt;/p&gt;
&lt;p&gt;CAn you please share example name(folder) where I can see the &lt;span&gt;standard USB CDC/ACM Class device. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will look into serialisation and ble_driver_pc code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks again. &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165543?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 15:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f69ffa8-fbb5-4282-8b98-8afe8562a184</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;OK - thanks for clarifying that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt; &lt;/em&gt;the situation I was addressing in my first post - both here and in your other thread.&lt;/p&gt;
&lt;p&gt;Nordic have examples where the&amp;nbsp;&lt;span&gt;nRF52840&amp;nbsp;implements a standard USB CDC/ACM Class device - ie, a &amp;quot;Virtual COM Port&amp;quot;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That would appear on a Linux host as a &lt;strong&gt;/dev/ttyusb...&lt;/strong&gt; - just like a standard USB-to-Serial adaptor.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, as previously mentioned, look at&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;Serialisation&lt;/strong&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;the&amp;nbsp;&lt;strong&gt;ble-driver-pc&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Or just devise your own protocol via the virtual COM Port&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165463?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 13:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d59bf5d-546e-4720-81b7-d8b348c6c5f0</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi Awneil, We are using Linux Kernel 4.9 under yocto build which is running on main CPU(i.MX7)&amp;nbsp; board. With this CPU nRF52840 is interfaced with USB2.0 interface. Now with nRF52840 evaluation kit I am able to detect and program the device with &amp;quot;nrfjprog&amp;quot; command line tool as well as with Segger Embedded Studio. My main query is how can I detect the only nRF52840 chipset in target board with CPU using USB2.0 interface under linux OS. and then which basic test applications I can use to run on this chipset. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165457?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 13:08:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d856cc3-ccbc-422e-ab80-a4ecfaceb792</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Haven&amp;#39;t we had this before:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41595/port-driver-application-in-linux-enviorment-after-testing-done-using-nrf52-sdk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41595/port-driver-application-in-linux-enviorment-after-testing-done-using-nrf52-sdk&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;it remains unclear whether you&amp;#39;re talking about developing code to &lt;strong&gt;run&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;on&lt;/strong&gt; &lt;/em&gt;your Linux system, or just using a Linux system as a development platform to create code to run on the nRF52840 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165454?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 13:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7af77c4-0e2e-4308-b562-43472eaab7ec</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;span&gt;nRF52480&amp;nbsp;is a &amp;quot;SoC&amp;quot; - a &amp;quot;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;S&lt;/strong&gt;&lt;/span&gt;ystem-&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;o&lt;/strong&gt;&lt;/span&gt;n-&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;C&lt;/strong&gt;&lt;/span&gt;hip&amp;quot; - it embeds a Cortex-M4 microcontroller and radio on a single chip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am talking about the&amp;nbsp;Cortex-M4 within the nRF52840 chip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Those files in the SDK are for running on&amp;nbsp;the&amp;nbsp;Cortex-M4 within the nRF52840 chip - they won&amp;#39;t be of any use to run on an external Linux system.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;EDIT&lt;/p&gt;
&lt;p&gt;Or are you not talking about running on the Linux system? - see below&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165337?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 05:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4e5c8d-412c-4bce-8b9a-506838b3e7a2</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi Awneil, Thanks for response. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you please elaborate which SOC Embedded Cortex M4 CPU. As per my understanding nRF52480 contains ARM CORTEX-M4F CPU . So&amp;nbsp; &amp;quot;nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/&amp;quot; should support to nRF52480 based ARM M4 core CPU? Please confirm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165295?ContentTypeID=1</link><pubDate>Sat, 12 Jan 2019 14:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fceb5752-c7c9-487b-9231-918b30666faf</guid><dc:creator>awneil</dc:creator><description>[quote userid="75657" url="~/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel/165292"]For USB interface also do I need to refer the above links ?[/quote]
&lt;p&gt;AFAIK, the USB is just a standard CDC/ACM class - and Linux supports that.&lt;/p&gt;
[quote userid="75657" url="~/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel/165292"]Can I use and port all nRF52480 chipset driver files from &amp;quot;nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/&amp;quot; to my linux enviornment and use basic test application ?[/quote]
&lt;p&gt;No - they are for running on the SoC&amp;#39;s embedded Cortex-M4 CPU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165292?ContentTypeID=1</link><pubDate>Sat, 12 Jan 2019 13:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dc24327-c97f-4c80-a3dc-892ec1158870</guid><dc:creator>ratnakar1978</dc:creator><description>&lt;p&gt;Hi Awneil, Thanks for prompt response.&lt;/p&gt;
&lt;p&gt;For USB interface also do I need to refer the above links ?&lt;/p&gt;
&lt;p class="western" style="line-height:100%;margin-bottom:0cm;"&gt;Can I use and port all nRF52480 chipset driver files from &amp;quot;nRF5_SDK_15.2.0_9412b96/modules/nrfx/drivers/src/&amp;quot; to my linux enviornment and use basic test application ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: driver and application files porting from SDK to linux kernel</title><link>https://devzone.nordicsemi.com/thread/165284?ContentTypeID=1</link><pubDate>Sat, 12 Jan 2019 10:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51bdb470-a555-435a-b107-aed389d54d1a</guid><dc:creator>awneil</dc:creator><description>[quote userid="75657" url="~/f/nordic-q-a/42445/driver-and-application-files-porting-from-sdk-to-linux-kernel"]basic communication from external CPU to nRF52480 chipset[/quote]
&lt;p&gt;The most basic communication would be a &lt;strong&gt;UART&lt;/strong&gt; link - you wouldn&amp;#39;t need any special kernel drivers for that.&lt;/p&gt;
&lt;p&gt;eg:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39998/maximum-number-of-ble-slaves-with-rpi-master/155534#155534"&gt;devzone.nordicsemi.com/.../155534&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you looked at &lt;strong&gt;Serialisation&lt;/strong&gt; (also mentioned in the above link) ?&lt;/p&gt;
&lt;p&gt;There&amp;#39;s also the&amp;nbsp;&lt;strong&gt;ble-driver-pc&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;github.com/.../pc-ble-driver&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Try a forum search; eg,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17903/hci-controlling-interface-nrf52/"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/17903/hci-controlling-interface-nrf52/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17783/nrf52832-hci-firmware"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/17783/nrf52832-hci-firmware&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36627/linux-central-and-52840-blinky-app"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/36627/linux-central-and-52840-blinky-app&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;etc, ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>