<?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のトピックS32K312+RTD400+UART FIFO</title>
    <link>https://community.nxp.com/t5/S32K/S32K312-RTD400-UART-FIFO/m-p/2154945#M51978</link>
    <description>&lt;P&gt;I used S32K312+RTD400 to test the UART POLLING mode. I set the FIFO to 4 datawords, the water value to 2, the timer to 250us, and the baud rate to 230,400&lt;/P&gt;&lt;P&gt;Question: If send_time is set to 4, the sent data will not be lost. When it is greater than 4, some data will be lost. Are 4 words 4 8-bit data? The manual mentions that the DATA register Supports 8-bit, 16-bit, or 32-bit writes, each type of write performing a separate function. An 8-bit write to DATA[7:0] pushes {CTRL[R8T9], CTRL[R9T8], DATA[7:0]} the transmit FIFO with TSC clear. A 16-bit or 32-bit write pushes the data written into the FIFO and does not update the value of CTRL[R8T9] or CTRL[R9T8].&lt;/P&gt;&lt;P&gt;Reads and writes of this register are also involved in the automatic flag clearing mechanisms for some of the LPUART status fields.&lt;/P&gt;&lt;P&gt;Can I arbitrarily understand that FIFO is 32-bit? Then, how can I directly write a 32-bit value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I want to implement a system where, at intervals of 250us, the remaining space of the TXCOUNTER in water is checked. If it does not exceed the value set for water, an appropriate amount of data is placed in the FIFO. If it exceeds water, no action is taken. What modifications do I need to make based on the current code?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 05:56:21 GMT</pubDate>
    <dc:creator>Neo1096</dc:creator>
    <dc:date>2025-08-20T05:56:21Z</dc:date>
    <item>
      <title>S32K312+RTD400+UART FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-RTD400-UART-FIFO/m-p/2154945#M51978</link>
      <description>&lt;P&gt;I used S32K312+RTD400 to test the UART POLLING mode. I set the FIFO to 4 datawords, the water value to 2, the timer to 250us, and the baud rate to 230,400&lt;/P&gt;&lt;P&gt;Question: If send_time is set to 4, the sent data will not be lost. When it is greater than 4, some data will be lost. Are 4 words 4 8-bit data? The manual mentions that the DATA register Supports 8-bit, 16-bit, or 32-bit writes, each type of write performing a separate function. An 8-bit write to DATA[7:0] pushes {CTRL[R8T9], CTRL[R9T8], DATA[7:0]} the transmit FIFO with TSC clear. A 16-bit or 32-bit write pushes the data written into the FIFO and does not update the value of CTRL[R8T9] or CTRL[R9T8].&lt;/P&gt;&lt;P&gt;Reads and writes of this register are also involved in the automatic flag clearing mechanisms for some of the LPUART status fields.&lt;/P&gt;&lt;P&gt;Can I arbitrarily understand that FIFO is 32-bit? Then, how can I directly write a 32-bit value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I want to implement a system where, at intervals of 250us, the remaining space of the TXCOUNTER in water is checked. If it does not exceed the value set for water, an appropriate amount of data is placed in the FIFO. If it exceeds water, no action is taken. What modifications do I need to make based on the current code?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 05:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-RTD400-UART-FIFO/m-p/2154945#M51978</guid>
      <dc:creator>Neo1096</dc:creator>
      <dc:date>2025-08-20T05:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K312+RTD400+UART FIFO</title>
      <link>https://community.nxp.com/t5/S32K/S32K312-RTD400-UART-FIFO/m-p/2155236#M51989</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, FIFO can be seen as 32bit (word), but h&lt;SPAN&gt;ere the “word” means single character transmitted/received, which can be programmed to have length of 7-bit, 8-bit, 9-bit or 10-bit.&lt;BR /&gt;So every write/read to/from FIFO is for single character.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FIFO depth is 4 words, cannot be configured by&amp;nbsp;TXFIFOSIZE/RXFIFOSIZE, those are read only fields.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In your PIT interrupt you need not to check TDRE and RDRF flags, I think.&lt;BR /&gt;RXCOUNT says how many words can be read from FIFO, so how many times&amp;nbsp;Lpuart_Uart_Ip_Getchar can be called.&lt;BR /&gt;(4-TXCOUNT) indicates how many words can be written to FIFO, that is&amp;nbsp;how many times&amp;nbsp;Lpuart_Uart_Ip_Putchar can be called.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K312-RTD400-UART-FIFO/m-p/2155236#M51989</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-08-20T12:14:11Z</dc:date>
    </item>
  </channel>
</rss>

