<?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: S32K146 SPI lost data</title>
    <link>https://community.nxp.com/t5/S32K/S32K146-SPI-lost-data/m-p/1005872#M6023</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;if it works at low speed, there's not much to check in the code.&lt;/P&gt;&lt;P&gt;There are several points to consider:&lt;/P&gt;&lt;P&gt;- what is the slave device? Is that capable to communicate at such speed?&lt;/P&gt;&lt;P&gt;- communication frequency can be limited by bus capacitance. Did you try to check the signals by oscilloscope? How was the distortion? What is the length of wires? It should be as short as possible or the frequency should be decreased appropriately&lt;/P&gt;&lt;P&gt;- from SW point of view, you can play with settings in Configuration Register 1 CFGR1 (Sample point) and&lt;/P&gt;&lt;P&gt;Clock Configuration Register CCR to see if it makes a difference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2020 09:59:57 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2020-03-12T09:59:57Z</dc:date>
    <item>
      <title>S32K146 SPI lost data</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-SPI-lost-data/m-p/1005871#M6022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-0" style="color: #333333; background-color: #f7f8fa; border: 0px; font-weight: normal; font-size: 14px;"&gt;In the SDK routine, the baud rate used by spi is relatively low, such as 50K;&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-1" style="color: #333333; background-color: #f7f8fa; border: 0px; font-weight: normal; font-size: 14px;"&gt;There was no problem in the test of this communication rate in my code, but when I continued to increase the communication baud rate of spi to more than 300K, spi began to lose frames of data, and the higher the baud rate, the more serious the frame loss.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-2" style="color: #333333; background-color: #f7f8fa; border: 0px; font-weight: normal; font-size: 14px;"&gt;I tried to increase the clock on the lpspi, but it didn't work.&lt;/SPAN&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; border: 0px; font-weight: normal; font-size: 14px;"&gt;Do you have any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" data-group="0-3" style="color: #333333; background-color: #f7f8fa; border: 0px; font-weight: normal; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f7f8fa; border: 0px; color: #333333; font-weight: normal; font-size: 14px; "&gt;I have spent many days without solving this problem. Could you please help me to check the attached code? Where is my problem exactly&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 09:58:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-SPI-lost-data/m-p/1005871#M6022</guid>
      <dc:creator>347996379</dc:creator>
      <dc:date>2020-03-09T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: S32K146 SPI lost data</title>
      <link>https://community.nxp.com/t5/S32K/S32K146-SPI-lost-data/m-p/1005872#M6023</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;if it works at low speed, there's not much to check in the code.&lt;/P&gt;&lt;P&gt;There are several points to consider:&lt;/P&gt;&lt;P&gt;- what is the slave device? Is that capable to communicate at such speed?&lt;/P&gt;&lt;P&gt;- communication frequency can be limited by bus capacitance. Did you try to check the signals by oscilloscope? How was the distortion? What is the length of wires? It should be as short as possible or the frequency should be decreased appropriately&lt;/P&gt;&lt;P&gt;- from SW point of view, you can play with settings in Configuration Register 1 CFGR1 (Sample point) and&lt;/P&gt;&lt;P&gt;Clock Configuration Register CCR to see if it makes a difference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 09:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K146-SPI-lost-data/m-p/1005872#M6023</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-12T09:59:57Z</dc:date>
    </item>
  </channel>
</rss>

