<?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: lpc1769 - capture input - need help</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544688#M8816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Sun Aug 05 09:40:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What about sample in #10 of &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2941&lt;/A&gt;&lt;SPAN&gt; :confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:52:09 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:52:09Z</dc:date>
    <item>
      <title>lpc1769 - capture input - need help</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544687#M8815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dragilla on Sun Aug 05 09:25:38 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to make my CAP0.0 input work and I'm having a lot of trouble interpreting the CMSIS1.3 functions - this is what I use in my project and I can't use anything else right now. Examples are not too good either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know there isn't really a true cmsis 1.3 documentation (or at least there was no such thing some time ago) so the only way for me is experimenting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've read the UM10360, Chapter 21: LPC17xx Timer 0/1/2/3 like 10 times now and I think I know how to do my task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that a very simple program I wrote, that waits for a CAP interrupt, does not work. It should simply wait for a rising edge on input and trigger an interrupt (I make a break point in the ISR).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've connected a wire to pin p1[26] and after the program is run I connected it to 3v3 and gnd and nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm attaching my code - please tell me why it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-- &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luke&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544687#M8815</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: lpc1769 - capture input - need help</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544688#M8816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Sun Aug 05 09:40:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What about sample in #10 of &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2941&lt;/A&gt;&lt;SPAN&gt; :confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544688#M8816</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: lpc1769 - capture input - need help</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544689#M8817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dragilla on Sun Aug 05 09:49:26 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ha, thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the wrong ISR :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544689#M8817</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: lpc1769 - capture input - need help</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544690#M8818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dragilla on Mon Aug 06 02:30:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hm, They set the CCR this way:&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_TIM0-&amp;gt;CCR =((1&amp;lt;&amp;lt;0)|(1&amp;lt;&amp;lt;1)|(1&amp;lt;&amp;lt;2));&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;The UM says "bits 31:6 - Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this way of assigning walue to CCR OK? I think it's writing all 32 bits.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But maybe it's tested and safe?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: cancel that... I should not write ones... and I only write zeros - so I guess that's ok &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpc1769-capture-input-need-help/m-p/544690#M8818</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:52:10Z</dc:date>
    </item>
  </channel>
</rss>

