<?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: MPC5777M SPI Pin Configuration issue in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641716#M6385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI to all,&lt;/P&gt;&lt;P&gt;While transmitting 64 bytes of data from slave,last byte was missing.On next transmission i can get the last byte of the previous transmission.So that while starting transmission first byte is zero.is there any settings for clearing the shift register in SPI while initializing the module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 04:37:19 GMT</pubDate>
    <dc:creator>chidambaramvelu</dc:creator>
    <dc:date>2017-01-05T04:37:19Z</dc:date>
    <item>
      <title>MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641711#M6380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried configuring DSPI port 2&amp;nbsp;and 1&amp;nbsp;as master and slave respectively. &amp;nbsp;CS and clocks are generating. MOSI is also generating. We have verified with Oscilloscope. RFDF interrupt also generated. But the slave Rx data register always read as zero. And we tried looping back of MOSI to MISO of master itself. Master Rx data register too read as zero.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please go thru our code. Is there any mistake in SPI Input direction&amp;nbsp;pin assignment?&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Chidambaram.V&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-338312"&gt;spicode.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2016 17:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641711#M6380</guid>
      <dc:creator>chidambaramvelu</dc:creator>
      <dc:date>2016-12-26T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641712#M6381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have used wrong values for SSS fields. I the lines below I have commented out what you have wrong replacing it with values to be in accordance to MPC5777M_cut2_IO_Definition_v1_41_17Feb2015.xlsx:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;/*SPI02 DIN-PL[13]*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;//SIUL2.MSCR_MUX[374].B.SSS=0x8;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIUL2.MSCR_MUX[374].B.SSS=0x2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;/*SPI01 DIN-pf[4]*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;//SIUL2.MSCR_MUX[371].B.SSS=0x3;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIUL2.MSCR_MUX[371].B.SSS=0x2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;/*SPI01 CLK-pf[5]*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;//SIUL2.MSCR_MUX[372].B.SSS=0x2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIUL2.MSCR_MUX[372].B.SSS=0x1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;/* SPI01 CS-ph[14]*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;//SIUL2.MSCR_MUX[373].B.SSS=0x3;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;SIUL2.MSCR_MUX[373].B.SSS=0x2;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 12:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641712#M6381</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2016-12-27T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641713#M6382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="292401" data-username="chidambaramvelusamy" href="https://community.nxp.com/people/chidambaramvelusamy"&gt;chidambaram velusamy&lt;/A&gt; : With your code for spi master, Once the SPI_2 master init completes with halt = 0x0, the sck pin has to generate the oscillations, which is not happening in my board. i used same gpio inits and as per the IO signal table, the SSS values matches with your configurations, could you please share any tips over the issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641713#M6382</guid>
      <dc:creator>sandeepnagaraja</dc:creator>
      <dc:date>2016-12-28T10:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641714#M6383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr. Chidhabaram, We are also facing same problem and we are also writing spi driver code for mpc 5777m ,&amp;nbsp; but for us we are not at all gettting clock, cs and mosi on oscilloscope and my code looks not working . we got your code , but there is no definition for HW_INIT function . Can you please share your complete driver code with All function definition Or at least the HW_INIT function.&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chidambaramvelusamy"&gt;chidambaramvelusamy&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 17:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641714#M6383</guid>
      <dc:creator>sandeepnagaraja</dc:creator>
      <dc:date>2016-12-28T17:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641715#M6384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="1034" data-externalid="" data-online="false" data-presence="null" data-userid="292153" data-username="sandeepnagarajan" href="https://community.nxp.com/people/sandeepnagarajan" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: underline; font-size: 14px;"&gt;Sandeep Nagarajan&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had attached my code with the previous post. Please refer that one. our device was working fine in master mode. but not Slave Mode. We have some issues while transmitting from slave.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 04:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641715#M6384</guid>
      <dc:creator>chidambaramvelu</dc:creator>
      <dc:date>2017-01-05T04:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641716#M6385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI to all,&lt;/P&gt;&lt;P&gt;While transmitting 64 bytes of data from slave,last byte was missing.On next transmission i can get the last byte of the previous transmission.So that while starting transmission first byte is zero.is there any settings for clearing the shift register in SPI while initializing the module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 04:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641716#M6385</guid>
      <dc:creator>chidambaramvelu</dc:creator>
      <dc:date>2017-01-05T04:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641717#M6386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chidambaramvelusamy"&gt;chidambaramvelusamy&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Hi Chidambaram,&lt;/P&gt;&lt;P&gt;1. The TX FIFO in the PUSHR register is of 2 bytes long, so must be transmitting the 64 bytes data splitting each of 2bytes.&lt;/P&gt;&lt;P&gt;2. You could use CLR_TXF control field in MCR control register to flush out the transmit buffer before transmitting new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Regards&lt;/P&gt;&lt;P&gt;Sandeep Nagarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 04:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641717#M6386</guid>
      <dc:creator>sandeepnagaraja</dc:creator>
      <dc:date>2017-01-06T04:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777M SPI Pin Configuration issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641718#M6387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have been noticed my comment here is wrong. Please ignore it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Original configuration is correct. I am sorry for confusing you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 07:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777M-SPI-Pin-Configuration-issue/m-p/641718#M6387</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-01-18T07:35:19Z</dc:date>
    </item>
  </channel>
</rss>

