<?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 Re: UM10601 problems in LPC81x user manual in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559447#M15849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sun Nov 09 00:43:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nerd herd&lt;/STRONG&gt;&lt;BR /&gt;are you using the LPC 800 low power modes application note or are you writing your own software to enter Deep Power-down?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a bit of both. I already have a lot of experience with different NXP processors (ever heard of PNX5210 or PNX4008&amp;nbsp; :bigsmile: ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that we do not use either Keil or LPCXpresso but CrossWorks for ARM and the coding rules are a bit different, so with my knowledge about clock generation and power management I mostly start with the user manual - being the main reference, this one should contain all information needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application note contains excerpts from the user manual with nice explanations and it is the code with the Application note that made me find the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:59:52 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:59:52Z</dc:date>
    <item>
      <title>UM10601 problems in LPC81x user manual</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559444#M15846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Fri Nov 07 03:19:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am reading rev 1.6 of UM10601 recently downloaded from nxp.com and found some errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In section 10.6 (page 136) the definition of REGMODEn bits is wrong.Here it is described that a 1 means "match and reload" and 0 is "capture and capture control"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But table 130 on page 146 states the opposite (0 = match, 1 = capture).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the example it seems that the table is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This makes it very hard to use the SCT. The part is too complex to just use out-of-the-box (yes - because of all the nice features it has).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another problem arises when we tried to use the Deep power-down mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The user manual does not explain that the DPDFLAG in the LPC_PMU-&amp;gt;PCON registers must be cleared before entering deep power-down mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The manual (see page 66) gives 6 steps with step 2 "Ensure that bit 3 in the PCON register is cleared".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Table 56 (page 59) is referenced and here it is stated that if bit 3 is set, the part deep power-down mode is blocked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when the DPDFLAG is not cleared before writing 0x3 into the PCON register to enter deep power-down mode, entering deep power-down mode seems to be locked also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At least, that is what we noticed while forgetting to clear the DPDFLAG.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since deep sleep and power down modes are very hard to debug, this made me banging my head against the wall for a few hours before discovering what was missing ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559444#M15846</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: UM10601 problems in LPC81x user manual</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559445#M15847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nerd herd on Fri Nov 07 09:42:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Rob65,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The contradiction in regards to the REGMODEn bits will be reported. Thank you for finding that issue!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the Deep Power-down issue...are you using the LPC 800 low power modes application note or are you writing your own software to enter Deep Power-down? Link to the AN is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpc800-low-power-modes-and-wake-times" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lpc800-low-power-modes-and-wake-times&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559445#M15847</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: UM10601 problems in LPC81x user manual</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559446#M15848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sat Nov 08 14:43:49 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The manual isn't too clear on the SCT interrupt either. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I correct in thinking that the interrupt handler should clear the EVFLAG register by writing 0x1F to it? Otherwise the interrupt repeats indefinitely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Red State software, how do I set the clock source and the prescalers?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559446#M15848</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: UM10601 problems in LPC81x user manual</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559447#M15849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Sun Nov 09 00:43:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: nerd herd&lt;/STRONG&gt;&lt;BR /&gt;are you using the LPC 800 low power modes application note or are you writing your own software to enter Deep Power-down?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a bit of both. I already have a lot of experience with different NXP processors (ever heard of PNX5210 or PNX4008&amp;nbsp; :bigsmile: ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that we do not use either Keil or LPCXpresso but CrossWorks for ARM and the coding rules are a bit different, so with my knowledge about clock generation and power management I mostly start with the user manual - being the main reference, this one should contain all information needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The application note contains excerpts from the user manual with nice explanations and it is the code with the Application note that made me find the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/UM10601-problems-in-LPC81x-user-manual/m-p/559447#M15849</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:59:52Z</dc:date>
    </item>
  </channel>
</rss>

