I want use UV3's logic analyzer simulate the ADuC845 PWM wave. by the command: LA P2.5 LA P2.6 but I cannot see the wave in the logic analyzer's output window! they display two beeline. Then How Can I simulate the ADuC845 PWM ouput?
You probably want to watch bit 5 and bit 6 or PORT2 (these are the simulated pins on the chip). P2.5 is the internal latch for Port 2. In the setup dialog for the logic analyzer, make sure you set the AND mask, the number of bits to shift, and the min and max values (0 and 1). Jon
Sorry, I stll cannot simulate the pwm wave. Can you give me an example?
Go to http://www.keil.com/download/list/c51.htm and search for PWM. There are several there. Jon