<?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: LPC11xx SPI/SSP Problem in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561547#M16366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Coralicious on Mon Mar 18 05:35:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could please someone explain to me why does the SSP1_IRQHandler(); starts only with the timeout condition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, when I put my SSP_Receive() to get data from the DR, that function needs 3 parameters (portNum, *buf, Length). When I specific the third parameter (suppose Length = 'X'), the oscillator shows me that SSP1_IRQHandler(); starts each 'X' times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't it start each received frame?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:38:00 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:38:00Z</dc:date>
    <item>
      <title>LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561542#M16361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Coralicious on Thu Mar 14 10:58:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi! I'm using lpc1113/301 for a master-slave communication. Now I'm using as a slave, and I know that Master is sending 3 bytes (0x55, 0xff, 0xff) to me. I can receive them only by setting DSS data to 16-bit (LPC_SSP1-&amp;gt;CR0 = 0x070f) but I should receive them also by setting DSS data to 8-bit, so I could send my answer to the master at the same time I receive it's second byte.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, if I do set DSS data to 8-bit, in my buffer I just receive 0x55, 0x55, 0x55 (the first byte the master sends to me).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look to my oscilloscope, I can see on MOSI the 3 data bytes, but in my LED, which I programmed with a toggle to see when does the SSP1_IRQHandler starts, I see that it works each 2 frames of data (each time I've recived the 3 bytes for twice).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can I do to solve this, so receive 1 byte of data and answer 1 byte just after this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my english :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561542#M16361</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561543#M16362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Fri Mar 15 02:33:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Coralicious&lt;/STRONG&gt;&lt;BR /&gt;I can receive them only by setting DSS data to 16-bit (LPC_SSP1-&amp;gt;CR0 = 0x070f) but I should receive them also by setting DSS data to 8-bit...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm confused, what's your master frame (= SSEL or CS), 16 or 8 bit :confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561543#M16362</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561544#M16363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Coralicious on Fri Mar 15 03:14:55 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My master frame is now on 8bit. I don't know why my SSP1_IRQHandler doesn't start each time I have some data on my receive buffer. It starts each time I've received the 16bits from master for twice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561544#M16363</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561545#M16364</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 Fri Mar 15 03:40:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Then your problem is obviously your SPI code / setting. There's no reason why your LPC shouldn't receive 8bit ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest to use a working code like &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/attachment.php?attachmentid=552&amp;amp;d=1316436457&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with master / slave code and compare / use that :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561545#M16364</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561546#M16365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Coralicious on Fri Mar 15 04:20:12 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Zero. Thanks for your files but I'm not doing it by polling. I need to communicate master and slave by interruption :/&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561546#M16365</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11xx SPI/SSP Problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561547#M16366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Coralicious on Mon Mar 18 05:35:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Could please someone explain to me why does the SSP1_IRQHandler(); starts only with the timeout condition?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, when I put my SSP_Receive() to get data from the DR, that function needs 3 parameters (portNum, *buf, Length). When I specific the third parameter (suppose Length = 'X'), the oscillator shows me that SSP1_IRQHandler(); starts each 'X' times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't it start each received frame?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:38:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC11xx-SPI-SSP-Problem/m-p/561547#M16366</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:38:00Z</dc:date>
    </item>
  </channel>
</rss>

