<?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>LPC MicrocontrollersのトピックRe: LPC1114 SSP TX FIFO clear</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540067#M11993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Paul on Wed Oct 22 09:35:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the PRESETCTRL register is the best way that I am aware of to reset the SSP periperal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:41:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:41:03Z</dc:date>
    <item>
      <title>LPC1114 SSP TX FIFO clear</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540066#M11992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by romko on Wed Oct 22 01:41:59 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have iplemanted SPI slave device on my LPC1114 processor. My system put data to the SSP TX FIFO on the TXMIS (TX FIFO is at least half empty) interrupt. So it is always "pumping" data to the TX FIFO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For providing packet integrity I need somehow reset data that already exists in the TX FIFO in case when some error ocured. For now I haven't find better solution than reseting complete SSP peripheral by &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt; 
LPC_SYSCON-&amp;gt;PRESETCTRL &amp;amp;= ~(0x01 &amp;lt;&amp;lt; 0);
LPC_SYSCON-&amp;gt;PRESETCTRL |= (0x01 &amp;lt;&amp;lt; 0);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the better way to clear SSP TX FIFO ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540066#M11992</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SSP TX FIFO clear</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540067#M11993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Paul on Wed Oct 22 09:35:16 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the PRESETCTRL register is the best way that I am aware of to reset the SSP periperal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540067#M11993</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SSP TX FIFO clear</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540068#M11994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by romko on Thu Oct 23 01:50:48 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Reseting peripheral is not the best way of handling such problem, becouse I have noticed that peripheral reset influence on the SPI pins levels. As I have several slave devices on the bus when I reset SSP peripheral, it affect to the bus signals and communication with other slaves. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the way to reset FIFO without reseting all peripheral and negative impatc the signal levels ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540068#M11994</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1114 SSP TX FIFO clear</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540069#M11995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Paul on Thu Oct 23 06:20:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You could configure the pins to standard GPIO pins before implementing the reset.&amp;nbsp; This would allow you to maintain signal levels on the bus while resetting, then configure back to the SPI pins after the reset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1114-SSP-TX-FIFO-clear/m-p/540069#M11995</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:41:04Z</dc:date>
    </item>
  </channel>
</rss>

