<?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 I am interfacing with an IR sensor that uses an SMBus. How is I2C_HAL_SetSMBusAddressCmd() used? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I-am-interfacing-with-an-IR-sensor-that-uses-an-SMBus-How-is-I2C/m-p/470978#M3772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;There seem to be several other SMBus specific functions in the fsl_i2c_hal.c file as well and no documentation I can find to explain how to use it. Any help would be apprecieated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 14:36:37 GMT</pubDate>
    <dc:creator>johnelliott</dc:creator>
    <dc:date>2016-05-13T14:36:37Z</dc:date>
    <item>
      <title>I am interfacing with an IR sensor that uses an SMBus. How is I2C_HAL_SetSMBusAddressCmd() used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I-am-interfacing-with-an-IR-sensor-that-uses-an-SMBus-How-is-I2C/m-p/470978#M3772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;There seem to be several other SMBus specific functions in the fsl_i2c_hal.c file as well and no documentation I can find to explain how to use it. Any help would be apprecieated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 14:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I-am-interfacing-with-an-IR-sensor-that-uses-an-SMBus-How-is-I2C/m-p/470978#M3772</guid>
      <dc:creator>johnelliott</dc:creator>
      <dc:date>2016-05-13T14:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: I am interfacing with an IR sensor that uses an SMBus. How is I2C_HAL_SetSMBusAddressCmd() used?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I-am-interfacing-with-an-IR-sensor-that-uses-an-SMBus-How-is-I2C/m-p/470979#M3773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For the detail fsl_i2c_hal.c function description, you can read the fsl_i2c_hal.c directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Do you just don't know how to call it? You can see the function defination:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Function I2C_HAL_SetSMBusAddressCmd&lt;/P&gt;&lt;P&gt;/*FUNCTION**********************************************************************&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;* Function Name : I2C_HAL_SetSMBusAddressCmd&lt;/P&gt;&lt;P&gt;* Description&amp;nbsp; : Enables/Disables SMBus device default address.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*END**************************************************************************/&lt;/P&gt;&lt;P&gt;void I2C_HAL_SetSMBusAddressCmd(I2C_Type *base, bool enable, uint8_t address)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_BWR_SMB_SIICAEN(base, enable);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_BWR_A2_SAD(base, address);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;If you want to enable the SMBUS device default address:I2C address register 2 matching is enabled, you can call it like this:&lt;/P&gt;&lt;P&gt;I2C_HAL_SetSMBusAddressCmd(I2C0, 1,0XA0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More details, you also can refer to the chip reference manual, I2C chapter.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&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>Mon, 16 May 2016 05:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/I-am-interfacing-with-an-IR-sensor-that-uses-an-SMBus-How-is-I2C/m-p/470979#M3773</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-05-16T05:54:40Z</dc:date>
    </item>
  </channel>
</rss>

