We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
On the hardware - of course, it's open drain. But how do you fit a pull-up resistor to the simulator (don't answer that!!!!). It doesn't work there either.