<?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  S32K146 SPI Master - clock irregularities in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1010188#M6098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a S32K146 running as an SPI master, at 4Mbps, DMA and transferring around 500 bytes per frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often, at each 32nd bit multiple of data transfer, the bit is sometimes incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking on a 'scope, the S32K generated SPI clock, is truncated, during its high period (from 125ns to 62ns). This happens every 32 bits, consistantly. The clock appears perfect in every other respect, with no delays/stalling etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a known issue, incorrect SPI setup (we are using AutoSar), or something else?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN data-dobid="hdw"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 14:31:26 GMT</pubDate>
    <dc:creator>partis</dc:creator>
    <dc:date>2020-01-14T14:31:26Z</dc:date>
    <item>
      <title>S32K146 SPI Master - clock irregularities</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1010188#M6098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a S32K146 running as an SPI master, at 4Mbps, DMA and transferring around 500 bytes per frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often, at each 32nd bit multiple of data transfer, the bit is sometimes incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking on a 'scope, the S32K generated SPI clock, is truncated, during its high period (from 125ns to 62ns). This happens every 32 bits, consistantly. The clock appears perfect in every other respect, with no delays/stalling etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a known issue, incorrect SPI setup (we are using AutoSar), or something else?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN data-dobid="hdw"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:31:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1010188#M6098</guid>
      <dc:creator>partis</dc:creator>
      <dc:date>2020-01-14T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re:  S32K146 SPI Master - clock irregularities</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1010189#M6099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us your SPI configuration?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 09:00:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1010189#M6099</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2020-01-31T09:00:54Z</dc:date>
    </item>
    <item>
      <title>Re:  S32K146 SPI Master - clock irregularities</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1515688#M17461</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we have observed same issue on a project running on S32K148.&lt;/P&gt;&lt;P&gt;LPSPI2 is configured with Processor Expert as per attached image "spi_PE_setup.jpg". Furthermore:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;we configure 3 wire SPI by setting&amp;nbsp;PINCFG = 10b and OUTCFG = 1&lt;/LI&gt;&lt;LI&gt;we have a protocol with 9 bits words on writing and 8 bits words on reading, so at runtime we change accordingly value of&amp;nbsp;FRAMESZ&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As shown in image "SPI_waveform_1.jpg", first clock bit has a period that is a half of the others (so first bit is clocked at 5MHz instead of 2.5MHz). Same issue is shown in "SPI_waveform_2.jpg", where we have inserted a delay between words, to highlights that issue involves first bit of the word.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a known issue? Or an incorrect SPI setup?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:06:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-SPI-Master-clock-irregularities/m-p/1515688#M17461</guid>
      <dc:creator>mattiasecchiaro</dc:creator>
      <dc:date>2022-09-01T15:06:43Z</dc:date>
    </item>
  </channel>
</rss>

