<?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: SPI slave cannot be update response data in PSC continues to be LOW.(K22f)) in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/SPI-slave-cannot-be-update-response-data-in-PSC-continues-to-be/m-p/899498#M13302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you use a oscilloscope to see the SPI waveform? You set the slave MCR 0x6003000. That means PCSS is used and all inactive state of PCSx is high. This setting is different with master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2019 08:36:40 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2019-05-23T08:36:40Z</dc:date>
    <item>
      <title>SPI slave cannot be update response data in PSC continues to be LOW.(K22f))</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SPI-slave-cannot-be-update-response-data-in-PSC-continues-to-be/m-p/899497#M13301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why does Slave need to switch PSC to update data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPI Master/Slave device is MK22FN512xxx12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master need to send cmd(1Byte) and dummy(1Byte) in PSC continues to be LOW.&lt;BR /&gt;Master send cmd, and Slave receives cmd, It will prapare the data for master. (PUSHR_SLAVE = slave_data)&lt;BR /&gt;Master send dummy, Slave sent wrong data to master.&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;Step 1.&lt;BR /&gt;SPI_Master send : cmd (0x30), dummy(0x00) &lt;BR /&gt;SPI_Slave write data: data (0x05), None. &lt;BR /&gt;Result:&lt;BR /&gt;Master send dummy to receive data : 0x00&lt;/P&gt;&lt;P&gt;Step 2.&lt;BR /&gt;SPI_Master send : cmd (0x30), dummy(0x00)&lt;BR /&gt;SPI_Slave write data: data (0x08), None.&lt;BR /&gt;Result:&lt;BR /&gt;Master send dummy to receive data : 0x05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slave hardware set:&lt;BR /&gt;MCR: 0x6003000&lt;BR /&gt;CTAR_SLAVE: 0x38000000&lt;BR /&gt;RSER: 0x20000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Master hardware set:&lt;BR /&gt;MCR: 0x84010001&lt;BR /&gt;CTAR: 0x38006666&lt;BR /&gt;RSER: 0x20000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2019 03:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SPI-slave-cannot-be-update-response-data-in-PSC-continues-to-be/m-p/899497#M13301</guid>
      <dc:creator>jimhuang2</dc:creator>
      <dc:date>2019-05-20T03:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: SPI slave cannot be update response data in PSC continues to be LOW.(K22f))</title>
      <link>https://community.nxp.com/t5/MPC5xxx/SPI-slave-cannot-be-update-response-data-in-PSC-continues-to-be/m-p/899498#M13302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you use a oscilloscope to see the SPI waveform? You set the slave MCR 0x6003000. That means PCSS is used and all inactive state of PCSx is high. This setting is different with master.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 08:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/SPI-slave-cannot-be-update-response-data-in-PSC-continues-to-be/m-p/899498#M13302</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-05-23T08:36:40Z</dc:date>
    </item>
  </channel>
</rss>

