This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

P89LPC935

I am trying to use the LPC935 to generate a PWM signal using Timer 0 in Mode 6 (TCON = 0x3A, TMOD = 0x02 and TAMOD = 0x01) The correct mode is selected and the timer appears to be functioning correctly, but the T0 (P1.2) pin does not toggle. I have set the pin as open drain and enabled the o/p facility in AUXR1 (set to 0x10).I have tested it on a custom board and also in the EPM900. What is the problem?

Parents Reply Children