<?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>as5601 integrated to nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28921/as5601-integrated-to-nrf51822</link><description>Hi alll, 
 I wanted to use a encoder for measuring rotary motions. so i kept a magnetic encoder named AS5601 which uses I2C communication and i have never done anything on this communication protocol before. 
 Any help for code is appreciated. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jan 2018 11:35:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28921/as5601-integrated-to-nrf51822" /><item><title>RE: as5601 integrated to nrf51822</title><link>https://devzone.nordicsemi.com/thread/114437?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 11:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e02aa066-8357-46fb-b47b-0e37f8c33483</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Have a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/examples_hw_peripheral_devices.html?cp=4_0_0_4_6"&gt;TWI examples in our SDKs&lt;/a&gt;. Start with the TWI scanner example and verify that you can successfully communicate with your sensor. Then you can move on and transfer actual useful data. But as @endnode suggests, you will have to do some reading. You also need to dive into the AS5601&amp;#39;s datasheet and understand how to use it and read its registers.&lt;/p&gt;
&lt;p&gt;Note also that the nRF51 has a built in QDEC in hardware that you might be able to use instead of going through TWI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: as5601 integrated to nrf51822</title><link>https://devzone.nordicsemi.com/thread/114436?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 11:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806edaa6-7fb9-4c2a-bea3-bf503ad374e7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;That doesn&amp;#39;t make sense. If you really expect someone coding the FW for you then I&amp;#39;m afraid you won&amp;#39;t be successful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: as5601 integrated to nrf51822</title><link>https://devzone.nordicsemi.com/thread/114435?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 11:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef4d83b6-f7b3-4533-903d-5362567c23aa</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;I saw the TWI and still i couldn&amp;#39;t get any..
It&amp;#39;ll be good if there is anything done already..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: as5601 integrated to nrf51822</title><link>https://devzone.nordicsemi.com/thread/114434?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2018 07:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4638abc-4eb9-4e84-9ef4-e116e6572d4a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Then internet and long hours of reading (+ trials and errors) are your friend. I2C (aka TWI) is one of the easiest and widest used protocols existing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>