<?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: How to send a non constant buffer over i2c? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-send-a-non-constant-buffer-over-i2c/m-p/1568079#M50991</link>
    <description>&lt;P&gt;No, you can't.&lt;/P&gt;&lt;P&gt;I2C is a bus with a strict master-slave design. Only the master device can initiate transfers.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; Can i send a non constant buffer ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assume with "non constant" you mean of onknown length.&lt;BR /&gt;The usual method here is to execute consecutive (multi-byte) reads until the slave device returns NACK.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I2C memory and MEMS sensor devices are good examples for such protocols.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 08:22:06 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2022-12-12T08:22:06Z</dc:date>
    <item>
      <title>How to send a non constant buffer over i2c?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-send-a-non-constant-buffer-over-i2c/m-p/1567773#M50989</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;i have a question about the MCUXPRESSO SDK. Can i send a non constant buffer(uint8_t) as a I2C Slave? I do not found a function to send a uint8_t buffer from a slave to master after a master request.&lt;/P&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 13:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-send-a-non-constant-buffer-over-i2c/m-p/1567773#M50989</guid>
      <dc:creator>coder_72</dc:creator>
      <dc:date>2022-12-11T13:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to send a non constant buffer over i2c?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-send-a-non-constant-buffer-over-i2c/m-p/1568079#M50991</link>
      <description>&lt;P&gt;No, you can't.&lt;/P&gt;&lt;P&gt;I2C is a bus with a strict master-slave design. Only the master device can initiate transfers.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; Can i send a non constant buffer ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assume with "non constant" you mean of onknown length.&lt;BR /&gt;The usual method here is to execute consecutive (multi-byte) reads until the slave device returns NACK.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I2C memory and MEMS sensor devices are good examples for such protocols.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 08:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-send-a-non-constant-buffer-over-i2c/m-p/1568079#M50991</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-12-12T08:22:06Z</dc:date>
    </item>
  </channel>
</rss>

