<?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 LPC546xx ADC burst mode in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-ADC-burst-mode/m-p/806650#M32387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using an LPC54606 and I would like to use a channel (n°3) of the ADC to generate an interrupt when it is under a threshold. I need that the ADC is "continuously and automaticaly" on working so it seem that this correspond to the "burst mode".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I'm trying to do that but without success, I have configured the "THR0_LOW" register with the threshold. I have configured "THR0_HIGH" with the maximum value. I have configured "INTEN" register with '0b01' in ADCMPINTEN3 to generate an interruption when the level is outside threshold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finaly I have configured the "SEQA_CTRL" register with just the cahnnel 3 enabled, writed a '1' in burst bit (b27), a '1' in mode bit (b30) and a '1' in SEQA_ENA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I have enabled in the NVIC_IRQ the "ADC0_THCMP_IRQn". And an interruption is immediatly generated even thougth the "FLAGS" register is '0' and the "DAT[3]" is upper the threshold.&lt;/P&gt;&lt;P&gt;What is wrong in my configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel that after that the ADC is not on working even though the burst bit is '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2018 11:20:47 GMT</pubDate>
    <dc:creator>karimboallal</dc:creator>
    <dc:date>2018-11-06T11:20:47Z</dc:date>
    <item>
      <title>LPC546xx ADC burst mode</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-ADC-burst-mode/m-p/806650#M32387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using an LPC54606 and I would like to use a channel (n°3) of the ADC to generate an interrupt when it is under a threshold. I need that the ADC is "continuously and automaticaly" on working so it seem that this correspond to the "burst mode".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I'm trying to do that but without success, I have configured the "THR0_LOW" register with the threshold. I have configured "THR0_HIGH" with the maximum value. I have configured "INTEN" register with '0b01' in ADCMPINTEN3 to generate an interruption when the level is outside threshold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finaly I have configured the "SEQA_CTRL" register with just the cahnnel 3 enabled, writed a '1' in burst bit (b27), a '1' in mode bit (b30) and a '1' in SEQA_ENA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I have enabled in the NVIC_IRQ the "ADC0_THCMP_IRQn". And an interruption is immediatly generated even thougth the "FLAGS" register is '0' and the "DAT[3]" is upper the threshold.&lt;/P&gt;&lt;P&gt;What is wrong in my configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel that after that the ADC is not on working even though the burst bit is '1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 11:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC546xx-ADC-burst-mode/m-p/806650#M32387</guid>
      <dc:creator>karimboallal</dc:creator>
      <dc:date>2018-11-06T11:20:47Z</dc:date>
    </item>
  </channel>
</rss>

