<?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>Kinetis Microcontrollers中的主题 Re: I2C interface of ALS Sensor</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512992#M32489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VIGNESH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i2c baud rate is the I2C clk communication baud rate, you also can configure the baudrate which you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For details, please check the KEA referece manual, I2Cx_F register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 09:28:43 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-04-05T09:28:43Z</dc:date>
    <item>
      <title>I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512989#M32486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Generally,How to write to a register in ISL29023(ALS Sensor) throught I2C ?&amp;nbsp; Any examples codes aare there for that with respect to KEA-128???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 13:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512989#M32486</guid>
      <dc:creator>vigneshbalaji</dc:creator>
      <dc:date>2016-03-30T13:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512990#M32487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VIGNESH BALAJI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; About how to write the ALS SENSOR register, you should read the the ALS sensor datasheet, to get the command, then use the I2C to send the according command to write the sensor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; What we can give you is just the KEA128 I2C driver, for the detail application, you need to write the code by yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please find the KEA128 i2c driver from the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 03:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512990#M32487</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-31T03:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512991#M32488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    In the I2C driver the baud rate is kept as 0x1F ,what is the baud rate&lt;/P&gt;&lt;P&gt;that corresponds to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Mar 31, 2016 at 8:48 AM, kerryzhou &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 09:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512991#M32488</guid>
      <dc:creator>vigneshbalaji</dc:creator>
      <dc:date>2016-04-05T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512992#M32489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VIGNESH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i2c baud rate is the I2C clk communication baud rate, you also can configure the baudrate which you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For details, please check the KEA referece manual, I2Cx_F register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 09:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512992#M32489</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-04-05T09:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512993#M32490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;            Can you please tell me,what does this 0x1F refer to that is it&lt;/P&gt;&lt;P&gt;corresponds to what baud rate???In the I2C driver we are putting it as 0x1F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Tue, Apr 5, 2016 at 2:59 PM, kerryzhou &amp;lt;admin@community.freescale.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 10:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512993#M32490</guid>
      <dc:creator>vigneshbalaji</dc:creator>
      <dc:date>2016-04-05T10:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: I2C interface of ALS Sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512994#M32491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vignesh,&lt;/P&gt;&lt;P&gt;Could you tell me what the 0X1F from? Did you define the I2Cx_F=0x1f?&lt;/P&gt;&lt;P&gt;If yes, now I tell you how to calculate the baud rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2C baud rate = I2C module clock speed (Hz)/(mul × SCL divider)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2C module clock speed is the bus clock.&lt;/P&gt;&lt;P&gt;mul=I2Cx_F[MULT]+1;&lt;/P&gt;&lt;P&gt;SCL divider, you need to check the Table 31-41. I2C divider and hold values in the KEA referece manual.&lt;/P&gt;&lt;P&gt;Now take I2Cx_F=0x1f as an example, it means, mul=1, SCL divider= 240.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="47.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29730iF260DF3AC404FE0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="47.jpg" alt="47.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, assume your bus clock=24Mhz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I2C baud rate = 24Mhz/(1*240)=100Kbps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More details, please read the referece manual carefully!&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 01:36:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2C-interface-of-ALS-Sensor/m-p/512994#M32491</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-04-06T01:36:55Z</dc:date>
    </item>
  </channel>
</rss>

