<?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>Processor Expert SoftwareのトピックRe: processor expert i2c SendBlock size</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398051#M3145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello zohar golan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mention the MCU part number. Are you using &lt;STRONG&gt;I2C_LDD&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with that device in particular (LTC2451), but the first transferred byte involves the address and a R/W bit to indicate the operation. If you are expecting to "read" values from such I2C slave, then you better use &lt;STRONG&gt;MasterReceiveBlock()&lt;/STRONG&gt; with the number of bytes you are expecting to read. This will then send the Address + Read bit and prepare to receive bytes from the slave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the slave really just needs a dummy address, then I don't think that case is covered by Processor Expert &lt;STRONG&gt;I2C_LDD&lt;/STRONG&gt; component, so you need to create your own API for this, it should be pretty simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your MCU is from Kinetis family, I can also recommend you to check if it is already supported by &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS-SDK&amp;amp;tid=redKINETIS_SDK"&gt;&lt;STRONG&gt;KSDK&lt;/STRONG&gt;&lt;/A&gt; platform and migrate your project. You can see the supported devices in the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDK120RN.pdf"&gt;&lt;STRONG&gt;release notes&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 22:27:46 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-06-12T22:27:46Z</dc:date>
    <item>
      <title>processor expert i2c SendBlock size</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398050#M3144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to send a message with no payload, only the address?&lt;/P&gt;&lt;P&gt;Some devices (like the LTC2451), requires only the address with out any data, for the reading of the adc value.&lt;/P&gt;&lt;P&gt;If I am using size of 0 the SendBlock will return immediately and will do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Zohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 20:43:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398050#M3144</guid>
      <dc:creator>zohargolan1</dc:creator>
      <dc:date>2015-06-12T20:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: processor expert i2c SendBlock size</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398051#M3145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello zohar golan:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mention the MCU part number. Are you using &lt;STRONG&gt;I2C_LDD&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with that device in particular (LTC2451), but the first transferred byte involves the address and a R/W bit to indicate the operation. If you are expecting to "read" values from such I2C slave, then you better use &lt;STRONG&gt;MasterReceiveBlock()&lt;/STRONG&gt; with the number of bytes you are expecting to read. This will then send the Address + Read bit and prepare to receive bytes from the slave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the slave really just needs a dummy address, then I don't think that case is covered by Processor Expert &lt;STRONG&gt;I2C_LDD&lt;/STRONG&gt; component, so you need to create your own API for this, it should be pretty simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your MCU is from Kinetis family, I can also recommend you to check if it is already supported by &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KINETIS-SDK&amp;amp;tid=redKINETIS_SDK"&gt;&lt;STRONG&gt;KSDK&lt;/STRONG&gt;&lt;/A&gt; platform and migrate your project. You can see the supported devices in the &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDK120RN.pdf"&gt;&lt;STRONG&gt;release notes&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 22:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398051#M3145</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-06-12T22:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: processor expert i2c SendBlock size</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398052#M3146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, seems like this function does the trick. The device I am using is MK20FX512VMD12.&lt;/P&gt;&lt;P&gt;I was using function call CI2C1_RecvBlock , which apparently is doing similar things. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/processor-expert-i2c-SendBlock-size/m-p/398052#M3146</guid>
      <dc:creator>zohargolan1</dc:creator>
      <dc:date>2015-06-15T15:13:57Z</dc:date>
    </item>
  </channel>
</rss>

