<?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 SPI can't receive data normally in S32K</title>
    <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2302978#M56453</link>
    <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;In my project, I use spi as slave to receive data(Interrupt mode).when I use SPI_0, every thing goes well,I can receive data normally.However when I use SPI_1 and SPI_3,I can't receive normally, but the callback shows spi data transfer end.&lt;SPAN&gt; I have checked the SPI configuration across these cases, no issues were found. Can someone help me,thank you. MY code is attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spi_1 configuration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_4-1769685270126.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374800i9370E191840CC338/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_4-1769685270126.png" alt="chris_010_4-1769685270126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_3-1769685240837.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374799iB5061844BC147EE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_3-1769685240837.png" alt="chris_010_3-1769685240837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_2-1769685220598.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374798i74170B12D148BA05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_2-1769685220598.png" alt="chris_010_2-1769685220598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Lpspi_Ip_AsyncTransmit&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;SLAVE_EXTERNAL_DEVICE_1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Spi_0_TxSlaveBuffer&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Spi_0_RxSlaveBuffer&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;lpspi_callback_int&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_1-1769684048151.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374797iD5452CDB0F76EF29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_1-1769684048151.png" alt="chris_010_1-1769684048151.png" /&gt;&lt;/span&gt;&lt;P&gt;when master transmit data,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;miso_received_flag&amp;nbsp;&amp;nbsp;is successfully set to 1(the flag is set to 0 before master send data).&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Jan 2026 11:16:57 GMT</pubDate>
    <dc:creator>chris_010</dc:creator>
    <dc:date>2026-01-29T11:16:57Z</dc:date>
    <item>
      <title>SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2302978#M56453</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;In my project, I use spi as slave to receive data(Interrupt mode).when I use SPI_0, every thing goes well,I can receive data normally.However when I use SPI_1 and SPI_3,I can't receive normally, but the callback shows spi data transfer end.&lt;SPAN&gt; I have checked the SPI configuration across these cases, no issues were found. Can someone help me,thank you. MY code is attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;spi_1 configuration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_4-1769685270126.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374800i9370E191840CC338/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_4-1769685270126.png" alt="chris_010_4-1769685270126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_3-1769685240837.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374799iB5061844BC147EE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_3-1769685240837.png" alt="chris_010_3-1769685240837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_2-1769685220598.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374798i74170B12D148BA05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_2-1769685220598.png" alt="chris_010_2-1769685220598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Lpspi_Ip_AsyncTransmit&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;SLAVE_EXTERNAL_DEVICE_1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Spi_0_TxSlaveBuffer&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Spi_0_RxSlaveBuffer&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;lpspi_callback_int&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chris_010_1-1769684048151.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/374797iD5452CDB0F76EF29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chris_010_1-1769684048151.png" alt="chris_010_1-1769684048151.png" /&gt;&lt;/span&gt;&lt;P&gt;when master transmit data,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;miso_received_flag&amp;nbsp;&amp;nbsp;is successfully set to 1(the flag is set to 0 before master send data).&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Jan 2026 11:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2302978#M56453</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-01-29T11:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2303244#M56469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257019"&gt;@chris_010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The configuration looks correct. A few things to double‑check:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Are you using an EVB or a custom board?&lt;/LI&gt;
