<?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>Processor Expert SoftwareのトピックRe: S32K144 spi continue sending problem</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1172338#M4543</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_self"&gt;&lt;SPAN class=""&gt;lukaszadrapa&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I checked su1_SPIwriteDate,&lt;BR /&gt;su1_SPIwriteDate [0]=0x14,&lt;BR /&gt;su1_SPIwriteDate [1]=0x1,&lt;BR /&gt;su1_SPIwriteDate [1] is deliberately fixed to 1, there should be no other place to modify it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Otherwise, I tried to send single byte data twice like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;su2_spiReadState = SPI_MasterTransfer(&amp;amp;spi1Instance, (uint8 *)&amp;amp;su1_SPIwriteDate, (uint8 *)&amp;amp;su2_SPIReadDate, 1);&lt;/P&gt;&lt;P&gt;for(tu2_delay = 0; tu2_delay&amp;lt; 1000; tu2_delay++)&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;su2_spiReadState = SPI_MasterTransfer(&amp;amp;spi1Instance, &amp;amp;su1_SPIwriteDate[1], su2_SPIReadDate, 1);&lt;BR /&gt;for(tu2_delay = 0; tu2_delay&amp;lt; 1000; tu2_delay++)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;As a result, the su1_SPIwriteDate[1] sent for the second time was sent correctly, but the first signal&amp;nbsp;su1_SPIwriteDate[0]&amp;nbsp; was not sent.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 08:53:06 GMT</pubDate>
    <dc:creator>fengc</dc:creator>
    <dc:date>2020-10-23T08:53:06Z</dc:date>
    <item>
      <title>S32K144 spi continue sending problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1171523#M4540</link>
      <description>&lt;P&gt;Hello&amp;nbsp;NXP TechSupport&lt;/P&gt;&lt;P&gt;I tried to use the SPI_MasterTransfer function of SPI PAL to send two signals,&amp;nbsp; the first signal was sent out, but the second signal was not sent out.&lt;/P&gt;&lt;P&gt;sending code:&lt;/P&gt;&lt;P&gt;su1_SPIwriteDate[0] = ((WriteAddr &amp;lt;&amp;lt; 1U) &amp;amp; 0xFEU); su1_SPIwriteDate[1] = 1;//*pBuffer; su2_spiReadState = 1; su2_spiReadState = SPI_MasterTransfer(&amp;amp;spi1Instance, su1_SPIwriteDate, su2_SPIReadDate, 2);&lt;/P&gt;&lt;P&gt;init code:&lt;/P&gt;&lt;P&gt;SPI_MasterInit(&amp;amp;spi1Instance, &amp;amp;spi1_MasterConfig0);&lt;/P&gt;&lt;P&gt;config info(generated code (sdk3.0)):&lt;/P&gt;&lt;P&gt;spi_master_t spi1_MasterConfig0 =&lt;BR /&gt;{&lt;BR /&gt;.baudRate = 500000,&lt;BR /&gt;.ssPolarity = SPI_ACTIVE_HIGH,&lt;BR /&gt;.frameSize = 8,&lt;BR /&gt;.clockPhase = READ_ON_ODD_EDGE,&lt;BR /&gt;.clockPolarity = SPI_ACTIVE_HIGH,&lt;BR /&gt;.bitOrder = SPI_TRANSFER_MSB_FIRST,&lt;BR /&gt;.transferType = SPI_USING_INTERRUPTS,&lt;BR /&gt;.rxDMAChannel = 255U,&lt;BR /&gt;.txDMAChannel = 255U,&lt;BR /&gt;.callback = NULL,&lt;BR /&gt;.callbackParam = NULL,&lt;BR /&gt;.ssPin = 0,&lt;BR /&gt;.extension = NULL&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spi_pal config.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127997i7486282F35C6D3F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="spi_pal config.JPG" alt="spi_pal config.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="spi waveform.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127998i31F743D12C79987B/image-size/large?v=v2&amp;amp;px=999" role="button" title="spi waveform.JPG" alt="spi waveform.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help me see where the problem is&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 04:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1171523#M4540</guid>
      <dc:creator>fengc</dc:creator>
      <dc:date>2020-10-22T04:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 spi continue sending problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1171704#M4541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can see that two 8bit frames are clocked out as expected, so I would check memory at su1_SPIwriteDate if it contains expected data.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 08:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1171704#M4541</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-10-22T08:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 spi continue sending problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1172338#M4543</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795" target="_self"&gt;&lt;SPAN class=""&gt;lukaszadrapa&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I checked su1_SPIwriteDate,&lt;BR /&gt;su1_SPIwriteDate [0]=0x14,&lt;BR /&gt;su1_SPIwriteDate [1]=0x1,&lt;BR /&gt;su1_SPIwriteDate [1] is deliberately fixed to 1, there should be no other place to modify it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Otherwise, I tried to send single byte data twice like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;su2_spiReadState = SPI_MasterTransfer(&amp;amp;spi1Instance, (uint8 *)&amp;amp;su1_SPIwriteDate, (uint8 *)&amp;amp;su2_SPIReadDate, 1);&lt;/P&gt;&lt;P&gt;for(tu2_delay = 0; tu2_delay&amp;lt; 1000; tu2_delay++)&lt;BR /&gt;{&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;su2_spiReadState = SPI_MasterTransfer(&amp;amp;spi1Instance, &amp;amp;su1_SPIwriteDate[1], su2_SPIReadDate, 1);&lt;BR /&gt;for(tu2_delay = 0; tu2_delay&amp;lt; 1000; tu2_delay++)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;As a result, the su1_SPIwriteDate[1] sent for the second time was sent correctly, but the first signal&amp;nbsp;su1_SPIwriteDate[0]&amp;nbsp; was not sent.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 08:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1172338#M4543</guid>
      <dc:creator>fengc</dc:creator>
      <dc:date>2020-10-23T08:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 spi continue sending problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1184438#M4558</link>
      <description>&lt;P&gt;Hard to say.&lt;/P&gt;&lt;P&gt;Could you please attach a test project so that I can replicate the issue on my side&lt;A href="https://www.mcd-voicex.com/" target="_self"&gt;?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 10:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/S32K144-spi-continue-sending-problem/m-p/1184438#M4558</guid>
      <dc:creator>tommyshelbyop</dc:creator>
      <dc:date>2020-11-17T10:25:59Z</dc:date>
    </item>
  </channel>
</rss>

