<?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>LPC Microcontrollers中的主题 Re: LPC 1857 SSP MISO behavior</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527399#M9394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Wed Mar 02 05:21:40 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it is exactly 17.86 Mhz. I use &amp;lt;Chip_SSP_SetBitRate&amp;gt; function to set the speed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:18:06 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:18:06Z</dc:date>
    <item>
      <title>LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527396#M9391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Wed Mar 02 04:21:55 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi NXP support team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Keil developed LPC 1857 evaluation board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I configured ssp1 as master for 8 bits, spi frame format, clock phase=1, clock polarity=0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a spi slave which can work upto 20 Mhz and is configured as mentioned above to write a value 0x0A when clock is provided by the master.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the data as 0x0A correctly in MISO when master is configured for 200Khz speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get 0x05 as data in MISO sometimes when the speed is 13Mhz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i get 0x05 as data in MISO always when the speed is 20 Mhz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the CRO i could see the MISO data is getting delayed by ~20ns. Is this an issue with master ? if so, how to solve this ? please comment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attaching the CRO waveforms for reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manikandan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527396#M9391</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527397#M9392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Wed Mar 02 05:07:40 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Check latest data sheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(if not as up-to-date as LPC4357, perhaps you can get hints from LPC4357 data sheet).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check if maximum possible (via registers) is also maximum supported (in data sheet).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527397#M9392</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527398#M9393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Wed Mar 02 05:10:00 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW: How do you get 20 MHz? 204 MHz / 12 = 17 MHz. Or do you use different clock than 204 MHz?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527398#M9393</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527399#M9394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Wed Mar 02 05:21:40 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it is exactly 17.86 Mhz. I use &amp;lt;Chip_SSP_SetBitRate&amp;gt; function to set the speed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527399#M9394</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527400#M9395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Mar 02 05:40:09 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the latest data sheet (2015-11-17) LPC1857 has a maximal clock frequency of 180 MHz, are you overclocking it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527400#M9395</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527401#M9396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Wed Mar 02 06:28:16 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No it is 180 Mhz only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527401#M9396</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527402#M9397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Wed Mar 02 22:37:54 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Serial Clock Rate = PCLK / (CPSDVSR x [SCR+1])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CPSDVSR = 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SCR = 4;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and i see 17.86 Mhz in the CRO as the clock speed hence, PCLK should be ~ 180 Mhz.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527402#M9397</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527403#M9398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Thu Mar 03 02:15:16 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't mention what the two data traces in your images are, but I guess the third signal is MISO. It seems to be too slow so that there is not enough setup time before the falling edge of the clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you have signal problems, you should look at it with an oscilloscope, not a logic analyzer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't mention how you set up the clock and MISO pin in the system control unit. Try setting clock to fast slew rate and disable input glitch filter on MISO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe your wires are too long or form a too big loop, so that signals are slowed down. Try to make them short as possible and put the signal close to ground (use twisted pair if these are loose wires).&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527403#M9398</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527404#M9399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Manikandan_108 on Thu Mar 03 05:13:11 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;channel_0 is clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;channel_2 is MOSI&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;channel_3 is MISO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;channel_1 is chip select&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have set clock and chip select pin in the SCU as ( Disable pull-down and pull-up resistor at resistor at pad,Enable high-speed slew,Enable Input buffer,Disable input glitch filter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have set mosi and miso in the SCU as (Disable pull-down and pull-up resistor at resistor at pad,Enable Input buffer,Disable input glitch filter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 5 single core wires of length ~20 cms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i will try with shorter wires.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:18:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527404#M9399</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1857 SSP MISO behavior</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527405#M9400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:03:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC-1857-SSP-MISO-behavior/m-p/527405#M9400</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:03:33Z</dc:date>
    </item>
  </channel>
</rss>

