<?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 How to clear the System FIFO transmit in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-clear-the-System-FIFO-transmit/m-p/1006462#M39494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the 54102 with the System FIFO connected to a SPI peripheral.&amp;nbsp; Each transaction leaves a few extra bytes in the transmit FIFO, want to clear before the next transaction.&amp;nbsp; Set the TXFLUSH bit in the CTLSETSPI register, then TXFLUSHCLR bit in CTLCLRSPI register.&amp;nbsp; TXCOUNT doesn't change and the extra bytes are transmitted out in the next SPI operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2019 18:59:32 GMT</pubDate>
    <dc:creator>chrisoneill</dc:creator>
    <dc:date>2019-11-05T18:59:32Z</dc:date>
    <item>
      <title>How to clear the System FIFO transmit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-clear-the-System-FIFO-transmit/m-p/1006462#M39494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the 54102 with the System FIFO connected to a SPI peripheral.&amp;nbsp; Each transaction leaves a few extra bytes in the transmit FIFO, want to clear before the next transaction.&amp;nbsp; Set the TXFLUSH bit in the CTLSETSPI register, then TXFLUSHCLR bit in CTLCLRSPI register.&amp;nbsp; TXCOUNT doesn't change and the extra bytes are transmitted out in the next SPI operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2019 18:59:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-clear-the-System-FIFO-transmit/m-p/1006462#M39494</guid>
      <dc:creator>chrisoneill</dc:creator>
      <dc:date>2019-11-05T18:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to clear the System FIFO transmit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-clear-the-System-FIFO-transmit/m-p/1006463#M39495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which moment are you flushing the FIFO? I think it you would need to stop the transmission and reception first to not interfere with the flush of the FIFO, also, if you have the interruption enabled could be useful to dissable it before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 00:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-clear-the-System-FIFO-transmit/m-p/1006463#M39495</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-11-08T00:58:14Z</dc:date>
    </item>
  </channel>
</rss>

