<?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中的主题 Only one register can read data when using MPC5744P</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674845#M7909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 SPI registers in the MPC5744P : SPI0 -SPI4 .When communicating with another chip using master mode , I found that only one SPI register (SPI2) was able to&amp;nbsp;receive and read data from the slave chip .For other 3 registers , correct waveform can be observed by the oscilloscope on the SCK、SDO、SIN and CS&amp;nbsp;pins ,and they have the same&amp;nbsp;SPI timing as SPI2 register , but the received data of these three registers were awlays 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile , SPI2 register has 2 pins of SIN --A[2] and A[13] ,I found that only use A[2] as the SIN can read the received data ,using A[13] has the same problem as described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some&amp;nbsp;specific configuration for specific&amp;nbsp;SPI registers or I missed something when Configure the SPI&amp;nbsp;register? I want to know the reason why in the same configuration, only a SPI&amp;nbsp;register can communicate properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;sincerely.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jun 2017 03:29:57 GMT</pubDate>
    <dc:creator>bruceye</dc:creator>
    <dc:date>2017-06-04T03:29:57Z</dc:date>
    <item>
      <title>Only one register can read data when using MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674845#M7909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 4 SPI registers in the MPC5744P : SPI0 -SPI4 .When communicating with another chip using master mode , I found that only one SPI register (SPI2) was able to&amp;nbsp;receive and read data from the slave chip .For other 3 registers , correct waveform can be observed by the oscilloscope on the SCK、SDO、SIN and CS&amp;nbsp;pins ,and they have the same&amp;nbsp;SPI timing as SPI2 register , but the received data of these three registers were awlays 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meanwhile , SPI2 register has 2 pins of SIN --A[2] and A[13] ,I found that only use A[2] as the SIN can read the received data ,using A[13] has the same problem as described above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some&amp;nbsp;specific configuration for specific&amp;nbsp;SPI registers or I missed something when Configure the SPI&amp;nbsp;register? I want to know the reason why in the same configuration, only a SPI&amp;nbsp;register can communicate properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;sincerely.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 03:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674845#M7909</guid>
      <dc:creator>bruceye</dc:creator>
      <dc:date>2017-06-04T03:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Only one register can read data when using MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674846#M7910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, do you have properly setup particular SIU_IMCR register? IMCR register says how to route signal from particular input buffer to particular module (thus it is input configuration).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19743i3581D62E53E203FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 17:31:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674846#M7910</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-06-05T17:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Only one register can read data when using MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674847#M7911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I&amp;nbsp;am not sure whether &amp;nbsp;I&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;have &amp;nbsp;setup particular SIU_IMCR register&amp;nbsp;properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Taking DSPI_2 SIN for example .&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20273iCDE00F3AB546DB7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;First I use A2 pin as the SIN ,so my&amp;nbsp;program statement is ：SIUL2.IMCR[47].B.SSS = 2; //A2 as SIN of DSPI2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then&amp;nbsp;program works well and I can read the received data.&lt;/P&gt;&lt;P&gt;However ,when I changed to use A13 pin , I changed the statement to :&lt;SPAN&gt;SIUL2.IMCR[47].B.SSS = &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;; //A&lt;/SPAN&gt;&lt;SPAN&gt;13&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;as SIN of DSPI&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I can only receive 0 &amp;nbsp;after debugging.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So did&amp;nbsp;I make some mistakes when change the statement? &amp;nbsp;Could you please tell me where might be my problem ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bruce&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 03:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674847#M7911</guid>
      <dc:creator>bruceye</dc:creator>
      <dc:date>2017-06-06T03:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Only one register can read data when using MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674848#M7912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, do you have enable input buffer for A13 pin (SIUL2_MSCR13[IBE])?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674848#M7912</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2017-06-06T06:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Only one register can read data when using MPC5744P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674849#M7913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your guide, just like you said , I did not enable the input buffer for A13 .Now the SPI works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you agin.&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 02:28:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Only-one-register-can-read-data-when-using-MPC5744P/m-p/674849#M7913</guid>
      <dc:creator>bruceye</dc:creator>
      <dc:date>2017-06-07T02:28:24Z</dc:date>
    </item>
  </channel>
</rss>

