<?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: The question of SPI configuration in half duplex mode of KW45 chip in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1713806#M15580</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you mind share what changes did you do?&lt;/P&gt;
&lt;P&gt;And have you tried according to my previous comment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2023 07:26:35 GMT</pubDate>
    <dc:creator>Christine_Li</dc:creator>
    <dc:date>2023-08-30T07:26:35Z</dc:date>
    <item>
      <title>The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1707882#M15505</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Hello !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Recently in debugging the SPI peripheral of the KW45 chip, KW45 as the host, there are three SPI slave devices.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; There is a host that needs to communicate with a half-duplex core and a full-duplex device.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Excuse me: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1、 half duplex mode SPI host how to configure the initial core port port, I configured the mode half duplex communication failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.、There is an SPI that communicates with full-duplex core and duplex device at the same time. How should it be configured? Is the data sent by referring to half-duplex to communicate with full-duplex device?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 00:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1707882#M15505</guid>
      <dc:creator>Taiyi</dc:creator>
      <dc:date>2023-08-21T00:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1709691#M15532</link>
      <description>&lt;P&gt;Hi，&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the SPI configuration and working mode, you can refer to our&amp;nbsp; &lt;SPAN class="fontstyle0"&gt;KW45 Reference Manual,&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;Chapter 48 Low Power Serial Peripheral Interface (LPSPI)&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;And after reading this part, if you still have any question, we can discuss further.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Christine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 08:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1709691#M15532</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-08-23T08:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1710182#M15542</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;I would like to ask if the SPI configuration as follows can work in half duplex mode, output mode and pin configuration?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; Is full duplex compatible with half duplex?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="企业微信截图_16928393077143.png" style="width: 777px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237726i6A9C1F2C4E7CFACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_16928393077143.png" alt="企业微信截图_16928393077143.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 01:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1710182#M15542</guid>
      <dc:creator>Taiyi</dc:creator>
      <dc:date>2023-08-24T01:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1710627#M15546</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please let me know your SDK version and which example are you using?&lt;/P&gt;&lt;P&gt;Where do you find this screenshot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 10:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1710627#M15546</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-08-24T10:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1711235#M15552</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;HI !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="企业微信截图_16929439857935.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238024i0F114675AF9CAEEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_16929439857935.png" alt="企业微信截图_16929439857935.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="企业微信截图_16929439092241.png" style="width: 961px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238025i4DDC91B488824E3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_16929439092241.png" alt="企业微信截图_16929439092241.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="企业微信截图_16929437902677.png" style="width: 337px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238026i89C47EB2FC45B36B/image-size/large?v=v2&amp;amp;px=999" role="button" title="企业微信截图_16929437902677.png" alt="企业微信截图_16929437902677.png" /&gt;&lt;/span&gt;This is the code I ported from the official DEMO "freertos_lpspi", I use the routine "digital_key_car_anchor_freertos" this routine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; We now use our own KW45 circuit board to debug the peripheral SPI chip, which must work in half-duplex mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; But we used this SPI code to debug with the slave, and the communication received data was wrong.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; When communicating with a full-duplex device, data is received and sent normally.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; Therefore, I would like to consult whether I need to modify the underlying configuration of SPI in half-duplex dual-mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 06:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1711235#M15552</guid>
      <dc:creator>Taiyi</dc:creator>
      <dc:date>2023-08-25T06:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1712187#M15562</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please check whether the Master side has masked tx data in half duplex mode(fsl_lpspi.c) and debug according to the configurations in&amp;nbsp;KW45B41Z83.h&lt;/P&gt;
&lt;P&gt;LPSPI_MasterTransferNonBlocking() and&amp;nbsp;&amp;nbsp;LPSPI_MasterTransferBlocking() function.&lt;/P&gt;
&lt;P&gt;/* Mask tx data in half duplex mode */&lt;BR /&gt;if (((temp == LPSPI_CFGR1_PINCFG(kLPSPI_SdiInSdiOut)) || (temp == LPSPI_CFGR1_PINCFG(kLPSPI_SdoInSdoOut))) &amp;amp;&amp;amp;&lt;BR /&gt;(transfer-&amp;gt;txData == NULL))&lt;BR /&gt;{&lt;BR /&gt;stateParams.isTxMask = true;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;/* Mask tx data in half duplex mode since the tx/rx share the same pin, so that the data received from slave is not&lt;BR /&gt;* interfered. */&lt;BR /&gt;if (((temp == LPSPI_CFGR1_PINCFG(kLPSPI_SdiInSdiOut)) || (temp == LPSPI_CFGR1_PINCFG(kLPSPI_SdoInSdoOut))) &amp;amp;&amp;amp;&lt;BR /&gt;(handle-&amp;gt;txData == NULL))&lt;BR /&gt;{&lt;BR /&gt;handle-&amp;gt;isTxMask = true;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#define LPSPI_CFGR1_PINCFG_SHIFT (24U)&lt;BR /&gt;/*! PINCFG - Pin Configuration&lt;BR /&gt;* 0b00..SIN is used for input data; SOUT is used for output data.&lt;BR /&gt;* 0b01..SIN is used for both input and output data. Only half-duplex serial transfers are supported.&lt;BR /&gt;* 0b10..SOUT is used for both input and output data. Only half-duplex serial transfers are supported.&lt;BR /&gt;* 0b11..SOUT is used for input data; SIN is used for output data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 08:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1712187#M15562</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-08-28T08:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1712772#M15567</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;May I ask where the SPI host side configs the half-duplex mode? I have changed the send mask Settings, but it seems that the data can not be sent now.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; Whether the SPI host needs to send 0xFF data when receiving data in half-duplex mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 05:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1712772#M15567</guid>
      <dc:creator>Taiyi</dc:creator>
      <dc:date>2023-08-29T05:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1713806#M15580</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you mind share what changes did you do?&lt;/P&gt;
&lt;P&gt;And have you tried according to my previous comment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 07:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1713806#M15580</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-08-30T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1717567#M15607</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any updates?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 02:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1717567#M15607</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-09-06T02:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1718442#M15611</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314" target="_blank"&gt;@Taiyi&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any updates?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 06:14:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1718442#M15611</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-09-07T06:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1719107#M15615</link>
      <description>&lt;P class=""&gt;Hello, The SPI problem is solved, it is my protocol processing problem.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 00:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1719107#M15615</guid>
      <dc:creator>Taiyi</dc:creator>
      <dc:date>2023-09-08T00:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: The question of SPI configuration in half duplex mode of KW45 chip</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1719173#M15616</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218314"&gt;@Taiyi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;P&gt;Would you mind to share your experience or fix solution details to us?&lt;/P&gt;&lt;P&gt;So that we can learn something from this case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards，&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 02:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/The-question-of-SPI-configuration-in-half-duplex-mode-of-KW45/m-p/1719173#M15616</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-09-08T02:26:32Z</dc:date>
    </item>
  </channel>
</rss>

