<?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>topic Re: Ambient Light Sensor - bh7121fvc in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Ambient-Light-Sensor-bh7121fvc/m-p/1448090#M189599</link>
    <description>&lt;P&gt;Q1. &amp;gt;&amp;gt;What are the below values mentioned below, are these are register? which register have to read for lux value&lt;/P&gt;
&lt;P&gt;--&amp;gt; Yes, it shows registers and register's value.You need see&amp;nbsp;bh7121fvc register guide to find which register can read lux.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I got below values when checked through rootfs, what is this value for ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;root@root:~# cat /sys/class/i2c-dev/i2c-2/device/2-0023/driver/2-0023/iio\:device0/in_illuminance_raw&lt;BR /&gt;991&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---&amp;gt;Reference links:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/mikhail-m1/illuminanced" target="_blank"&gt;https://github.com/mikhail-m1/illuminanced&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio" target="_blank"&gt;https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 24 Apr 2022 01:37:25 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2022-04-24T01:37:25Z</dc:date>
    <item>
      <title>Ambient Light Sensor - bh7121fvc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ambient-Light-Sensor-bh7121fvc/m-p/1444941#M189420</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using bh7121fvc light ambient sensor on i.MX8M Mini L5.4.70. I need some technical information on this module.I had used bh7150.c driver. bh7121 module is detected while system booting.&lt;/P&gt;&lt;P&gt;Q1. &amp;gt;&amp;gt;What are the below values mentioned below, are these are register? which register have to read for lux value&lt;/P&gt;&lt;P&gt;i2cdump -f -y 2 0x23&lt;/P&gt;&lt;P&gt;root@iWave-G39H:~# i2cdump -f -y 2 0x23&lt;BR /&gt;No size specified (using byte-data access)&lt;BR /&gt;0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef&lt;BR /&gt;00: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;10: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;20: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;30: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;40: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;50: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;60: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;70: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;80: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;90: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;a0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;b0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;c0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;d0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;e0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;BR /&gt;f0: 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 ????????????????&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Q2. &amp;gt;&amp;gt;I got below values when checked through rootfs, what is this value for ?&lt;/P&gt;&lt;P&gt;root@root:~# cat /sys/class/i2c-dev/i2c-2/device/2-0023/driver/2-0023/iio\:device0/&lt;BR /&gt;consumers in_illuminance_integration_time in_illuminance_scale name power/ suppliers&lt;BR /&gt;dev in_illuminance_raw integration_time_available of_node/ subsystem/ uevent&lt;BR /&gt;root@root:~# cat /sys/class/i2c-dev/i2c-2/device/2-0023/driver/2-0023/iio\:device0/in_illuminance_raw&lt;BR /&gt;991&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt;&amp;gt; What are the 02 and 991 values I got through Q1 and Q2, which is the correct lux value to be read? Any calculation have to be done on above received value&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Looking forward for your reply.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Deeksha&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 06:37:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ambient-Light-Sensor-bh7121fvc/m-p/1444941#M189420</guid>
      <dc:creator>deeksha</dc:creator>
      <dc:date>2022-04-18T06:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambient Light Sensor - bh7121fvc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Ambient-Light-Sensor-bh7121fvc/m-p/1448090#M189599</link>
      <description>&lt;P&gt;Q1. &amp;gt;&amp;gt;What are the below values mentioned below, are these are register? which register have to read for lux value&lt;/P&gt;
&lt;P&gt;--&amp;gt; Yes, it shows registers and register's value.You need see&amp;nbsp;bh7121fvc register guide to find which register can read lux.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I got below values when checked through rootfs, what is this value for ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;root@root:~# cat /sys/class/i2c-dev/i2c-2/device/2-0023/driver/2-0023/iio\:device0/in_illuminance_raw&lt;BR /&gt;991&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---&amp;gt;Reference links:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/mikhail-m1/illuminanced" target="_blank"&gt;https://github.com/mikhail-m1/illuminanced&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio" target="_blank"&gt;https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 01:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Ambient-Light-Sensor-bh7121fvc/m-p/1448090#M189599</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2022-04-24T01:37:25Z</dc:date>
    </item>
  </channel>
</rss>

