This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

question:DM8148 timer5 work in capture mode?

   //set GPIO0[19] as timer5_io_mux
 MUX_VAL(PINCNTL48, (IEN | IPD | FCN7 )) /* TIMER5_IO_MUX */\
 MUX_VAL(PINCNTL128, (IEN | IPD | FCN8 )) /* TIMER5_IO_MUX_DISABLE */\
 MUX_VAL(PINCNTL7, (IEN | IPD | FCN1 )) /* TIMER5_IO_MUX_DISABLE */\
 MUX_VAL(PINCNTL112, (IEN | IPD | FCN8 )) /* TIMER5_IO_MUX_DISABLE */\
 
 //set timer5_io_mux input
 volatile uint32_t GPIO0_OE = 0x48032134;
 ulTemp = *(uint32_t*)(GPIO0_OE);
 
 delete setting the timer5_io_mux input code above ,the case is same. 
 
 //init timer 5 as below
 // enable wakeup
    TIMER_IRQWAKEEN = 0x4;

 // enable the tcar interrupt
    TIMER_IRQENABLE_SET = 0x4;

    // capture  second events , falling edge ,AR, start timer
 TCLR = 0x2203;
   
 also, i print the register value of timer5
    find information below:
 the TRCC value changes continuous,it looks like the timers is working .
 when the value reach 0xffffffff, the flag of overflow in register TIMER5_IRQSTATUS_RAW  is set .
 the overflow interrupt happens ,but i don't enable the overflow interrupt.
 
 input Vp = 1.5V pulse ,but no interrupt happend.
 if input Vp > 1.8V  pulse ,the system hang . 
 


 i want to know the capture trigger voltage ?
 why the capture interrupt can't be trigger?
 anybody can help me ?   thanks.