<?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>8-bit Microcontrollers中的主题 Re: S08QE128 ADC generates interrupts when disabled</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945844#M22967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is weird, what is the normal wake up interrupt, is this a time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share a project where I can reproduce the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can start to disable modules in order to try to find why the QE is waking up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2019 15:22:15 GMT</pubDate>
    <dc:creator>vicentegomez</dc:creator>
    <dc:date>2019-10-22T15:22:15Z</dc:date>
    <item>
      <title>S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945843#M22966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am (still) using an S08QE128 and CW11.1.&amp;nbsp; The program is working well, but I want it to go to sleep between activities.&amp;nbsp; The sleep and wake up processes are working, but the ADC interrupt is causing it to wake up prematurely.&amp;nbsp; That is odd, considering I am not ever turning the ADC on.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set a breakpoint where the program wakes up again, and the CW debug trace window says that the ADC interrupt has gone off.&amp;nbsp; Sorry, I can't do a copy/paste of the debug window, but here it are the contents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4692DC CW11 V7_FLASH_PnE_Cyclone PRO (CodeWarrior)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HCS08, 4602DCCCW11V7.abs (Suspended)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thread [ID:0x0](Suspended: Breakpoint hit.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 main() main.c:343:0x0097a5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; this is the first instruction after the WAIT instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 ADC_interrupt() ADC.c:178 0x0043e9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 0x002706 (0x002706)()&amp;nbsp; 0x02706&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I examine the ADCSC1 register, the contents are 0x1f, which should be "ADC disabled."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are, how is that possible?&amp;nbsp; And how can I prevent it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gary Olmstead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 23:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945843#M22966</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2019-10-21T23:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945844#M22967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is weird, what is the normal wake up interrupt, is this a time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share a project where I can reproduce the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can start to disable modules in order to try to find why the QE is waking up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2019 15:22:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945844#M22967</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-10-22T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945845#M22968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, there are a boatload of interrupts that can wake the processor.&amp;nbsp; It uses:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; all 16 key inputs (one interrupt between them).&amp;nbsp; These are working properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- an external real time clock that is not stuffed on this board, but worked perfectly on the previous board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- a serial port connected&amp;nbsp; to a USB port for debugging.&amp;nbsp; This is working properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; - an external Bluetooth card attached to the other serial port (not stuffed on this board,but worked on the previous board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- and several inputs that would have gone on Key inputs, but there weren't any left, so they ended up as input capture inputs and interrupts.&amp;nbsp; These are all stuffed and working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does have an internal real time clock that generates an interrupt every one millisecond, but that should be disabled during sleep mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is sitting here on my bench, so I know that no external interrupts are being triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd send you something,but I don't know if the program will do anything sensible without hardware. Besides, the program&amp;nbsp; is enormous, the largest I've ever written by quite a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will make sure the internal RTC is really shutting down, and if it is, then I will write a new project that just uses the ADC&lt;/P&gt;&lt;P&gt;module, and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 18:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945845#M22968</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2019-10-24T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945846#M22969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know the results&lt;/P&gt;&lt;P&gt;have a good day.&lt;/P&gt;&lt;P&gt;Vicente&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 15:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945846#M22969</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-10-28T15:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945847#M22970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked on another project for a couple days, and when I went back to this one, the problem had disappeared.&amp;nbsp; I didn't change anything, it just vanished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 03:08:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945847#M22970</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2019-11-26T03:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: S08QE128 ADC generates interrupts when disabled</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945848#M22971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmm, ok, let me know if have any news&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 15:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/S08QE128-ADC-generates-interrupts-when-disabled/m-p/945848#M22971</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-11-26T15:41:45Z</dc:date>
    </item>
  </channel>
</rss>