&lt;LI&gt;Is the interrupt configured and enabled properly for that SPI instance?&lt;/LI&gt;
&lt;LI&gt;Have you tried using different pins?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 21:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2303244#M56469</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-01-29T21:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2303354#M56478</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;VaneB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1、I use a custom board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2、The interrupt is configured. Besides,&amp;nbsp; the callback function will not be executed if the interrupt is not registered, will it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3、I have tried the other pins，It didn't work well either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think there might be something wrong. I attach my code, could you help me to check,thanks&amp;nbsp; a lot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 03:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2303354#M56478</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-01-30T03:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2312173#M56597</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257019"&gt;@chris_010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are working with a custom board, I want to make sure that there are no hardware‑related issues affecting the behavior you are observing.&lt;/P&gt;
&lt;P&gt;If possible, please create a new project from scratch and use the attached .mex file and main.c file to test the behavior on your side. The provided code configures LPSPI1 and LPSPI3 as masters and performs a synchronous transmission using a hardware loopback configuration (SOUT connected to SIN on the same LPSPI instance). The example then compares the received data with the transmitted data to verify correct operation.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/EM&gt; I tested this same code on an S32K312MINI‑EVB. Due to the EVB’s hardware design, I had to reassign some of the pins, so small differences in pin configuration may exist compared to your custom board.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2026 20:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2312173#M56597</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-02-04T20:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313006#M56627</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have done the test as you said. LPSPI_1 and LPSPI_3 worked well, the rx_buffer changed as expected. However in my project,LPSPI_1 and LPSPI_3 didn't work well, only LPSPI_0 worked, even though I tried to use them as the same way.&lt;/P&gt;&lt;P&gt;What may be the cause,Could you please help me figure out what the possible causes are? My code is not lengthy, and I have added detailed comments throughout the project. In my project, LPSPI is configured as a slave to receive data sent by peripheral devices and verify the received data.I would greatly appreciate your assistance with this matter.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 14:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313006#M56627</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-02-05T14:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313176#M56635</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257019"&gt;@chris_010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for performing the tests. This confirms that the issue is not hardware-related.&lt;/P&gt;
&lt;P&gt;Since the same code works correctly on LPSPI0 but not on the other instance, let's verify whether Lpspi_Ip_IrqHandler is being called by the corresponding LPSPI ISR.&lt;/P&gt;
&lt;P&gt;This is important because Lpspi_Ip_IrqHandler is responsible for processing the interrupt flags TDF, RDF, REF, and TEF.&lt;/P&gt;
&lt;P&gt;When working in interrupt mode, this is one of the best checks you can perform.&lt;BR /&gt;If the handler is not being called:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RDF (RX) interrupts won't be serviced&lt;/LI&gt;
&lt;LI&gt;TDF (TX) interrupts won't trigger data loading&lt;/LI&gt;
&lt;LI&gt;Error flags may occur without being handled&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 05 Feb 2026 19:36:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313176#M56635</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-02-05T19:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313835#M56648</link>
      <description>&lt;P&gt;hi, VaneB&lt;/P&gt;&lt;P&gt;Thanks to your suggestions,  I have identified several discrepancies in the SPI Interrupt Status Register, which are illustrated in the following three figures.&lt;/P&gt;&lt;P&gt;First, let me explain the usage of SPI_0 and SPI_1 in the project: both work as slaves receiving data from the same master. Please note that only two lines are used: SCLK and MOSI. Because the slaves only need to receive data. If needed, I can connect the MISO line,but due to hardware limitations, there’s no CS line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;init all pins, SPI SR status like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20260206195406.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375890iF14304E981272789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="20260206195406.png" alt="20260206195406.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then,&amp;nbsp;invoking the two functions, the status registers is as shown in below the figure.&lt;/P&gt;&lt;P&gt;Lpspi_Ip_AsyncTransmit(&amp;amp;SLAVE_EXTERNAL_DEVICE_1, IO1_MCU_Tx_Buffer, IO1_MCU_Rx_Buffer, 54, IO1_spi_callback);&lt;BR /&gt;Lpspi_Ip_AsyncTransmit(&amp;amp;SLAVE_EXTERNAL_DEVICE_2, IO2_MCU_Tx_Buffer, IO2_MCU_Rx_Buffer, 54, IO2_spi_callback);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375891i3329181FAEED1AC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, SPI master send data, after a little moment,&amp;nbsp; SPI_0 and SPI_1&amp;nbsp; SR status as show below,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375892i0269C4BA97442836/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that, TDF of SPI_1 does't update, I don't know the reason.Do you have any suggestions for resolving this issue?&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 14:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313835#M56648</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-02-06T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313993#M56653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257019"&gt;@chris_010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The LPSPI module does support interfacing with external masters that provide only clock and data pins, meaning that PCS is not strictly required at the hardware level. For more details, please refer to Section 70.3.2.4 of the S32K3xx Reference Manual, Rev. 12.&lt;/P&gt;
