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

Timer 0 output

I want to use Timer0 output to generate pulses on P0.3. For that I have configured MR0 to 0x00000001, PR to 0x0 and P0.3 as MAT0.0.I have also configured EMR (External Match Register) to toggle the P0.3 on every match of MR0 with TimerCounter.
The code I'm using is as below:

PINSEL0 = 0x00000080;   //P0.3 is configured as MAT0.0
PINSEL1 = 0x00000300;   //P0.22 is configured 2 MAT0.0

T0PR = 0x0;         // Prescale Register is set to 0
T0TCR = 0x00000002;// Reset Timer Counter and Prescaler
T0MR0 = 0x1;       // Match Register is set to 1
T0MCR = 0x00000002;// Reset TC when MR value matches
                   // with TC
T0EMR = 0x00000030;// External Match register0 is
                   // MAT0.0 and set to Toggle P0.3

T0TCR = 0x00000001;// Enable Timer Counter

The pulses are shown in Analyzer window during debugging and also P0.3 toggles.
But the pulses are not shown on the CRO (CRO is set at required settings)

0