<?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>initialization two TWI and Only one is work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113886/initialization-two-twi-and-only-one-is-work</link><description>I used nrf52840 board with SDK 17_1_0 
 I used segger embedded studio IDE 
 i want to Implement two VL53L5CX TOF sensor with nrf52840 so i used two TWI, 
 but when i init two TWI then only one TWI is work which one second initialization, 
 like 
 #define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2024 05:19:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113886/initialization-two-twi-and-only-one-is-work" /><item><title>RE: initialization two TWI and Only one is work</title><link>https://devzone.nordicsemi.com/thread/498158?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 05:19:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf2201b-b6f2-4de7-ad09-1ff029d60a78</guid><dc:creator>ChiragBhavsar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I used different pins for both instance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: initialization two TWI and Only one is work</title><link>https://devzone.nordicsemi.com/thread/498156?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 05:17:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffce35ab-2c6e-41af-94d0-d97c21aa631e</guid><dc:creator>ChiragBhavsar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;in sdk_config.h two instance available o and 1&lt;/p&gt;
&lt;p&gt;/ &amp;lt;e&amp;gt; TWI0_ENABLED - Enable TWI0 instance&lt;br /&gt;//==========================================================&lt;br /&gt;#ifndef TWI0_ENABLED&lt;br /&gt;#define TWI0_ENABLED 1&lt;br /&gt;#endif&lt;br /&gt;// &amp;lt;q&amp;gt; TWI0_USE_EASY_DMA - Use EasyDMA (if present)&lt;/p&gt;
&lt;p&gt;#ifndef TWI0_USE_EASY_DMA&lt;br /&gt;#define TWI0_USE_EASY_DMA 1&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;// &amp;lt;/e&amp;gt;&lt;/p&gt;
&lt;p&gt;// &amp;lt;e&amp;gt; TWI1_ENABLED - Enable TWI1 instance&lt;br /&gt;//==========================================================&lt;br /&gt;#ifndef TWI1_ENABLED&lt;br /&gt;#define TWI1_ENABLED 1&lt;br /&gt;#endif&lt;br /&gt;// &amp;lt;q&amp;gt; TWI1_USE_EASY_DMA - Use EasyDMA (if present)&lt;/p&gt;
&lt;p&gt;#ifndef TWI1_USE_EASY_DMA&lt;br /&gt;#define TWI1_USE_EASY_DMA 1&lt;br /&gt;#endif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: initialization two TWI and Only one is work</title><link>https://devzone.nordicsemi.com/thread/498136?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 21:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f569a4c5-847a-4a1b-bc66-99d8a61f61bd</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It looks like you configured both instances to the same GPIO pins. &amp;nbsp;Check the assigned pins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: initialization two TWI and Only one is work</title><link>https://devzone.nordicsemi.com/thread/498096?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 14:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407b10e4-3995-40b6-8ba3-86bb240033b0</guid><dc:creator>PjGlasso</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I was under the impression only 1 and 2 are available, 0 is used for QSPI?&lt;/p&gt;
&lt;p&gt;look forward to an Answer.&lt;/p&gt;
&lt;p&gt;GL :-) PJ&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>