Hello, I have a problem with the counter-Mode of the LPC3250. I work with a Phytec board and I want to use the timer3 as counter to counting an external signal. My code is:
TIMCLK_CTRL1 = 0x20; //timer3 clock enable int const intCap3 = 0x00000010; P_MUX_SET |= (intCap3); T3TCR = 0x00000010; // counter reset T3CTCR = 0x00000111; // T3TCR = 0x00000001; // counter enable
But is doesn't work and I don't have an idee what is wrong. Can someone help me?
With best regards Meyer