<?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>LPCXpresso IDEのトピックRe: BOD Configuration &amp; Interrupt</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543326#M8201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by scriptr on Wed May 04 13:29:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No,it is a LPC1114&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:56:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:56:43Z</dc:date>
    <item>
      <title>BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543324#M8199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by scriptr on Wed May 04 10:49:15 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To measure the battery remaining, we like to configure BODCTRL to get an interrupt. However we couldn't succeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What we do is; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SYSCON-&amp;gt;BODCTRL = 0x1C &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We hope to get an interrupt when the voltage decreases under 2.8 V.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But our following method is not called as an interrupt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void BOD_IRQHandler(void) {}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help us?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543324#M8199</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543325#M8200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed May 04 13:26:44 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are we talking about LPC1343 ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543325#M8200</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543326#M8201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by scriptr on Wed May 04 13:29:43 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No,it is a LPC1114&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543326#M8201</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543327#M8202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed May 04 14:19:20 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you enable the interrupt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; NVIC_EnableIRQ(BOD_IRQn);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //enable BOD INT
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543327#M8202</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543328#M8203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by scriptr on Thu May 05 00:51:06 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually we didn't. Although we read the documents carefully, we didn't see any tip about this call; but BODCTRL and BOD_IRQHandler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell us where we can find that kind of tips, please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543328#M8203</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543329#M8204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu May 05 03:38:17 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;3.5.26 BOD control register&lt;BR /&gt;The BOD control register selects four separate threshold values for sending a BOD interrupt to the [COLOR=Red]NVIC[/COLOR] and for forced reset. Reset and interrupt threshold values listed in Table 32 are typical values...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Unfortunately the user manual doesn't explain this explicitly, NVIC is just mentioned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever I'm working with interrupts, I'm looking at NVIC chapter to see if there's an NVIC to enable. After reading your questions it sounds clear to me that there's something wrong with interrupt enabling and my own (working) BOD sample for LPC11C14 showed me that there's really an NVIC to enable:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543329#M8204</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: BOD Configuration &amp; Interrupt</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543330#M8205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Thu May 05 11:45:48 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Whenever I'm working with interrupts, I'm looking at NVIC chapter to see if there's an NVIC to enable.:)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good tip.:)&amp;nbsp; Spent a lot of time figuring out problems like this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/BOD-Configuration-Interrupt/m-p/543330#M8205</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:56:46Z</dc:date>
    </item>
  </channel>
</rss>

