<?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: KW38 can not communication with NCJ38A by SPI interface in S32G</title>
    <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1897194#M7406</link>
    <description>Hello lfl&lt;BR /&gt;How can I get ncj38a_KW38_**** example project? I cannot find it from SDK 2.6.15&lt;BR /&gt;Thx.</description>
    <pubDate>Tue, 02 Jul 2024 06:18:37 GMT</pubDate>
    <dc:creator>Shure</dc:creator>
    <dc:date>2024-07-02T06:18:37Z</dc:date>
    <item>
      <title>KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1776720#M5554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During usecases debug, I found the KW38 chip board can not communication with NCJ38A by SPI interface. Current the SPI config is using SPI0(0x4002C000u), master mode, clock freq is 500kHz, 8bits/frame, MSB first, blocking transfer data using polling. I check the sending data already in PUSHR, but the reading data is 0xFF. Can you help point it out which SPI parameter configuration is incorrect&amp;nbsp;in KW38 chip board?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .whichCtar &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_Ctar0, // 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .ctarConfig &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .baudRate &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;500000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .bitsPerFrame &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .cpol &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_ClockPolarityActiveHigh, // 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .cpha &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_ClockPhaseFirstEdge,&amp;nbsp; &amp;nbsp;// 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .direction &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_MsbFirst,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .pcsToSckDelayInNanoSec &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .lastSckToPcsDelayInNanoSec &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .betweenTransferDelayInNanoSec &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .whichPcs &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;dspi_which_pcs_t&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .pcsActiveHighOrLow &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_PcsActiveLow,&amp;nbsp; // 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .enableContinuousSCK &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;bool&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .enableRxFifoOverWrite &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;bool&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .enableModifiedTimingFormat &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;bool&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; .samplePoint &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; kDSPI_SckToSin0Clock // 0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Dec 2023 02:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1776720#M5554</guid>
      <dc:creator>lfl</dc:creator>
      <dc:date>2023-12-19T02:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1777277#M5563</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227223"&gt;@lfl&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;Just co confirm, are you using a custom board or is it a &lt;A href="https://www.nxp.com/design/design-center/designs/freedom-development-kit-for-kw39-38-37-mcus:FRDM-KW38" target="_blank"&gt;FRDM-KW38&lt;/A&gt; development board?&lt;/P&gt;
