<?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>S32KのトピックRe: MR-CANHUBK344 SPI Setup</title>
    <link>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993910#M43253</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229440"&gt;@sethappleman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem persists, please let me know.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 18:19:48 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2024-11-13T18:19:48Z</dc:date>
    <item>
      <title>MR-CANHUBK344 SPI Setup</title>
      <link>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1992828#M43176</link>
      <description>&lt;P&gt;I have a MR-CANHUBK344. I am using the generic 7-wire JST-GH cable to connect SPI port P1A to P1B so that I can demo the exchange of SPI data locally within the same SW package. P1A and P1B map to modules LPSPI1 and LPSPI2, respectively.&lt;/P&gt;&lt;P&gt;I am configuring the following pins:&lt;/P&gt;&lt;P&gt;GPIO21: LPSPI1_PSC0 (output)&lt;/P&gt;&lt;P&gt;GPIO28: LPSPI1_SCK (output)&lt;/P&gt;&lt;P&gt;GPIO29: LPSPI1_SIN (input)&lt;/P&gt;&lt;P&gt;GPIO30: LPSPI_SOUT (output)&lt;/P&gt;&lt;P&gt;GPIO57: LPSPI2_PSC0 (input)&lt;/P&gt;&lt;P&gt;GPIO59: LPSPI_SOUT (input)&lt;/P&gt;&lt;P&gt;GPIO60: LPSPI_SIN (output)&lt;/P&gt;&lt;P&gt;GPIO61: LPSPI_SCK (input)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To account for the wiring of the cable, in which LPSPI1_SOUT connects to LPSPI2_SOUT, and LPSPI1_SIN connects to LPSPI2_SIN, I set LPSPI2.CFGR1.PINCFG = 3 (SOUT used for input, SIN used for output).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aside from this I am trying to follow the S32 Design studio example as closely as I can (Lpspi_Ip_HalfDuplexTransfer_S32K396). Are there any additional considerations in either SW or HW I need to take into account with the setup I am trying to demonstrate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I am unable to see any data sent from LPSPI1 show up in the RX FIFO of LPSPI2.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 11:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1992828#M43176</guid>
      <dc:creator>sethappleman</dc:creator>
      <dc:date>2024-11-12T11:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: MR-CANHUBK344 SPI Setup</title>
      <link>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993002#M43186</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229440"&gt;@sethappleman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you are working with a four-wire (full duplex) mode by default, SIN is input and SOUT is output. Changing the SIN/SOUT configuration should be done via LPSPI-&amp;gt;CFGR1[PINCFG]; in case of ConfigTools, this configuration should be done in the Lpspi driver under SpiGeneral &amp;gt; SpiPhyUnit &amp;gt; SpiPinConfiguration.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1731433929235.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310076iCACC0DC1757E8EC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1731433929235.png" alt="VaneB_0-1731433929235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, for Lpspi driver configuration, you can refer to the example provided in the following thread, it may be a good reference for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-SPI-Transmit-amp-Receive-Using-DMA-DS3-5-RTD500/ta-p/1992224" target="_blank" rel="noopener"&gt;Example S32K344 SPI Transmit &amp;amp; Receive Using DMA DS3.5 RTD500&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 17:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993002#M43186</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-11-12T17:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: MR-CANHUBK344 SPI Setup</title>
      <link>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993103#M43188</link>
      <description>&lt;P&gt;Thank you I will refer to your link. I failed not mention that while I am using the S32 Design studio project code I referenced as a guide, I am not using the S32 DS tool itself to develop for the MR-CANHUBK344 dev board. The nature of the restrictions on the project on which I am working prevents me from doing so.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 20:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993103#M43188</guid>
      <dc:creator>sethappleman</dc:creator>
      <dc:date>2024-11-12T20:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: MR-CANHUBK344 SPI Setup</title>
      <link>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993910#M43253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229440"&gt;@sethappleman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the problem persists, please let me know.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 18:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MR-CANHUBK344-SPI-Setup/m-p/1993910#M43253</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-11-13T18:19:48Z</dc:date>
    </item>
  </channel>
</rss>