&lt;P&gt;However, it is important to note that the Lpspi_Ip driver and the SPI driver are not implemented to support this feature directly. These drivers are designed with the expectation that PCS handling is performed either by the peripheral hardware engine or through a GPIO‑based chip‑select. Therefore, if your design requires the PCS input to remain continuously asserted, the application must implement this behavior manually.&lt;/P&gt;
&lt;P&gt;Additionally, since you intend to have both SPI instances active simultaneously and configured with the same IRQ priority, there is a possibility that one slave’s interrupt may be delayed. In such cases, underflow or overflow errors may occur due to late ISR servicing.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 21:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2313993#M56653</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-02-06T21:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2314144#M56657</link>
      <description>&lt;P&gt;hi, VaneB,&lt;/P&gt;&lt;P&gt;Thank you so much for your detailed explanation.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; &amp;nbsp;I have read Reference Manual you mentioned.but I have a confusion: the configuration file is generated by the S32DS tool, and the generated structure is of const&amp;nbsp;type. So how can I modify the registers mentioned in the reference manual? In addition, according to my understanding, the structure is used to initialize the SPI. If the relevant registers are not modified through the aforementioned structure, should I modify the relevant registers after the init process? Are there any relevant examples or interfaces?&lt;/P&gt;&lt;P&gt;Lpspi_Ip_Init(&amp;amp;Lpspi_Ip_PhyUnitConfig_SpiPhyUnit_1_Instance_3);&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375968i11C12D6E5FD0B721/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375969iC2336BDCC2A86325/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; 2. "&lt;SPAN&gt;Additionally, since you intend to have both SPI instances active simultaneously and configured with the same IRQ priority, there is a possibility that one slave’s interrupt may be delayed. In such cases, underflow or overflow errors may occur due to late ISR servicing.&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;====In my project, we won’t actually use two SPI ports to receive data simultaneously like this. Previously, when using SPI_0 for data reception, everything appeared to work normally, but after switching to SPI_1, data reception failed to function properly, even though the configuration and usage methods of the two SPI ports are identical. That’s why I’m testing both SPI ports to receive data at the same time for comparison and observation. Since our company has already produced a large number of PCB boards, I have no choice but to use SPI_1 instead of the original SPI_0—this is why I’m really in a rush to resolve this issue. Additionally, it seems there is a significant time difference between our regions. Does your company have Chinese colleagues who are familiar with SPI communication? Could you please help introduce one to me? Thank you very much.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 07 Feb 2026 14:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2314144#M56657</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-02-07T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2314854#M56692</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257019"&gt;@chris_010&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CFGR1[PCSPOLn] can be configured through the Peripherals tool in Lpspi driver by modifying the SpiCsIdentifier parameter.&lt;/P&gt;
&lt;P&gt;However, CFGR1[AUTOPCS] cannot be configured in ConfigTools. To enable it, you must manually update the generated SPI initialization structure. Add LPSPI_CFGR1_AUTOPCS(1) to the CFGR1 assignment in the SPI controller SpiPhyUnit configuration, for example:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;(uint32)(LPSPI_CFGR1_PINCFG(0U) | LPSPI_CFGR1_PCSPOL(1U) | LPSPI_CFGR1_MASTER(1U) | LPSPI_CFGR1_AUTOPCS(1) | LPSPI_CFGR1_SAMPLE(0U)),&lt;/LI-CODE&gt;
&lt;P&gt;Please note that since you are modifying generated files, any update made in ConfigTools will overwrite your changes. You will need to re‑apply this modification after regenerating the code.&lt;/P&gt;
&lt;P&gt;If you require more extensive support, please contact your NXP representative or your local distributor (&lt;A href="https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS" target="_blank" rel="noopener"&gt;Distributor Network | NXP Semiconductors&lt;/A&gt;). You may also submit a support ticket. Be sure to use your company email address when contacting NXP so we can prioritize your request accordingly.&lt;/P&gt;
&lt;P&gt;Thank you for your understanding&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 17:20:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2314854#M56692</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2026-02-09T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: SPI can't receive data normally</title>
      <link>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2316143#M56738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you so much for your support and advice.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 08:37:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/SPI-can-t-receive-data-normally/m-p/2316143#M56738</guid>
      <dc:creator>chris_010</dc:creator>
      <dc:date>2026-02-11T08:37:40Z</dc:date>
    </item>
  </channel>
</rss>