&lt;P&gt;By any chance, is your project based on any of the SPI driver example projects (included in driver_examples &amp;gt; dspi) from the KW38 SDK? If that is not the case, are you using any other demo application from the SDK as base for your development?&lt;/P&gt;
&lt;P&gt;Could you please share your SPI pins initialization/configuration? Also, maybe it would be helpful if you could provide a capture of the data exchange using a logic analyzer/oscilloscope.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 15:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1777277#M5563</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-12-19T15:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1778388#M5578</link>
      <description>&lt;P&gt;Hello Zamora,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Current use the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FRDM-KW38 development board and run the demo SDK of ncj38a_KW38_**** example project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The SPI pins configuration(pin/port/pin_addr/pin_idx) is default as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SPI_SI&amp;nbsp; &amp;nbsp; /PORTC17 (number 46) /0x4004B000u /17U&lt;BR /&gt;SPI_SCK/PORTC16 (number 45) /0x4004B000u /16U&lt;BR /&gt;SPI_CS&amp;nbsp; /PORTA19 (number 07)&amp;nbsp; /0x40049000u /19U&lt;BR /&gt;SPI_SO&amp;nbsp; /PORTC18 (number 47) /0x4004B000u /18U&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The sending data and reading data is ok in the loopback mode in&amp;nbsp;&lt;SPAN&gt;FRDM-KW38 development board.&amp;nbsp; Whether the parameter of SPI0_CS(0 or 1), clock freq(500kHz or 24MHz), CPOL/CPHA(b00, b01, b10 or b11) is not right? Whether need any additional configurations?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 06:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1778388#M5578</guid>
      <dc:creator>lfl</dc:creator>
      <dc:date>2023-12-21T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1778821#M5589</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I sent you a private community message.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 16:39:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1778821#M5589</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-12-21T16:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1779020#M5591</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Eduardo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OK. Thanks for your reply again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 05:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1779020#M5591</guid>
      <dc:creator>lfl</dc:creator>
      <dc:date>2023-12-22T05:26:34Z</dc:date>
    </item>
    <item>
      <title>回复： KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1793739#M5759</link>
      <description>&lt;P&gt;Did this&amp;nbsp; issue already resolved yet? I got a same issue,I used the FRDM-KW38 and use the SPI demo and I can get the successful result between the 2 boards.but when I change the SPI1 to SPI0, and GPIO&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;CLOCK_EnableClock(&lt;/SPAN&gt;&lt;SPAN&gt;kCLOCK_PortC&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* PORTC16 (pin 45) is configured as SPI0_SCK */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_SetPinMux(PORTC, 16U, &lt;/SPAN&gt;&lt;SPAN&gt;kPORT_MuxAlt2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* PORTC17 (pin 46) is configured as SPI0_SOUT */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_SetPinMux(PORTC, 17U, &lt;/SPAN&gt;&lt;SPAN&gt;kPORT_MuxAlt2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* PORTC18 (pin 47) is configured as SPI0_SIN */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_SetPinMux(PORTC, 18U, &lt;/SPAN&gt;&lt;SPAN&gt;kPORT_MuxAlt2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* PORTC19 (pin 48) is configured as SPI0_PCS0 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_SetPinMux(PORTC, 19U, &lt;/SPAN&gt;&lt;SPAN&gt;kPORT_MuxAlt2&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, Master can not communication with Board B, any demo for change SPI1 to SPI0, I cost too much time on it&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1793739#M5759</guid>
      <dc:creator>Yunping</dc:creator>
      <dc:date>2024-01-23T10:22:55Z</dc:date>
    </item>
    <item>
      <title>回复： KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1799631#M5833</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224060"&gt;@Yunping&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very sorry. I haven't solved it yet.&amp;nbsp;I can not provide further assistance.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 07:56:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1799631#M5833</guid>
      <dc:creator>lfl</dc:creator>
      <dc:date>2024-02-01T07:56:31Z</dc:date>
    </item>
    <item>
      <title>回复： KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1800373#M5842</link>
      <description>&lt;P&gt;Thanks for your reply, I have resolved it, Just the slave device need 16bit and 1MHz clock, I changed the master's setting and it works well now&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 01:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1800373#M5842</guid>
      <dc:creator>Yunping</dc:creator>
      <dc:date>2024-02-02T01:30:45Z</dc:date>
    </item>
    <item>
      <title>回复： KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1843482#M6606</link>
      <description>&lt;P&gt;Hi Eduardo&lt;BR /&gt;I am use the KW38 + NCJ29D5D, and I use SPI to communication between them, but KW38 fail to write data to NCJ29D5D,&lt;BR /&gt;There exsist the best practice demo?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 01:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1843482#M6606</guid>
      <dc:creator>Yunping</dc:creator>
      <dc:date>2024-04-10T01:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1843483#M6607</link>
      <description>Hello Zamora,&lt;BR /&gt;I use the KW38 + NCJ29D5D,but the spi cs can not set by software, so can not communication with ncj29d5d, is there any way to control ncj29d5d?</description>
      <pubDate>Wed, 10 Apr 2024 01:54:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1843483#M6607</guid>
      <dc:creator>Yunping</dc:creator>
      <dc:date>2024-04-10T01:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: KW38 can not communication with NCJ38A by SPI interface</title>
      <link>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1897194#M7406</link>
      <description>Hello lfl&lt;BR /&gt;How can I get ncj38a_KW38_**** example project? I cannot find it from SDK 2.6.15&lt;BR /&gt;Thx.</description>
      <pubDate>Tue, 02 Jul 2024 06:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/KW38-can-not-communication-with-NCJ38A-by-SPI-interface/m-p/1897194#M7406</guid>
      <dc:creator>Shure</dc:creator>
      <dc:date>2024-07-02T06:18:37Z</dc:date>
    </item>
  </channel>
</rss>

