<?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 does not work when initializing multiple chip select pins in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1309594#M15346</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;After having a brief review of the code, I don't find something wrong actually.&lt;BR /&gt;So I was wondering if you can upload the whole demo project, as I'd like to try to test with it.&lt;BR /&gt;BTW, I'm not very clear about the phenomenon you described above "it gets stuck trying to finish the transfer, even if I am only using one of the handler.", whether you can introduce it in more detail.&lt;BR /&gt;Looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 06:32:16 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2021-07-19T06:32:16Z</dc:date>
    <item>
      <title>SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1306473#M15235</link>
      <description>&lt;P&gt;I used freertos_lpspi_b2b_master example code to implement the SPI into my project. When I try to initialize 3 different handlers for 3 different chip select pin for LPSI1, it gets stuck trying to finish the transfer, even if I am only using one of the handler. The problem does not persist if I initialize one handler only. It happens soon as I initialize more than one handler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 02:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1306473#M15235</guid>
      <dc:creator>VolcanicCheese</dc:creator>
      <dc:date>2021-07-13T02:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1306774#M15250</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;I think I need more information, so I was wondering if you can introduce the testing process, such as code modification, board, issue, etc.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 09:13:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1306774#M15250</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-07-13T09:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1309323#M15328</link>
      <description>&lt;P&gt;So I first test out using the project with one handler to my project and that worked fine without issue. It only became an issue once I initialized multiple handlers. The only time problem arises when multiple handlers are initialize. Everything else works fine. This is my code below:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/***********************************************************************************************************************&lt;BR /&gt;* Included files&lt;BR /&gt;**********************************************************************************************************************/&lt;BR /&gt;#include &amp;lt;peripherals.h&amp;gt;&lt;/P&gt;&lt;P&gt;/* Freescale includes. */&lt;BR /&gt;#include "fsl_device_registers.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;#include "board.h"&lt;BR /&gt;#include "fsl_gpt.h"&lt;BR /&gt;#include "pin_mux.h"&lt;BR /&gt;#include "clock_config.h"&lt;BR /&gt;#include "fsl_lpspi.h"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*&lt;BR /&gt;*&lt;BR /&gt;* SPI 1&lt;BR /&gt;*&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#define TRANSFER_SIZE (512U) /*! Transfer dataSize.*/&lt;BR /&gt;#define TRANSFER_BAUDRATE (500000UL) /*! Transfer baudrate - 500k */&lt;BR /&gt;#define LPSPI_CLOCK_SOURCE_SELECT (1U)&lt;BR /&gt;#define LPSPI_CLOCK_SOURCE_DIVIDER (7U)&lt;BR /&gt;#define LPSPI_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllPfd0Clk) / (LPSPI_CLOCK_SOURCE_DIVIDER + 1U))&lt;/P&gt;&lt;P&gt;//#define LPSPI_MASTER_PCS_FOR_INIT (kLPSPI_Pcs3)&lt;BR /&gt;//#define LPSPI_MASTER_PCS_FOR_TRANSFER (kLPSPI_MasterPcs3)&lt;/P&gt;&lt;P&gt;uint8_t masterReceiveBuffer[TRANSFER_SIZE] = {0};&lt;BR /&gt;uint8_t masterSendBuffer[TRANSFER_SIZE] = {0};&lt;BR /&gt;uint8_t slaveSendBuffer[TRANSFER_SIZE] = {0};&lt;/P&gt;&lt;P&gt;lpspi_rtos_handle_t spi_m_rwa1_handle;&lt;BR /&gt;lpspi_rtos_handle_t spi_m_rwa2_handle;&lt;BR /&gt;lpspi_rtos_handle_t spi_m_rwa3_handle;&lt;/P&gt;&lt;P&gt;lpspi_master_config_t spi_master_rwa1_config;&lt;BR /&gt;lpspi_master_config_t spi_master_rwa2_config;&lt;BR /&gt;lpspi_master_config_t spi_master_rwa3_config;&lt;/P&gt;&lt;P&gt;static void LPSPI1_RWA1_init(void) {&lt;/P&gt;&lt;P&gt;LPSPI_MasterGetDefaultConfig(&amp;amp;spi_master_rwa1_config);&lt;/P&gt;&lt;P&gt;spi_master_rwa1_config.baudRate = TRANSFER_BAUDRATE;&lt;BR /&gt;spi_master_rwa1_config.bitsPerFrame = 8U;&lt;BR /&gt;spi_master_rwa1_config.cpol = kLPSPI_ClockPolarityActiveHigh;&lt;BR /&gt;spi_master_rwa1_config.cpha = kLPSPI_ClockPhaseFirstEdge;&lt;BR /&gt;spi_master_rwa1_config.direction = kLPSPI_MsbFirst;&lt;BR /&gt;spi_master_rwa1_config.pcsToSckDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa1_config.lastSckToPcsDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa1_config.betweenTransferDelayInNanoSec = 1000U;&lt;BR /&gt;#if DEV_BOARD&lt;BR /&gt;spi_master_rwa1_config.whichPcs = kLPSPI_Pcs3;&lt;BR /&gt;#else&lt;BR /&gt;spi_master_rwa1_config.whichPcs = kLPSPI_Pcs3;&lt;BR /&gt;#endif&lt;BR /&gt;spi_master_rwa1_config.pcsActiveHighOrLow = kLPSPI_PcsActiveLow;&lt;BR /&gt;spi_master_rwa1_config.pinCfg = kLPSPI_SdiInSdoOut;&lt;BR /&gt;spi_master_rwa1_config.dataOutConfig = kLpspiDataOutRetained;&lt;/P&gt;&lt;P&gt;uint32_t sourceClock;&lt;/P&gt;&lt;P&gt;sourceClock = LPSPI_CLOCK_FREQ;&lt;BR /&gt;if(kStatus_Success != LPSPI_RTOS_Init(&amp;amp;spi_m_rwa1_handle, LPSPI1, &amp;amp;spi_master_rwa1_config, sourceClock)) {&lt;BR /&gt;PRINTF("SPI Master initialization failed! \r\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#if !DEV_BOARD&lt;BR /&gt;static void LPSPI1_RWA2_init(void) {&lt;/P&gt;&lt;P&gt;LPSPI_MasterGetDefaultConfig(&amp;amp;spi_master_rwa2_config);&lt;/P&gt;&lt;P&gt;spi_master_rwa2_config.baudRate = TRANSFER_BAUDRATE;&lt;BR /&gt;spi_master_rwa2_config.bitsPerFrame = 8U;&lt;BR /&gt;spi_master_rwa2_config.cpol = kLPSPI_ClockPolarityActiveHigh;&lt;BR /&gt;spi_master_rwa2_config.cpha = kLPSPI_ClockPhaseFirstEdge;&lt;BR /&gt;spi_master_rwa2_config.direction = kLPSPI_MsbFirst;&lt;BR /&gt;spi_master_rwa2_config.pcsToSckDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa2_config.lastSckToPcsDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa2_config.betweenTransferDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa2_config.whichPcs = kLPSPI_Pcs1; //TODO: Replace with RWA2 chip select!&lt;BR /&gt;spi_master_rwa2_config.pcsActiveHighOrLow = kLPSPI_PcsActiveLow;&lt;BR /&gt;spi_master_rwa2_config.pinCfg = kLPSPI_SdiInSdoOut;&lt;BR /&gt;spi_master_rwa2_config.dataOutConfig = kLpspiDataOutRetained;&lt;/P&gt;&lt;P&gt;uint32_t sourceClock;&lt;/P&gt;&lt;P&gt;sourceClock = LPSPI_CLOCK_FREQ;&lt;BR /&gt;if(kStatus_Success != LPSPI_RTOS_Init(&amp;amp;spi_m_rwa2_handle, LPSPI1, &amp;amp;spi_master_rwa2_config, sourceClock)) {&lt;BR /&gt;PRINTF("SPI Master initialization failed! \r\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;static void LPSPI1_RWA3_init(void) {&lt;/P&gt;&lt;P&gt;LPSPI_MasterGetDefaultConfig(&amp;amp;spi_master_rwa3_config);&lt;/P&gt;&lt;P&gt;spi_master_rwa3_config.baudRate = TRANSFER_BAUDRATE;&lt;BR /&gt;spi_master_rwa3_config.bitsPerFrame = 8U;&lt;BR /&gt;spi_master_rwa3_config.cpol = kLPSPI_ClockPolarityActiveHigh;&lt;BR /&gt;spi_master_rwa3_config.cpha = kLPSPI_ClockPhaseFirstEdge;&lt;BR /&gt;spi_master_rwa3_config.direction = kLPSPI_MsbFirst;&lt;BR /&gt;spi_master_rwa3_config.pcsToSckDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa3_config.lastSckToPcsDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa3_config.betweenTransferDelayInNanoSec = 1000U;&lt;BR /&gt;spi_master_rwa3_config.whichPcs = kLPSPI_Pcs2;; //TODO: Replace with RWA3 chip select!&lt;BR /&gt;spi_master_rwa3_config.pcsActiveHighOrLow = kLPSPI_PcsActiveLow;&lt;BR /&gt;spi_master_rwa3_config.pinCfg = kLPSPI_SdiInSdoOut;&lt;BR /&gt;spi_master_rwa3_config.dataOutConfig = kLpspiDataOutRetained;&lt;/P&gt;&lt;P&gt;uint32_t sourceClock;&lt;/P&gt;&lt;P&gt;sourceClock = LPSPI_CLOCK_FREQ;&lt;BR /&gt;if(kStatus_Success != LPSPI_RTOS_Init(&amp;amp;spi_m_rwa3_handle, LPSPI1, &amp;amp;spi_master_rwa3_config, sourceClock)) {&lt;BR /&gt;PRINTF("SPI Master initialization failed! \r\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;//SPI transfer lpspi_master_config_t config&lt;BR /&gt;void SPI_transfer(lpspi_rtos_handle_t * handler, lpspi_master_config_t * config, uint8_t * txBuffer, uint8_t * rxBuffer, size_t transferSize)&lt;BR /&gt;#endif&lt;BR /&gt;{&lt;BR /&gt;lpspi_transfer_t masterXfer;&lt;BR /&gt;status_t status;&lt;/P&gt;&lt;P&gt;//Start master transfer&lt;BR /&gt;masterXfer.txData = txBuffer;&lt;BR /&gt;masterXfer.rxData = rxBuffer;&lt;BR /&gt;masterXfer.dataSize = transferSize;&lt;BR /&gt;masterXfer.configFlags = config-&amp;gt;whichPcs &amp;lt;&amp;lt; LPSPI_MASTER_PCS_SHIFT | kLPSPI_MasterPcsContinuous | kLPSPI_SlaveByteSwap;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;if (status == kStatus_Success)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("LPSPI master transfer completed successfully.\r\n");&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;PRINTF("LPSPI master transfer completed with error.\r\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#if SPI_TEST&lt;BR /&gt;uint32_t errorCount;&lt;BR /&gt;uint32_t i;&lt;/P&gt;&lt;P&gt;PRINTF("EXPECTED: \n");&lt;BR /&gt;for (i = 0; i &amp;lt; 16; i++)&lt;BR /&gt;{&lt;BR /&gt;/* Print 16 numbers in a line */&lt;BR /&gt;if ((i % 0x08U) == 0U)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("\r\n");&lt;BR /&gt;}&lt;BR /&gt;PRINTF(" %02X", slaveSendBuffer[i]);&lt;BR /&gt;}&lt;BR /&gt;PRINTF("\r\n");&lt;/P&gt;&lt;P&gt;PRINTF("RECEIVED: \n");&lt;/P&gt;&lt;P&gt;for (i = 0; i &amp;lt; 16; i++)&lt;BR /&gt;{&lt;BR /&gt;/* Print 16 numbers in a line */&lt;BR /&gt;if ((i % 0x08U) == 0U)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("\r\n");&lt;BR /&gt;}&lt;BR /&gt;PRINTF(" %02X", masterReceiveBuffer[i]);&lt;BR /&gt;}&lt;BR /&gt;PRINTF("\r\n");&lt;/P&gt;&lt;P&gt;errorCount = 0;&lt;BR /&gt;for (i = 0; i &amp;lt; 15; i++)&lt;BR /&gt;{&lt;BR /&gt;if (slaveSendBuffer[i] != masterReceiveBuffer[i+1])&lt;BR /&gt;{&lt;BR /&gt;errorCount++;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (errorCount == 0)&lt;BR /&gt;{&lt;BR /&gt;PRINTF("LPSPI transfer all data matched !\r\n");&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;PRINTF("Error occurred in LPSPI transfer !\r\n");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/***********************************************************************************************************************&lt;BR /&gt;* Initialization functions&lt;BR /&gt;**********************************************************************************************************************/&lt;BR /&gt;void BOARD_InitPeripherals(void)&lt;BR /&gt;{&lt;BR /&gt;/*Set clock source for LPSPI*/&lt;BR /&gt;CLOCK_SetMux(kCLOCK_LpspiMux, LPSPI_CLOCK_SOURCE_SELECT);&lt;BR /&gt;CLOCK_SetDiv(kCLOCK_LpspiDiv, LPSPI_CLOCK_SOURCE_DIVIDER);&lt;/P&gt;&lt;P&gt;NVIC_SetPriority(LPSPI1_IRQn, 3);&lt;/P&gt;&lt;P&gt;/* Initialize data in transfer buffers */&lt;BR /&gt;for (int i = 0; i &amp;lt; TRANSFER_SIZE; i++)&lt;BR /&gt;{&lt;BR /&gt;masterSendBuffer[i] = i % 256;&lt;/P&gt;&lt;P&gt;slaveSendBuffer[i] = ~masterSendBuffer[i];//checks match with slave response&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;LPSPI1_RWA1_init();&lt;BR /&gt;LPSPI1_RWA3_init();&lt;BR /&gt;LPSPI1_RWA2_init();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 03:28:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1309323#M15328</guid>
      <dc:creator>VolcanicCheese</dc:creator>
      <dc:date>2021-07-17T03:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1309594#M15346</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;After having a brief review of the code, I don't find something wrong actually.&lt;BR /&gt;So I was wondering if you can upload the whole demo project, as I'd like to try to test with it.&lt;BR /&gt;BTW, I'm not very clear about the phenomenon you described above "it gets stuck trying to finish the transfer, even if I am only using one of the handler.", whether you can introduce it in more detail.&lt;BR /&gt;Looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 06:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1309594#M15346</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-07-19T06:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1311617#M15414</link>
      <description>&lt;P&gt;When I try to init multiple chip select the SPI transfer seems to fail. This is the code below. Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 00:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1311617#M15414</guid>
      <dc:creator>VolcanicCheese</dc:creator>
      <dc:date>2021-07-22T00:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPI does not work when initializing multiple chip select pins</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1311833#M15421</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Please try the modified the master_task function.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;static void master_task(void *pvParameters)
{
    LPSPI1_init();
    SPI_transfer(&amp;amp;spi1_handle, &amp;amp;spi1_config, masterSendBuffer, masterReceiveBuffer, 16);
    LPSPI2_init();
	SPI_transfer(&amp;amp;spi2_handle, &amp;amp;spi2_config, masterSendBuffer, masterReceiveBuffer, 16);
    LPSPI3_init();
	SPI_transfer(&amp;amp;spi3_handle, &amp;amp;spi3_config, masterSendBuffer, masterReceiveBuffer, 16);
    uint32_t errorCount;
    uint32_t i;

    PRINTF("EXPECTED: \n");
    for (i = 0; i &amp;lt; 16; i++)
    	{
    		/* Print 16 numbers in a line */
    		if ((i % 0x08U) == 0U)
    		{
    			PRINTF("\r\n");
    		}
    		PRINTF(" %02X", slaveSendBuffer[i]);
    	}
    	PRINTF("\r\n");

        PRINTF("RECEIVED: \n");

    for (i = 0; i &amp;lt; 16; i++)
	{
		/* Print 16 numbers in a line */
		if ((i % 0x08U) == 0U)
		{
			PRINTF("\r\n");
		}
		PRINTF(" %02X", masterReceiveBuffer[i]);
	}
	PRINTF("\r\n");

    errorCount = 0;
    for (i = 0; i &amp;lt; 16; i++)
    {
        if (slaveSendBuffer[i] != masterReceiveBuffer[i])
        {
            errorCount++;
        }
    }

    if (errorCount == 0)
    {
        PRINTF("LPSPI transfer all data matched !\r\n");
    }
    else
    {
        PRINTF("Error occurred in LPSPI transfer !\r\n");
    }

    vTaskSuspend(NULL);
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 08:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/SPI-does-not-work-when-initializing-multiple-chip-select-pins/m-p/1311833#M15421</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-07-22T08:03:44Z</dc:date>
    </item>
  </channel>
</rss>

