<?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: MPC5746 DSPI Extended Frame with continuous peripherial chip selection in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890360#M13147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, I have tried the sequence you mentioned,&amp;nbsp; and it worked perfectly !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 May 2019 15:49:49 GMT</pubDate>
    <dc:creator>yong_zheng</dc:creator>
    <dc:date>2019-05-18T15:49:49Z</dc:date>
    <item>
      <title>MPC5746 DSPI Extended Frame with continuous peripherial chip selection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890357#M13144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,DSPI module of MPC5746C supports extended frame, and i can receive and send multiple extended frames through DSPI.&lt;/P&gt;&lt;P&gt;But when i used the continuos selection format, it failed,the PCS port is not inactived after the last frame.&lt;/P&gt;&lt;P&gt;when i use the normal spi mode by setting xspi 0 with continuous selection format,i&amp;nbsp; can send &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;multiple frames&lt;/SPAN&gt; with the right wave of PCS,PCS port is active at the beginning of the first frame, and inactive at the end of the last frame.&lt;/P&gt;&lt;P&gt;I have noticed the datasheet,&lt;STRONG&gt;When transmitting multiple frames in this mode, the user software must ensure that&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;the last frame has the PUSHR[CONT] bit deasserted in Master mode.&lt;/STRONG&gt;and I have done it.&lt;/P&gt;&lt;P&gt;In the 1338 page,the reference mentioned ,&lt;STRONG&gt;When Extended SPI Mode (MCR[XSPI]) is enabled, every CMD FIFO entry can have multiple TX FIFO entries attached to it. Thus a single CMD FIFO entry can be used to transmit multiple TX FIFO entries.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried to deassert the PUSHER[CONT],but it falied. I want to know whether the extended frame support continuous selection format,and if it supports the feature ,then what should i do to inactivate the PCS port at the end of last frame?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The figure3 displays extended frame tramission with continuous selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 04:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890357#M13144</guid>
      <dc:creator>yong_zheng</dc:creator>
      <dc:date>2019-05-13T04:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746 DSPI Extended Frame with continuous peripherial chip selection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890358#M13145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the same behavior on my side. Let me check if some special sequence is needed or if it is a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 05:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890358#M13145</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-17T05:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746 DSPI Extended Frame with continuous peripherial chip selection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890359#M13146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out that this sequence works as expected (I used extended format 32bit):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //write 16bit command with CONT bit set&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(&amp;amp;DSPI_3.PUSHR.PUSHR.R)&amp;nbsp; = 0x8001;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x1111;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x2222;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(DSPI_3.SR.B.CMDTCF == 0);&amp;nbsp;&amp;nbsp; &amp;nbsp;//wait for command completion&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DSPI_3.SR.R = 0x00800000;&amp;nbsp;&amp;nbsp; &amp;nbsp;//and clear the flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit command with CONT bit set&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(&amp;amp;DSPI_3.PUSHR.PUSHR.R)&amp;nbsp; = 0x8001;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x3333;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x4444;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(DSPI_3.SR.B.CMDTCF == 0);&amp;nbsp;&amp;nbsp; &amp;nbsp;//wait for command completion&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DSPI_3.SR.R = 0x00800000;&amp;nbsp;&amp;nbsp; &amp;nbsp;//and clear the flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit command with CONT bit cleared&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(&amp;amp;DSPI_3.PUSHR.PUSHR.R)&amp;nbsp; = 0x0001;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x5555;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;//write 16bit data&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;*(uint16_t*)(((uint32_t)&amp;amp;DSPI_3.PUSHR.PUSHR.R)+2)&amp;nbsp; = 0x6666;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(DSPI_3.SR.B.CMDTCF == 0);&amp;nbsp;&amp;nbsp; &amp;nbsp;//wait for command completion&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;DSPI_3.SR.R = 0x00800000;&amp;nbsp;&amp;nbsp; &amp;nbsp;//and clear the flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code transmits three 32bit words and the chip select is deasserted at the end of transmission as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 09:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890359#M13146</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-17T09:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746 DSPI Extended Frame with continuous peripherial chip selection</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890360#M13147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, I have tried the sequence you mentioned,&amp;nbsp; and it worked perfectly !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2019 15:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746-DSPI-Extended-Frame-with-continuous-peripherial-chip/m-p/890360#M13147</guid>
      <dc:creator>yong_zheng</dc:creator>
      <dc:date>2019-05-18T15:49:49Z</dc:date>
    </item>
  </channel>
</rss>

