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.

How to config TIM5_OUT(pin H34) as input mode(as Z sate or capture mode)?

The datasheet of AM389x says the state of pin "TIM5_OUT(pin H34 mmuxed with GP0[29]) " is PULL:IPD/IPD and DRIVE:L/L when and after POR.  And I measured the level of this pin when POR,it's truely low. I want to config this pin as a pulse frequency detector(as input). I modified PINCCTRL204 as 0x00000010,but the level of the pin is still drive low.
So my question is how to config this pin as a input pin(use its capture mode)?

  • Hello,

    I'm not sure why you would select MUXMODE[2:0] for this pin to be 0x010.  If you want to use it as TIM5_OUT then MUXMODE[2:0] should be 0x000.

    Please refer to the Timers chapter of the device TRM for details on how to use the capture mode of the timer.

    Regards,
    Marc