<?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>Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75642/hello-i-am-beginner-in-programming-with-nrf52-development-board-i-tried-to-interface-max30102-heart-rate-sensor-but-output-is-still-zero-does-anyone-has-code-for-max30102</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 May 2021 12:54:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75642/hello-i-am-beginner-in-programming-with-nrf52-development-board-i-tried-to-interface-max30102-heart-rate-sensor-but-output-is-still-zero-does-anyone-has-code-for-max30102" /><item><title>RE: Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/thread/311807?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08417aa2-a8e0-4a5d-a0dc-5edd97852a67</guid><dc:creator>awneil</dc:creator><description>[quote userid="104735" url="~/f/nordic-q-a/75642/hello-i-am-beginner-in-programming-with-nrf52-development-board-i-tried-to-interface-max30102-heart-rate-sensor-but-output-is-still-zero-does-anyone-has-code-for-max30102/311756#311756"]i have experience in stm32 microcontroller[/quote]
&lt;p&gt;So the process is no different - as described in the linked post:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75554/interfacing-microchip-at42qt2120-to-nrf52840-dk/311356#311356"&gt;devzone.nordicsemi.com/.../311356&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="104735" url="~/f/nordic-q-a/75642/hello-i-am-beginner-in-programming-with-nrf52-development-board-i-tried-to-interface-max30102-heart-rate-sensor-but-output-is-still-zero-does-anyone-has-code-for-max30102/311781#311781"]i2c works fine[/quote]
&lt;p&gt;How have you&amp;nbsp;proved that?&lt;/p&gt;
[quote userid="104735" url="~/f/nordic-q-a/75642/hello-i-am-beginner-in-programming-with-nrf52-development-board-i-tried-to-interface-max30102-heart-rate-sensor-but-output-is-still-zero-does-anyone-has-code-for-max30102/311781#311781"]when i read IR and Red led register value, it gives zero[/quote]
&lt;p&gt;So have you verified that the correct transactions are happening on the wires?&lt;/p&gt;
&lt;p&gt;Have you carefully verified the commands sequence against the slave&amp;#39;s &lt;strong&gt;documentation&lt;/strong&gt; ?&lt;/p&gt;
&lt;p&gt;Is the slave responding at all?&lt;/p&gt;
&lt;p&gt;etc, etc, ...&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/thread/311781?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20186585-4391-463c-9b62-ee667daf3f60</guid><dc:creator>saurabh@1990</dc:creator><description>&lt;p&gt;I done initialization according to max30102 datasheet and i2c works fine. But when i read IR and Red led register value, it gives zero.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/thread/311779?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 12:13:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4e5ac74-367f-44b3-81fb-cd86446e5024</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;What steps have you done so far during debugging? Do you see any activity on the SCL and SDA line? Does it match with what you expected?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/thread/311756?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 11:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a6a131e-5c80-4479-a5ee-af75ffee7052</guid><dc:creator>saurabh@1990</dc:creator><description>&lt;p&gt;Yes i have experience in stm32 microcontroller&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hello ,I am beginner in programming with nrf52 development board. I tried to interface MAX30102 heart-rate sensor but output is still zero. Does anyone has code for max30102?</title><link>https://devzone.nordicsemi.com/thread/311729?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 10:38:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9948eb38-4593-4ce1-a13d-273db915db33</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Please don&amp;#39;t put the whole question in the title:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/community/backstage/f/backstage-forum/40080/forum-issue-ask-a-question-is-misleading"&gt;https://devzone.nordicsemi.com/community/backstage/f/backstage-forum/40080/forum-issue-ask-a-question-is-misleading&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;I am beginner in programming with nrf52 development board&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Do you have experience with programming any other microcontroller(s) ?&lt;/p&gt;
&lt;p&gt;Interfacing in general:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75554/interfacing-microchip-at42qt2120-to-nrf52840-dk/311356#311356"&gt;devzone.nordicsemi.com/.../311356&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>