<?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 Maximum SPI buffer size in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Maximum-SPI-buffer-size/m-p/1740369#M27870</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have some definitions of the maximum size of the buffer data when communicating via SPI (256 bytes, 1024 bytes,...).&lt;/P&gt;
&lt;P&gt;In SPI S32K drivers (on S32DS), Do we have a limitation for the SPI buffer size? Or Can we configure it?&lt;/P&gt;
&lt;P&gt;I'm using S32K1xx, S32K312 with both autosar and non-autosar versions.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 11:12:02 GMT</pubDate>
    <dc:creator>AnhNguyenDuc</dc:creator>
    <dc:date>2023-10-16T11:12:02Z</dc:date>
    <item>
      <title>Maximum SPI buffer size</title>
      <link>https://community.nxp.com/t5/S32K/Maximum-SPI-buffer-size/m-p/1740369#M27870</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have some definitions of the maximum size of the buffer data when communicating via SPI (256 bytes, 1024 bytes,...).&lt;/P&gt;
&lt;P&gt;In SPI S32K drivers (on S32DS), Do we have a limitation for the SPI buffer size? Or Can we configure it?&lt;/P&gt;
&lt;P&gt;I'm using S32K1xx, S32K312 with both autosar and non-autosar versions.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 11:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Maximum-SPI-buffer-size/m-p/1740369#M27870</guid>
      <dc:creator>AnhNguyenDuc</dc:creator>
      <dc:date>2023-10-16T11:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum SPI buffer size</title>
      <link>https://community.nxp.com/t5/S32K/Maximum-SPI-buffer-size/m-p/1740852#M27886</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;As far as I know, Autosar define 2 types of buffer: Internal and external buffer.&lt;BR /&gt;With Internal buffer, RTD limits Tx and Rx buffer to SpiIbNBuffer (max 65535) bytes. Please check define IB in file Spi_&amp;lt;&amp;gt;_PBcfg.c as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1697512943264.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245393iA4557B49F2137A2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1697512943264.png" alt="cuongnguyenphu_0-1697512943264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1697513629716.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245397iCCDD286FD368E050/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1697513629716.png" alt="cuongnguyenphu_1-1697513629716.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For external buffer, you can define your own Tx/Rx buffer and call Spi_SetupEB() to set buffer for your SPI channel. This function limits the size of your buffer as SpiEbMaxLength (max 65535 bytes)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_2-1697513681692.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/245398i7AB45F097F54530A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_2-1697513681692.png" alt="cuongnguyenphu_2-1697513681692.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 03:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Maximum-SPI-buffer-size/m-p/1740852#M27886</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-10-17T03:35:41Z</dc:date>
    </item>
  </channel>
</rss>

