<?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>Classic/Legacy CodeWarriorのトピックRe: 56F8367  CW8.0  Problems with the SPI at 30 MHz</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153528#M2249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is not easy to determine the cause of the problem.&lt;BR /&gt;The better way will be to log it directly in the Technical support system.&lt;BR /&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request. You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This request is more depending of the hardware.&lt;/DIV&gt;&lt;DIV&gt;I will probably forward it to the MCU team.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2007 21:59:44 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2007-10-09T21:59:44Z</dc:date>
    <item>
      <title>56F8367  CW8.0  Problems with the SPI at 30 MHz</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153527#M2248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;I am trying to communicate two ADC’s from Analog Devices (one AD7676 and one AD7663) with a CPU 56F8367 by the SPI port. In fact, now I am using the MC56F8367EVME with the CodeWarrior 5.6.1.1658 and obviously programming with the Processor Expert beans. The ADC’s are connected in a daisy channel configuration in order to use only one SPI port in the DSP. In this configuration, the behaviour of both ADC is the same as only one. In fact, the clock of the DSP (obviously the master in my system is the DSP) drives both ADCs. The rise edge of the clock updates the output of the ADC (MOSI pin) and with the fall edge of the clock this updated data is being read.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;When I adjust the speed of the SPI peripheral up to 15 MHz the system works properly. The problem appears when the clock is adjusted at 30 MHz. I have saw with the oscilloscope that the MOSI pin is correctly updated with the clock, but the SPI always have problems with the first bit. In fact at this speed, this first read bit always has the logical value of the MOSI before the actualization. Due to this bad behaviour always the correct string is shifted one bit to the right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;I have tested the configuration of the SPI (seeing the register values) and it seems that the processor expert is working properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;This is my configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;The chip select is always low&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;I start the process writing a word in the SPDTR register of the SPI. The idea is to activate the clock.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;The transmission ends when the SPDRR is full (and obviously there is a flag that indicates this event)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;CPHA = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;CPOL = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Thank you very much, I am desperate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 15:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153527#M2248</guid>
      <dc:creator>rceit</dc:creator>
      <dc:date>2007-10-08T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8367  CW8.0  Problems with the SPI at 30 MHz</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153528#M2249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is not easy to determine the cause of the problem.&lt;BR /&gt;The better way will be to log it directly in the Technical support system.&lt;BR /&gt;Please use Freescale on line support web page.&lt;BR /&gt;&amp;nbsp; - Go to following URL: &lt;A href="http://www.freescale.com/TechSupport" rel="nofollow" target="_blank"&gt;http://www.freescale.com/TechSupport&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; - Click on Submit a Service Request. You will come to a login page.&lt;BR /&gt;&amp;nbsp; - You can submit your request through the web from there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This request is more depending of the hardware.&lt;/DIV&gt;&lt;DIV&gt;I will probably forward it to the MCU team.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 21:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153528#M2249</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2007-10-09T21:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8367  CW8.0  Problems with the SPI at 30 MHz</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153529#M2250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;thanks Pascal, i will try your suggestion&amp;nbsp;.Bye.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 18:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153529#M2250</guid>
      <dc:creator>rceit</dc:creator>
      <dc:date>2007-10-16T18:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8367  CW8.0  Problems with the SPI at 30 MHz</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153530#M2251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just a note for this.&amp;nbsp; I was just reading the peripheral manual (rev 6), page 14-20,&amp;nbsp;and it says that the SPI has a 20MHz limit.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pete&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:57:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F8367-CW8-0-Problems-with-the-SPI-at-30-MHz/m-p/153530#M2251</guid>
      <dc:creator>dynapb</dc:creator>
      <dc:date>2007-11-14T05:57:37Z</dc:date>
    </item>
  </channel>
</rss>

