<?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>nRF9160 SES TWIS (i2c slave) implementation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66575/nrf9160-ses-twis-i2c-slave-implementation</link><description>Hi, I understand there&amp;#39;s no high level TWIS (i2c slave) driver for nRF9160 (i.e. in Zephyr); as such, I need to use TWIS driver that&amp;#39;s part of nrfx, or even lower (HAL) level driver. Question I have - is there nrfx sample that shows how this could be</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Oct 2020 07:42:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66575/nrf9160-ses-twis-i2c-slave-implementation" /><item><title>RE: nRF9160 SES TWIS (i2c slave) implementation</title><link>https://devzone.nordicsemi.com/thread/272663?ContentTypeID=1</link><pubDate>Fri, 02 Oct 2020 07:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aec7aef6-4b5a-4714-b7c5-209039a2a431</guid><dc:creator>Sigurd</dc:creator><description>[quote user="SmartEnrg"]I think they are referring to approach in shared link (existing nrf API) being Not supported in Zephyr(?)[/quote]
&lt;p&gt;&amp;nbsp;As I understand it, pabigot refers to anangl&amp;#39;s comment &amp;quot;I&lt;span&gt;t is not feasible to use nRF TWIS peripherals via the I2C slave API that is currently available in Zephyr.&amp;nbsp;&amp;quot;.&lt;/span&gt;&lt;/p&gt;
[quote user="SmartEnrg"]is it still valid approach with ncs v1.3.1 on nRF9160-DK?[/quote]
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, I believe&amp;nbsp;so, it should be fully possible to use the nrfx driver directly instead, with the approach&amp;nbsp;anangl explains.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 SES TWIS (i2c slave) implementation</title><link>https://devzone.nordicsemi.com/thread/272609?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 15:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f8c79f-b6e2-4c24-a062-36c8d06c8ff3</guid><dc:creator>Smart.Enrg</dc:creator><description>&lt;p&gt;Thanks Sigurd,&lt;br /&gt;I did glance through the link you shared but at the end pabigot warns &amp;quot;&lt;em&gt;the existing API cannot be supported for NRF, so I&amp;#39;m going to close this&lt;/em&gt;&amp;quot;. I think they are referring to approach in shared link (existing nrf API) being Not supported in Zephyr(?) &lt;br /&gt;pabigot further mentions replacement implementation - &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/27675"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/27675&lt;/a&gt;&amp;nbsp;looking through that link, it states right up top - &amp;quot;&lt;em&gt;It is also unsuitable for DMA-based solutions&lt;/em&gt;&amp;quot; such as Nordic TWIS, right?&lt;br /&gt;Therefore my question - is the approach in&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/21445"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/21445&lt;/a&gt;&amp;nbsp;(over a year old) is it still valid approach with ncs v1.3.1 on nRF9160-DK?&lt;br /&gt;Thanks,&lt;br /&gt;SE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 SES TWIS (i2c slave) implementation</title><link>https://devzone.nordicsemi.com/thread/272508?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 12:01:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3159752f-4824-4bf2-9ceb-10b2244e291e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Question I have - is there nrfx sample that shows how this could be done, using SES?[/quote]
&lt;p&gt;I have not seen any samples for this, but anangl&amp;nbsp;explains&amp;nbsp;some of the steps you need to follow in order to get it to work here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/21445"&gt;https://github.com/zephyrproject-rtos/zephyr/issues/21445&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>