<?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: Bugreport: LPCOpen 2.15 for LPC824. SPI port Switch matrix clock is not enabled before setup.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586727#M21471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Support on Mon Jun 01 07:53:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Larsen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for reporting this bug - we are confirming the issue and will fix it as well as investigate how this passed our release testing so we do not release non-functional examples!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:26:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:26:43Z</dc:date>
    <item>
      <title>Bugreport: LPCOpen 2.15 for LPC824. SPI port Switch matrix clock is not enabled before setup.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586726#M21470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larsen on Sat May 30 16:53:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a bug in the example project &lt;/SPAN&gt;&lt;I&gt;periph_spi&lt;/I&gt;&lt;SPAN&gt; in the file named &lt;/SPAN&gt;&lt;I&gt;spi.c&lt;/I&gt;&lt;SPAN&gt; when compiled for BOARD_NXP_LPCXPRESSO_824.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In lines 101 to 104 the switch matrix (SWM) is programmed, but the SWM clock is not switched on before setting the matrix. This effectively renders the commands non functional and the example loopback test code fails at the final buffer test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To repair, simply enable the SWM clock, before writing to the SWM (and off again afterwards to save power).This could look like this:&lt;/SPAN&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#elif defined(BOARD_NXP_LPCXPRESSO_824)
Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_SWM);//&amp;lt;----- add this line to enable SWM clock
Chip_SWM_MovablePinAssign(SWM_SPI1_SSEL0_IO, 15);
Chip_SWM_MovablePinAssign(SWM_SPI1_SCK_IO, 24);
Chip_SWM_MovablePinAssign(SWM_SPI1_MISO_IO, 25);
Chip_SWM_MovablePinAssign(SWM_SPI1_MOSI_IO, 26);
Chip_Clock_DisablePeriphClock(SYSCTL_CLOCK_SWM);//&amp;lt;----- add this line to save power
#else
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;Please update the distribution code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586726#M21470</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bugreport: LPCOpen 2.15 for LPC824. SPI port Switch matrix clock is not enabled before setup.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586727#M21471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Support on Mon Jun 01 07:53:00 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Larsen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for reporting this bug - we are confirming the issue and will fix it as well as investigate how this passed our release testing so we do not release non-functional examples!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586727#M21471</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bugreport: LPCOpen 2.15 for LPC824. SPI port Switch matrix clock is not enabled before setup.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586728#M21472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larsen on Mon Jun 01 08:18:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;very good. Please also include this issue reported &lt;/SPAN&gt;&lt;A href="http://http://www.lpcware.com/content/forum/lpc824-xpresso-v2-om13071-xtal-clock-wont-start"&gt;here&lt;/A&gt;&lt;SPAN&gt; in your update task list &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Bugreport-LPCOpen-2-15-for-LPC824-SPI-port-Switch-matrix-clock/m-p/586728#M21472</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:26:43Z</dc:date>
    </item>
  </channel>
</rss>

