Hi, whats the behavior of idle regarding CAPCOM units? I observed the following: I have a 1 ms timer and a Sleep function based on the timer. The sleep function checks the elapsed time and if not finished go to the idle mode. Every ms the interrupt weakes the µC up and time is checked again. Works fine. Now I have generated a 1kHz signal using CAPCOM2 in compare mode 3. I started the signal generation and put a Sleep(1000) after it, to have the 1kHz signal for 1 sec on the pin. But nothing happens, it seems that the CAPCOM timer is stopped during idle. But the user manual say for idle, that peripherals are working?? Why the GPT timer is counting and the CAPCOM timer not? I'm using a C164CI as µC. Thanks for your help Bert Weber
Please provide me your email address, as I do have some questions. Thanks, Ursula Kelling (Ursula.Kelling@infineon.com)
Please provide me your email address, ...(Ursula.Kelling@infineon.com) Ursula, If you keep the discussion here, rather than by direct e-mail, everybody will benefit. Erik
I promiss to send the final answer back to the forum, but I do need more specific data to provide an answer. Ursula
Sometimes the questions asked can be the most informative of the whole discussion. Often when one is fighting a problem, being asked a question can make "the lightbulb come on" Erik