<?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>MPC5xxx中的主题 Re: Question about DSPI for MPC5643L</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491734#M2591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 02:53:32 GMT</pubDate>
    <dc:creator>haotianwei1983</dc:creator>
    <dc:date>2016-03-17T02:53:32Z</dc:date>
    <item>
      <title>Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491728#M2585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, everyone.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently i work on a project about communication between MPC5643L and TLE6204. And there is a problem that I set DSPI_2 as a master and just want to send a 16 bits data with 16 bit command.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after i operate following command:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DSPI_2.PUSHR.R = 0X08010000 | SendData16bit;&lt;/P&gt;&lt;P&gt;then i stay in while loop waiting for the TCF flag bit set.&lt;/P&gt;&lt;P&gt;while(DSPI_2.SR.B.TCF != 1)&lt;/P&gt;&lt;P&gt;{}&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will stay in wihile forever, according to the datasheet after sending a frame TCF will be set. But i don't get the right result.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my whole project in attachment, hope someone kindly help me. Thank you!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338428"&gt;vcu_5in1.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 02:20:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491728#M2585</guid>
      <dc:creator>haotianwei1983</dc:creator>
      <dc:date>2016-02-05T02:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491729#M2586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before sending you are doing this:&lt;/P&gt;&lt;P&gt;DSPI_2.SR.B.EOQF = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Flags are being cleared by 1.&lt;/P&gt;&lt;P&gt;2) .B instance should not be used at all because it would clear all flag set in the register. See following document, section 3.2:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/eng_bulletin/EB758.pdf"&gt;http://www.nxp.com/files/32bit/doc/eng_bulletin/EB758.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The correct solution is as follows:&lt;/P&gt;&lt;P&gt;#define DSPI_SR_EOQF&amp;nbsp; (0x10000000)&lt;/P&gt;&lt;P&gt;DSPI_2.SR..R = DSPI_SR_EOQF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know whether it is was the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 12:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491729#M2586</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-02-05T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491730#M2587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, I will take your advise and check the result. Thank you very much for your kindly help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 13:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491730#M2587</guid>
      <dc:creator>haotianwei1983</dc:creator>
      <dc:date>2016-02-06T13:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491731#M2588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, happy Chinese Spring Festaval. Sorry for checking your advise late.&lt;/P&gt;&lt;P&gt;I just try by &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;#define DSPI_SR_EOQF&amp;nbsp; (0x10000000)&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;DSPI_2.SR..R = DSPI_SR_EOQF;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;but it still run in &lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;while(DSPI_2.SR.B.TCF != 1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;waiting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I am dault that why the TCF can not set, and i use scope to detect the SCK pin. The clock signal can be detect.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 01:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491731#M2588</guid>
      <dc:creator>haotianwei1983</dc:creator>
      <dc:date>2016-02-14T01:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491732#M2589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the morning I test again get following conclusion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) As I set DPSI2 module as the project when run the chip the SCLK pin has no clock signal&lt;/P&gt;&lt;P&gt;2) I config A[1] pin as DPSI sout, but when the chip run, this pin will be pull to high woltage 3.3V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the DSPI module doesn't work so my config to DSPI2 is something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2016 02:47:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491732#M2589</guid>
      <dc:creator>haotianwei1983</dc:creator>
      <dc:date>2016-02-14T02:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491733#M2590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have disabled DSPI module - pay attention to DSPI_MCR[MDIS] bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 12:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491733#M2590</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-02-15T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question about DSPI for MPC5643L</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491734#M2591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 02:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Question-about-DSPI-for-MPC5643L/m-p/491734#M2591</guid>
      <dc:creator>haotianwei1983</dc:creator>
      <dc:date>2016-03-17T02:53:32Z</dc:date>
    </item>
  </channel>
</rss>

