<?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>twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34306/twi-pca10040e-example---sdk15-0-ses</link><description>Is there at least one twi example available that uses pca10040e? Not seeing one in sdk15.0 for SES. 
 I can get the code working for pca10040 on s132 but not for nrf52810 s112. 
 
 Error of unknown type name &amp;#39;NRF_TWI_Type&amp;#39; 
 in definition of macro &amp;#39;offsetof</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jul 2019 18:40:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34306/twi-pca10040e-example---sdk15-0-ses" /><item><title>RE: twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/thread/196906?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2019 18:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cefa0d84-1427-41cb-bda5-54dc9716ef26</guid><dc:creator>Charlie Tuer</dc:creator><description>&lt;p&gt;Hi Jakub,&lt;/p&gt;
&lt;p&gt;I am also trying to use TWI with nrf52810. I downloaded and ran the code you posted below and it compiled fine (thank you for posting that by the way), however I noticed it uses TWI functions such as&amp;nbsp;&lt;span&gt;nrf_drv_twi_init() instead of the TWIM nrfx_twim_init(). Should I be using the TWIM peripheral as you said above instead? What are the differences/advantages? I&amp;#39;ve been having quite a hard time determining&amp;nbsp;which TWI driver(s) to use/which files to include, any advice would be greatly appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/thread/132129?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 17:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae3dede4-03c8-4fd0-8f2e-cefe3544385e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;zip compiled fine, thank-you&lt;/p&gt;
&lt;p&gt;I was looking for a continuation of your suggestion of using only twim but also nrfx, with no legacy&lt;/p&gt;
&lt;p&gt;for example, instead of nrf_drv_twi_init(), use nrfx_twim_init().&lt;/p&gt;
&lt;p&gt;no&amp;nbsp;includes of nrf_drv_twi.c in the project.&lt;/p&gt;
&lt;p&gt;-thank-you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/thread/131946?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 06:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e8165ca-89d3-4743-8daf-433a21daac2a</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please find attached SES project for pca10040e for twi_scanner example.&lt;/p&gt;
&lt;p&gt;Unpack below package under following location:&amp;nbsp;sdk\nrf5\examples\peripheral\twi_scanner&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pca10040e.zip"&gt;devzone.nordicsemi.com/.../pca10040e.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/thread/131931?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 16:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4e4dd6-1a26-427e-88ef-cf5ec6f8e946</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;that&amp;#39;s fine, then looking for an twim example for pca10040e.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: twi pca10040e example - sdk15.0 SES</title><link>https://devzone.nordicsemi.com/thread/131783?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 05:30:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b42230e-2621-43a8-87ba-066d14fc5a77</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Project for pca10040e emulates nrf52810 which does not have a TWI,&amp;nbsp;hence NRF_TWI_Type is not known.&lt;/p&gt;
&lt;p&gt;You need to use TWIM peripheral with nrf52810.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>