<?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>LPCXpresso IDEのトピックRe: LPC1114 SPI multiple devices sharing bus</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591900#M29795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zzz on Sun Sep 18 18:03:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;:cool: oooh fancy, platinum! I was looking at those, so they are slow hmm. The thermocouple is pretty fast and 5$ for the fancy one and 2x 3$ for just the solder blob on a braided wire. Its a little slower for sudden changes, like room temp to glass of ice water ~45-60s, but in a reflow oven it should be good. I'll let you know when I do my first QFN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:29:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:29:42Z</dc:date>
    <item>
      <title>LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591894#M29789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zzz on Sat Sep 17 13:35:27 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have finally tweaked the SSP example to work for my MAX6675 Thermocouple to SPI converter. I am currently using USE_CS = 1 on port 2 so Pin 2_0 is the SSEL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I would like to add a second MAX6675 to the same SSP1 bus. I know this is done with another GPIO as the CS. I want to make it as seamless as the SSEL pin. Is there a way to do this by modifying the SSP_IOConfig()?&amp;nbsp; Looking through the code I dont see it toggling Pin 2_0, is this done internally?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The simplest solution is to just add a multiplexer but i would like to avoid extra ic's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the future I plan on adding a third MAX6675 and/or other spi devices on the same bus.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591894#M29789</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591895#M29790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Sep 17 14:08:24 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With USE_CS=1 SSEL is controlled by SPI/SSP controller :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is done with IOCON setting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_IOCON-&amp;gt;PIO2_0 &amp;amp;= ~0x07;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_IOCON-&amp;gt;PIO2_0 |= 0x02;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* SSP SSEL */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just use a GPIO with USE_CS=0 to select your chip(s) :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591895#M29790</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591896#M29791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zzz on Sun Sep 18 15:34:16 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ah too bad, I wanted a nice elegant solution, using GPIO instead of SSEL worked out fine. Just not as pretty on when looking at the waveform on the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Zero, you are the one man hero of this forum. I hope NXP is sending you checks in the mail for all the work you do here. :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. If anyone needs to use a MAX6675 I did all the hard work, now you can implement using a function call and editing a few #defines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591896#M29791</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591897#M29792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sun Sep 18 16:27:45 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please tell me a few things about your project :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Which thermocouple are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Which temperature range are you measuring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#3 MAX6675 isn't really cheap, do you think it's worth the money?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591897#M29792</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591898#M29793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zzz on Sun Sep 18 17:05:12 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making a solder reflow oven for my lab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;#1 Which thermocouple are you using?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using cheapo type K thermocouples from Ebay &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;#2 Which temperature range are you measuring?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Room temperature to about 400C, I wish I could just do it with PN junction measurement but that's only good to about 125C(150C?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;#3 MAX6675 isn't really cheap, do you think it's worth the money?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not only is the MAX6675 not cheap, its now not recomended for new designs :mad: apparently some time in the summer it became obsolete. MAX31855 is the replacement part with an extra 2 bits and now -ve temperature readings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this was a production item I would not use the MAX6675 @ over 7$ea&amp;nbsp; :eek: the ones i had in stock where from some free samples. The replacement MAX31855 is a more reasonable ~$3ea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways its just one oven. If I get in the oven business, I'll just use the cheaper chip or equivalent ones from other manufactures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. If you want MAX31855 ready code i'll send you my 6675 code and you can modify it or maybe by then I would have already done that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591898#M29793</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591899#M29794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sun Sep 18 17:43:01 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your info :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment i'm using a wonderful PT1000 stainless steel sensor (0-700°C) to measure 0-300°C.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it's a little bit slow and so i'm thinking about trying a thermocouple solution...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: I've used an 1N4148 with ATMega for my first reflow oven.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591899#M29794</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591900#M29795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by zzz on Sun Sep 18 18:03:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;:cool: oooh fancy, platinum! I was looking at those, so they are slow hmm. The thermocouple is pretty fast and 5$ for the fancy one and 2x 3$ for just the solder blob on a braided wire. Its a little slower for sudden changes, like room temp to glass of ice water ~45-60s, but in a reflow oven it should be good. I'll let you know when I do my first QFN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591900#M29795</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591901#M29796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by axelmoranelli87 on Fri Jul 31 05:46:23 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, Please could you send me the code you used to handle the MAX6675 with the LPC1769 SSP ?? thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591901#M29796</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SPI multiple devices sharing bus</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591902#M29797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MindBender on Fri Jul 31 07:11:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: zzz&lt;/STRONG&gt;&lt;BR /&gt;Now I would like to add a second MAX6675 to the same SSP1 bus. I know this is done with another GPIO as the CS. I want to make it as seamless as the SSEL pin.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the second CS, you could choose a pin on which you can multiplex SSEL too. In that case, switching between devices is a simple as swapping pin functions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC1114-SPI-multiple-devices-sharing-bus/m-p/591902#M29797</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:29:43Z</dc:date>
    </item>
  </channel>
</rss>

