<?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>8-bit Microcontrollers中的主题 Re: MPR084 and QE32</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179908#M12949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;writing to MPR084 work correctly atm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I fail at reading (well I read only 1 data then the I2C get jammed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to read from the MPR084 I send the slave address with r/w bit set at 1 right?&lt;/P&gt;&lt;P&gt;then read the byte comming (from what I understand this should read the register where the internal pointer is pointing)&lt;/P&gt;&lt;P&gt;then a stop condition exact?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or I have to write addr with | 0x01 then write a command byte then read the following byte?&lt;/P&gt;&lt;P&gt;or I have to do a repeated start somewhere in the process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Atm I see the addr getting transmit with r/w at 1, then the value im expecting (0x40) from the fifo after a reset, then a ack (not sure who made it) then SCL going high (then expect SDA to go high for the STOP) but stay and remain low ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one see my error in using the protocol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ive attached the result SCL in yellow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Feb 2011 01:56:32 GMT</pubDate>
    <dc:creator>Juls</dc:creator>
    <dc:date>2011-02-25T01:56:32Z</dc:date>
    <item>
      <title>MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179902#M12943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I did implement i2c communication from AN2318&lt;/P&gt;&lt;P&gt;But when I try to transmit the address I wait until busy flag get clear&lt;/P&gt;&lt;P&gt;and its never happening &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-frustrated.gif"&gt;&lt;IMG alt=":smileyfrustrated:" class="emoticon emoticon-smileyfrustrated" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-frustrated.gif" title="Smiley Frustrated" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;got a 10K on SCL and SDA&lt;/P&gt;&lt;P&gt;both are at 3.3V&lt;/P&gt;&lt;P&gt;trap in the loop waiting busy to get clear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 04:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179902#M12943</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-01-29T04:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179903#M12944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is IIC pins select bit (IICPS) set up properly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 14:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179903#M12944</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2011-01-29T14:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179904#M12945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes using pta2 and pta3&lt;/P&gt;&lt;P&gt;both 10k pullup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 20:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179904#M12945</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-01-31T20:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179905#M12946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok I removed the waiting loop for busy to see what would happen and as soon I try to do a start I get the interuption and then first thing I compare IIC_MST to see if im master and it return im the slave &lt;IMG alt=":smileyfrustrated:" class="emoticon emoticon-smileyfrustrated" id="smileyfrustrated" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-frustrated.gif" title="Smiley Frustrated" /&gt; ive included my code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 01:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179905#M12946</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-01T01:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179906#M12947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;the mpr084 seem to hold the SDA line at 0 when I boot&lt;/P&gt;&lt;P&gt;if I unsolder it get try state and I can resolder&lt;/P&gt;&lt;P&gt;the cpu stop seeing busy flags&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but atm I set MST (master should create a start condition)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And I get interrupted immediatly by the i2c&lt;/P&gt;&lt;P&gt;if I run instead of debug I get a SLC 0 then 1&amp;nbsp; and nothing more SDA never moved&lt;/P&gt;&lt;P&gt;There is something I havent understand??&lt;/P&gt;&lt;P&gt;Didn t connect IRQ line&lt;/P&gt;&lt;P&gt;ATTN is set at 1 at boot and at 0 after a short moment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 02:04:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179906#M12947</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-02T02:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179907#M12948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok gone a little further&lt;/P&gt;&lt;P&gt;connected a DS3232&lt;/P&gt;&lt;P&gt;my clock was too fast first of all&lt;/P&gt;&lt;P&gt;now 50Khz&lt;/P&gt;&lt;P&gt;As also using wrong address for MPR084&lt;/P&gt;&lt;P&gt;but when I use debugger to step into the IIC interrupt I do get weird stuff&lt;/P&gt;&lt;P&gt;it check for RXAK everything is fine (also on scope the address is correct with R/W to 0) followed by a 0 at the 9th clock (ACK)&lt;/P&gt;&lt;P&gt;then compare cMasterRxFlag to see if we write or read from IIC and suddenly jump to line 285 and CLEAR IIC_TX bit&lt;/P&gt;&lt;P&gt;then weird thing happen on scope like clock of SCL and FF as data on SDA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any one seen this before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 02:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179907#M12948</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-08T02:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179908#M12949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;writing to MPR084 work correctly atm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I fail at reading (well I read only 1 data then the I2C get jammed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to read from the MPR084 I send the slave address with r/w bit set at 1 right?&lt;/P&gt;&lt;P&gt;then read the byte comming (from what I understand this should read the register where the internal pointer is pointing)&lt;/P&gt;&lt;P&gt;then a stop condition exact?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or I have to write addr with | 0x01 then write a command byte then read the following byte?&lt;/P&gt;&lt;P&gt;or I have to do a repeated start somewhere in the process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Atm I see the addr getting transmit with r/w at 1, then the value im expecting (0x40) from the fifo after a reset, then a ack (not sure who made it) then SCL going high (then expect SDA to go high for the STOP) but stay and remain low ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one see my error in using the protocol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ive attached the result SCL in yellow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 01:56:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179908#M12949</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-25T01:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179909#M12950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have a DS3232 connected to this I2C&lt;/P&gt;&lt;P&gt;for this one the reading protocol is much more clear&lt;/P&gt;&lt;P&gt;to read the master ack each data and do a nack for the last byte it want to read&lt;/P&gt;&lt;P&gt;same thing for MPR084?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Feb 2011 00:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179909#M12950</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-26T00:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: MPR084 and QE32</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179910#M12951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed&lt;/P&gt;&lt;P&gt;(in case someone read)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set TXAK to 0 will not send a ask after receiving the first byte&lt;/P&gt;&lt;P&gt;allowing to create a stop&lt;/P&gt;&lt;P&gt;if you want to receive more than 1 set it to 1 then at 0 when expecting last byte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Feb 2011 01:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MPR084-and-QE32/m-p/179910#M12951</guid>
      <dc:creator>Juls</dc:creator>
      <dc:date>2011-02-26T01:25:42Z</dc:date>
    </item>
  </channel>
</rss>

