<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Working with iMX6UL-EVK I2C Accelerometer/Magnetometer</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492116#M79005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to your answer, I managed to get the magnetometer working. Still seeking to enable the accelerometer input.&lt;/P&gt;&lt;P&gt;For the magnetometer, I used :&lt;/P&gt;&lt;PRE style="padding: 1em; color: #000000; background-color: #f9f9f9;"&gt;echo 1 &amp;gt; /sys/devices/virtual/input/input3/enable &lt;/PRE&gt;&lt;P&gt;Then I could watch for events with :&lt;/P&gt;&lt;PRE style="padding: 1em; color: #000000; background-color: #f9f9f9;"&gt;evtest /dev/input/event3&lt;/PRE&gt;&lt;P&gt;But "/sys/devices/virtual/input/input2/enable" does not exist for Accelerometer... I will find another way to get it working !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arnaud.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 May 2016 20:13:20 GMT</pubDate>
    <dc:creator>arnaudne</dc:creator>
    <dc:date>2016-05-01T20:13:20Z</dc:date>
    <item>
      <title>Working with iMX6UL-EVK I2C Accelerometer/Magnetometer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492114#M79003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a bit of a noob in Embedded Linux development. I just got an &lt;STRONG&gt;iMX6UL Evaluation Kit&lt;/STRONG&gt; and succeeded to build a working &lt;STRONG&gt;Yocto Project&lt;/STRONG&gt; image (&lt;STRONG&gt;core-image-minimal&lt;/STRONG&gt; based, with some development packages added, as &lt;STRONG&gt;evtest&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to retrieve (from an user-space console for the moment) events from the &lt;EM&gt;&lt;STRONG&gt;FXLS8471&lt;/STRONG&gt;&lt;/EM&gt; Accelerometer and &lt;EM&gt;&lt;STRONG&gt;MAG3110&lt;/STRONG&gt;&lt;/EM&gt; Magnetometer I2C devices already populated and configured (I looked in the imx6ulevk device tree).&lt;/P&gt;&lt;P&gt;I then launched &lt;STRONG&gt;evtest&lt;/STRONG&gt; where I could see that &lt;STRONG&gt;/dev/input/event2&lt;/STRONG&gt; and &lt;STRONG&gt;/dev/input/event3&lt;/STRONG&gt; refer respectively to the accelerometer and magnetometer, but they return no event when I read them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose that we should configure them to provide interrupts at a fixed rate, but I could not figure where I should be looking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me with this ?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arnaud N. (France)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 20:50:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492114#M79003</guid>
      <dc:creator>arnaudne</dc:creator>
      <dc:date>2016-04-30T20:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Working with iMX6UL-EVK I2C Accelerometer/Magnetometer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492115#M79004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arnaud&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sensor test one can look at unit tests :&lt;/P&gt;&lt;P&gt;imx-test package&amp;nbsp; ../mxc_sensor_test/acctest.c&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fpatches.openembedded.org%2Fpatch%2F103551%2F" rel="nofollow" target="_blank"&gt;http://patches.openembedded.org/patch/103551/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Fsupport.bluetechnix.at%2Fwiki%2FLinux_Software_User_Manual_%2528i.MX6%2529%23Magnetometer_.28Freescale_MAG3110_module.29" rel="nofollow" target="_blank"&gt;https://support.bluetechnix.at/wiki/Linux_Software_User_Manual_%28i.MX6%29#Magnetometer_.28Freescale_MAG3110_module.29&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 01:05:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492115#M79004</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-05-01T01:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Working with iMX6UL-EVK I2C Accelerometer/Magnetometer</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492116#M79005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to your answer, I managed to get the magnetometer working. Still seeking to enable the accelerometer input.&lt;/P&gt;&lt;P&gt;For the magnetometer, I used :&lt;/P&gt;&lt;PRE style="padding: 1em; color: #000000; background-color: #f9f9f9;"&gt;echo 1 &amp;gt; /sys/devices/virtual/input/input3/enable &lt;/PRE&gt;&lt;P&gt;Then I could watch for events with :&lt;/P&gt;&lt;PRE style="padding: 1em; color: #000000; background-color: #f9f9f9;"&gt;evtest /dev/input/event3&lt;/PRE&gt;&lt;P&gt;But "/sys/devices/virtual/input/input2/enable" does not exist for Accelerometer... I will find another way to get it working !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arnaud.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 20:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Working-with-iMX6UL-EVK-I2C-Accelerometer-Magnetometer/m-p/492116#M79005</guid>
      <dc:creator>arnaudne</dc:creator>
      <dc:date>2016-05-01T20:13:20Z</dc:date>
    </item>
  </channel>
</rss>

