<?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: FS32K144 lpspi transfer multiple bytes</title>
    <link>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1363759#M12617</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Nanjun,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FRAMESZ&lt;/STRONG&gt; is used to configure the number of bits in a frame.&lt;BR /&gt;For example: if you configure FRAMESZ=15 , then you will see 15+1=16 bits in a frame(between a PCS activate and a de-activate)&lt;BR /&gt;Since you want to transmit in byte, each frame should be 8bit.&lt;/P&gt;
&lt;P&gt;If you don't want the PCS de-activate between frames, you may need to use &lt;STRONG&gt;Continuous Transfer&lt;/STRONG&gt; bit (CONT)=1.&lt;/P&gt;
&lt;P&gt;Please refer to the lpspi_dma_s32k144 example, it will show you how to transfer 100(NUMBER_OF_FRAMES) bytes and loop 1000(count) times.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 08:25:22 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2021-10-29T08:25:22Z</dc:date>
    <item>
      <title>FS32K144 lpspi transfer multiple bytes</title>
      <link>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1362317#M12597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;With FS32k144 I would like to transfer and receive large data size such as 1000 bytes via lpspi.&lt;/P&gt;&lt;P&gt;1. Is it possible to fill 2000 bytes in one spi transfer?&lt;/P&gt;&lt;P&gt;As I understood, FRAMESZ can only be set as 0-4095 bits. But it is still not large enough.The data rate can be 500k or less. Is there any example as reference? The example lpspi_transfer only transfers 1 bytes within one fram.&lt;/P&gt;&lt;P&gt;2. 2000 bytes is the max. data size. But the amount of data can be dynamic und not predictable in our case..such as 100,200. How can it be implemented in the receiver part if we do not know the exact data size?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Nanjun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1362317#M12597</guid>
      <dc:creator>nanjun</dc:creator>
      <dc:date>2021-10-27T09:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: FS32K144 lpspi transfer multiple bytes</title>
      <link>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1363759#M12617</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Nanjun,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;FRAMESZ&lt;/STRONG&gt; is used to configure the number of bits in a frame.&lt;BR /&gt;For example: if you configure FRAMESZ=15 , then you will see 15+1=16 bits in a frame(between a PCS activate and a de-activate)&lt;BR /&gt;Since you want to transmit in byte, each frame should be 8bit.&lt;/P&gt;
&lt;P&gt;If you don't want the PCS de-activate between frames, you may need to use &lt;STRONG&gt;Continuous Transfer&lt;/STRONG&gt; bit (CONT)=1.&lt;/P&gt;
&lt;P&gt;Please refer to the lpspi_dma_s32k144 example, it will show you how to transfer 100(NUMBER_OF_FRAMES) bytes and loop 1000(count) times.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 08:25:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1363759#M12617</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-10-29T08:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: FS32K144 lpspi transfer multiple bytes</title>
      <link>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1364598#M12630</link>
      <description>&lt;P&gt;Hello Robin,&lt;/P&gt;&lt;P&gt;thanks for your suggestion.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Nanjun&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 14:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FS32K144-lpspi-transfer-multiple-bytes/m-p/1364598#M12630</guid>
      <dc:creator>nanjun</dc:creator>
      <dc:date>2021-11-01T14:09:35Z</dc:date>
    </item>
  </channel>
</rss>

