<?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のトピックrunning lpc82x periph_adc example getting HardFault_Handler everytime.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/running-lpc82x-periph-adc-example-getting-HardFault-Handler/m-p/735931#M29713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LPC82x xpresso v2/mbed development board and running the periph_adc example.&amp;nbsp; After enable ADC sequencer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_ADC_EnableSequencer(LPC_ADC, ADC_SEQA_IDX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program will jump to HardFault_Handler.&amp;nbsp; Anyone seen this happeded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 18:44:14 GMT</pubDate>
    <dc:creator>chestertai</dc:creator>
    <dc:date>2018-05-30T18:44:14Z</dc:date>
    <item>
      <title>running lpc82x periph_adc example getting HardFault_Handler everytime.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/running-lpc82x-periph-adc-example-getting-HardFault-Handler/m-p/735931#M29713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LPC82x xpresso v2/mbed development board and running the periph_adc example.&amp;nbsp; After enable ADC sequencer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_ADC_EnableSequencer(LPC_ADC, ADC_SEQA_IDX);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program will jump to HardFault_Handler.&amp;nbsp; Anyone seen this happeded?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 18:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/running-lpc82x-periph-adc-example-getting-HardFault-Handler/m-p/735931#M29713</guid>
      <dc:creator>chestertai</dc:creator>
      <dc:date>2018-05-30T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: running lpc82x periph_adc example getting HardFault_Handler everytime.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/running-lpc82x-periph-adc-example-getting-HardFault-Handler/m-p/735932#M29714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Hello Chester!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned in the case, the problem is in the file cr_startup_lpc82x.c since it lacks some interrupt handler. The example of the ADC provided in the code bundle works fine.&amp;nbsp;If you compare the file mentioned before with the same one but of the code bundle you will see the differences, as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61422i2A08E08C66130085/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please replace all the lines in the&amp;nbsp;&lt;SPAN&gt;cr_startup_lpc82x.c file of the LPCOpen 3_02 to match the one of the code bundle. Once you make these changes the demo should work as expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 17:48:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/running-lpc82x-periph-adc-example-getting-HardFault-Handler/m-p/735932#M29714</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2018-05-31T17:48:54Z</dc:date>
    </item>
  </channel>
</rss>

