<?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>Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58675/interfacing-enc28j60-with-nrf52833</link><description>Hi teams, 
 I am trying to interface ENC28J60 ethernet controller on nRF52833 based board. 
 The purpose is sending/receiving simple data gathered from BLE mesh network. 
 I found some examples about SPI communication, and will try to follow them to physically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 May 2020 10:43:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58675/interfacing-enc28j60-with-nrf52833" /><item><title>RE: Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/thread/251903?ContentTypeID=1</link><pubDate>Wed, 27 May 2020 10:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f171508-5699-4d54-986c-905e16ef4b73</guid><dc:creator>namnn07</dc:creator><description>&lt;p&gt;Dear Brother,&lt;/p&gt;
&lt;p&gt;Do you have sample connect ENC28j60 connect nrf52832.Pls kindly help me!&lt;/p&gt;
&lt;p&gt;Thank you and best regards,&lt;/p&gt;
&lt;p&gt;Nam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/thread/239843?ContentTypeID=1</link><pubDate>Sun, 15 Mar 2020 15:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c73df1-087a-417b-a263-3c8117cdcab4</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;I managed to finsh ENC28J60 to work on nRF52833.&lt;/p&gt;
&lt;p&gt;For people who has interest, I leave some comments.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. I chose uIP stack, not lwIP which is included in nRF SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; It is because lwIP requires memory manager (malloc/free), but causes frequent problem in Mesh SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; I suspect the reason as Mesh SDK uses relatively more memory than normal SDK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Anyway, though uIP is lack of some features, and slower than lwIP, but smaller and never uses malloc/free, and fit for my use.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. To handle RX interrupt correctly, Scheduler Library is useful. It is quite simple and compact to use.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. nRF SPI library is a little bit weird for me, comparing to other chipsets.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPI write/read transfer always returns dummy bytes for the write cycles.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I should remove them from RX buffer myself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; And also, because there is no TX and TX transfer in single transfer call, I should manually control SS pin myself.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;4. For the helpful resources about porting, I searched lots of web resources, and the following link is fairly useful.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Plytirex/FreeRTOS-TCP-enc28j60"&gt;https://github.com/Plytirex/FreeRTOS-TCP-enc28j60&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/thread/239057?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 10:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bf95307-bac4-4746-b255-a348978f5a31</guid><dc:creator>Kenneth</dc:creator><description>[quote user="choehyunho"]Is there any other helpful documents for my situation?[/quote]
&lt;p&gt;Not that I aware of no. I do believe you can find some BLE peripheral examples that are using the scheduler already, so that may help yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/thread/238418?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2020 03:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e445c65a-42d2-42d6-bcd5-5ca0eb4f1924</guid><dc:creator>choehyunho</dc:creator><description>&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;Since I am using nRF52833 now, I will check about IoT SDK further. NCS is not my scope yet.&lt;/p&gt;
&lt;p&gt;I have found some article about GPIOTE handling for external interrupt handling, and about Sheduler Library for avoiding time-consuming works in interrupt context.&lt;/p&gt;
&lt;p&gt;Is there any other helpful documents for my situation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Interfacing ENC28J60 with nRF52833</title><link>https://devzone.nordicsemi.com/thread/238265?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 12:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b6311cc-71ce-4f3d-b7b4-b9a4e223081f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are free to use these as you best see fit. I do believe that the IoT SDK are using some of these modules, so you can use these as guidance:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_iot_latest.html"&gt;https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_iot_latest.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Though moving forward I think maybe using the nRF Connect SDK (NCS) is the way to go. It looks like it is supported:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kconfig/CONFIG_ETH_ENC28J60.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kconfig/CONFIG_ETH_ENC28J60.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For more information about NCS check out:&lt;br /&gt; &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK/"&gt;https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK/&lt;br /&gt;&lt;/a&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html&lt;/a&gt;&lt;br /&gt; &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial"&gt;https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>