Can I simulate the output pin of a PWM channel using the Logic Analyzer in KEIL simulator?
Thanx for your answer, and sorry that I was not clear enough. I am Using C167CR-LM microcontroller, and i am trying to simulate the PWM output pin, everything is going fine with the simulation of the PWM module. But What I want is to show the POUT signal of the PWM on the Logic Analyzer. I tryed to define the signal as POUT7.0 but it does not work.
So my question is can I show the POUT signal of the PWM in the C167CR-LM MCU on the Logic Analyzer?
To add P7.0 signal to the logic analyzer:
1) When the logic analyzer screen Click the Setup button 2) Add PORT7 to the Current Logic Analyzer Signals 3) For Signal Display type select Bit 4) For And Mask type 1 5) For Shift Right type 0
Thanx, I did exactly what you have told me from the right begining but it doesn't work. But now I know why, it because i thought that the values in the MASK field are binary not hexadecimal :)
Thank you again
Binary or hexadecimal?
A value is always a number. You may then choose to represent the number in decimal, hexadecimal or octal form. A few compilers has also added the non-standard extension of allowin a binary representation.
But whatever representation that is used in the source code, the value still represents the same number.