<?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>Setting up clock on nRF24le1 for I2C</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20475/setting-up-clock-on-nrf24le1-for-i2c</link><description>I used the following code to verify the working of the clock (at P04) of nRF24le1.
I used a 4.7K pull up resistor with a VDD of 3.3V, which was output from the nRF.
Note that this setup was in isolation, without the slave. 
 However, when I measure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Mar 2017 03:38:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20475/setting-up-clock-on-nrf24le1-for-i2c" /><item><title>RE: Setting up clock on nRF24le1 for I2C</title><link>https://devzone.nordicsemi.com/thread/79847?ContentTypeID=1</link><pubDate>Sat, 18 Mar 2017 03:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efb69b32-1827-416c-97df-571ceef16a4f</guid><dc:creator>sid7</dc:creator><description>&lt;p&gt;Yes, I got it. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up clock on nRF24le1 for I2C</title><link>https://devzone.nordicsemi.com/thread/79846?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2017 08:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a70c540-01cb-46e3-8c53-3a2b67845648</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you mounted pullup resistor to I2C pins ?
Please have a look &lt;a href="http://www.robot-electronics.co.uk/i2c-tutorial"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Attached is a working example or I2C master and I2C slave I made for nRF24LE1.
If you have 2 nRF24LE1 boards you can use the examples for testing.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1780.I2C_5F00_Master.rar"&gt;I2C_Master.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5482.I2C_5F00_Slave.rar"&gt;I2C_Slave.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up clock on nRF24le1 for I2C</title><link>https://devzone.nordicsemi.com/thread/79844?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2017 20:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67f0cbdc-6c33-481b-a5c6-9aa7d8110422</guid><dc:creator>sid7</dc:creator><description>&lt;p&gt;Thank you for your response. I hadn&amp;#39;t done that but I just tried it now. I still don&amp;#39;t see anything on the clock or the data lines on the oscilloscope. The code I used is below. Any suggestions on how should I proceed to troubleshoot this?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void main() {

P0DIR = 0x00;											// Initiating IO pins 
hal_w2_configure_master(HAL_W2_100KHZ);
EA = 1;


/* writing intitiation sequence for MC3671 */

hal_w2_write(0xD8,i1, 2);						// reset 
delay_us(10000);									// delay required after reset
hal_w2_write(0xD8,i2, 2);
hal_w2_write(0xD8,i3, 2);
hal_w2_write(0xD8,i4, 2);
hal_w2_write(0xD8,i5, 2);
hal_w2_write(0xD8,i6, 2);
hal_w2_write(0xD8,i7, 2);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting up clock on nRF24le1 for I2C</title><link>https://devzone.nordicsemi.com/thread/79845?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 12:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce68aba4-9712-49d0-ae91-d7ff45658cf1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@sid: Have you tried to do a write with hal_w2_write() ? When the I2C doesn&amp;#39;t have to send anything, it will not output any clock out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>