<?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 SPI: SCK input too sensitive? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133726#M1946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the SPI (slave mode) of an S12XA256 to sample serial data from another device (clock frequency is ~500kHz). At roughly 1..2-hourly intervals there seems to be a glitch on SCK that disturbs SPI and shifts in an additional bit. How can I get rid of that? I fiddled around with low-pass filters but it doesn't work until now...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone can help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pittbull&lt;/SPAN&gt;&lt;P&gt;Message Edited by pittbull on &lt;SPAN class="date_text"&gt;04-26-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:13 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2006 16:13:05 GMT</pubDate>
    <dc:creator>pittbull</dc:creator>
    <dc:date>2006-04-26T16:13:05Z</dc:date>
    <item>
      <title>SPI: SCK input too sensitive?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133726#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the SPI (slave mode) of an S12XA256 to sample serial data from another device (clock frequency is ~500kHz). At roughly 1..2-hourly intervals there seems to be a glitch on SCK that disturbs SPI and shifts in an additional bit. How can I get rid of that? I fiddled around with low-pass filters but it doesn't work until now...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone can help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pittbull&lt;/SPAN&gt;&lt;P&gt;Message Edited by pittbull on &lt;SPAN class="date_text"&gt;04-26-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:13 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2006 16:13:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133726#M1946</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-04-26T16:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: SPI: SCK input too sensitive?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133727#M1947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, pittbull:&lt;BR /&gt;&lt;BR /&gt;An intermittent that happen every few hours will be a pain to find. I would try to find the source of the glitch, and attack it at the source.&lt;BR /&gt;&lt;BR /&gt;What is the source of the clock? Could some event be causing it to glitch? I have found these problems hard to deal with without using ~SlaveSelect, but easy with ~SlaveSelect.&lt;BR /&gt;&lt;BR /&gt;Nowadays, whenever I use the SPI in slave mode, I bring ~SS high when the SPI is idle. That will re-synchronize the SPI clock if it does get in trouble. If the glitch occurs outside of a transfer, it will be ignored if ~SS is high.&lt;BR /&gt;&lt;BR /&gt;Hope it helps . . .&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2006 01:20:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133727#M1947</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2006-04-27T01:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: SPI: SCK input too sensitive?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133728#M1948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello rocco,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply.&lt;BR /&gt;The clock source is a sensor with an SPI-like interface (called SSI). Meanwhile, I replaced the sensor with another S12X module which simulates SPI using I/O ports and always send the same data word. And - surprisingly - the misfeature still exists!&lt;BR /&gt;&lt;BR /&gt;There must be another problem. Probably the supply voltage collapses for a very short time or something like that.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;pittbull&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2006 15:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SPI-SCK-input-too-sensitive/m-p/133728#M1948</guid>
      <dc:creator>pittbull</dc:creator>
      <dc:date>2006-04-27T15:25:43Z</dc:date>
    </item>
  </channel>
</rss>

