Discussion Forum

ADuC845 PWM simulation

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
gao cheng
Posted
4-Aug-2005 15:29 GMT
Toolset
None
New! ADuC845 PWM simulation
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?
Read-Only
Author
Jon Ward
Posted
4-Aug-2005 15:52 GMT
Toolset
None
New! RE: ADuC845 PWM simulation
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
Read-Only
Author
gao cheng
Posted
5-Aug-2005 03:05 GMT
Toolset
None
New! RE: ADuC845 PWM simulation
Sorry, I stll cannot simulate the pwm wave.
Can you give me an example?
Read-Only
Author
Jon Ward
Posted
5-Aug-2005 04:33 GMT
Toolset
None
New! RE: ADuC845 PWM simulation
Go to http://www.keil.com/download/list/c51.htm and search for PWM. There are several there.

Jon

Next Thread | Thread List | Previous Thread Start a Thread | Settings