<?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>MCUXpresso GeneralのトピックRT1052 to do LPSPI operations sent data faile</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752954#M391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; all&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I use RT1052 to do LPSPI operations, send data directly after initialization but I can't see spi data with logic analyzer. Here is my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lpspi_master_config_t masterConfig;&lt;BR /&gt; uint32_t srcClock_Hz;&lt;BR /&gt; lpspi_transfer_t masterXfer;&lt;BR /&gt; uint8_t fingertech_txData[8]={0xaa};&lt;BR /&gt; &lt;BR /&gt; masterConfig.baudRate = (100000U);&lt;BR /&gt; masterConfig.bitsPerFrame = 8;&lt;BR /&gt; masterConfig.cpol = kLPSPI_ClockPolarityActiveHigh;&lt;BR /&gt; masterConfig.cpha = kLPSPI_ClockPhaseFirstEdge;&lt;BR /&gt; masterConfig.direction = kLPSPI_MsbFirst;&lt;/P&gt;&lt;P&gt;masterConfig.pcsToSckDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;BR /&gt; masterConfig.lastSckToPcsDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;BR /&gt; masterConfig.betweenTransferDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;/P&gt;&lt;P&gt;masterConfig.whichPcs = kLPSPI_Pcs0; //Ê¹ÓÃÆ¬Ñ¡0&lt;BR /&gt; masterConfig.pcsActiveHighOrLow = kLPSPI_PcsActiveLow;//0±íÊ¾Ñ¡ÖÐ&lt;/P&gt;&lt;P&gt;masterConfig.pinCfg = kLPSPI_SdiInSdoOut;&lt;BR /&gt; masterConfig.dataOutConfig = kLpspiDataOutRetained;&lt;BR /&gt; &lt;BR /&gt; srcClock_Hz = LPSPI_MASTER_CLK_FREQ;&lt;BR /&gt; LPSPI_MasterInit(LPSPI1, &amp;amp;masterConfig, srcClock_Hz);&lt;BR /&gt; LPSPI_Enable(LPSPI1,true);&lt;BR /&gt; LPSPI_WriteData(LPSPI1,0x55);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2018 09:55:12 GMT</pubDate>
    <dc:creator>wandongli</dc:creator>
    <dc:date>2018-06-05T09:55:12Z</dc:date>
    <item>
      <title>RT1052 to do LPSPI operations sent data faile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752954#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; all&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I use RT1052 to do LPSPI operations, send data directly after initialization but I can't see spi data with logic analyzer. Here is my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lpspi_master_config_t masterConfig;&lt;BR /&gt; uint32_t srcClock_Hz;&lt;BR /&gt; lpspi_transfer_t masterXfer;&lt;BR /&gt; uint8_t fingertech_txData[8]={0xaa};&lt;BR /&gt; &lt;BR /&gt; masterConfig.baudRate = (100000U);&lt;BR /&gt; masterConfig.bitsPerFrame = 8;&lt;BR /&gt; masterConfig.cpol = kLPSPI_ClockPolarityActiveHigh;&lt;BR /&gt; masterConfig.cpha = kLPSPI_ClockPhaseFirstEdge;&lt;BR /&gt; masterConfig.direction = kLPSPI_MsbFirst;&lt;/P&gt;&lt;P&gt;masterConfig.pcsToSckDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;BR /&gt; masterConfig.lastSckToPcsDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;BR /&gt; masterConfig.betweenTransferDelayInNanoSec = 1000000000 / masterConfig.baudRate;&lt;/P&gt;&lt;P&gt;masterConfig.whichPcs = kLPSPI_Pcs0; //Ê¹ÓÃÆ¬Ñ¡0&lt;BR /&gt; masterConfig.pcsActiveHighOrLow = kLPSPI_PcsActiveLow;//0±íÊ¾Ñ¡ÖÐ&lt;/P&gt;&lt;P&gt;masterConfig.pinCfg = kLPSPI_SdiInSdoOut;&lt;BR /&gt; masterConfig.dataOutConfig = kLpspiDataOutRetained;&lt;BR /&gt; &lt;BR /&gt; srcClock_Hz = LPSPI_MASTER_CLK_FREQ;&lt;BR /&gt; LPSPI_MasterInit(LPSPI1, &amp;amp;masterConfig, srcClock_Hz);&lt;BR /&gt; LPSPI_Enable(LPSPI1,true);&lt;BR /&gt; LPSPI_WriteData(LPSPI1,0x55);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 09:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752954#M391</guid>
      <dc:creator>wandongli</dc:creator>
      <dc:date>2018-06-05T09:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 to do LPSPI operations sent data faile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752955#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the SDK, there is driver example for lpspi.&lt;/P&gt;&lt;P&gt;SDK_2.3.1_MIMXRT1052\boards\evkbimxrt1050\driver_examples\lpspi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to run the example first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 01:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752955#M392</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2018-06-07T01:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: RT1052 to do LPSPI operations sent data faile</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752956#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your support, it is actually my hardware problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 02:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/RT1052-to-do-LPSPI-operations-sent-data-faile/m-p/752956#M393</guid>
      <dc:creator>wandongli</dc:creator>
      <dc:date>2018-06-07T02:02:27Z</dc:date>
    </item>
  </channel>
</rss>

