I need to figure out the period of a signal attached to AM335x ZCZ package, ball T6
The eCAP interface might be capable of using TIMER5 IO pin as an input source accoriding to (9.2.4.4.5 am335x_trm(REV I)). However I cannot seem to get anything to happen, and frankly I am struggling to parse table 9-5 with respect to the capabilities of the eCAP actually being able to capture that pin.
In short, is it possible to use ball T6 in mode(2) to trigger eCAP ?
If it is what muxes/setup do I need to set to do it? This is in u-boot by the way.
These are the pertinent registers right now;
PWMSS @ 48300000
idver: 47400001
sysconfig: 8
clkconfig: 111
clkstatus: 111
tsctr: 131ece1
ctrphs: 0
cap1: 0
cap2: 0
cap3: 0
cap4: 0
ecctl1: 1aa
ecctl2: 90
eceint: 0
ecflg: 0
ecclr: 0
ecfrc: 0
revid: 44d22100
Mux for ball T6: 2a
Mux timer_evt_capt: 0
Mux ecap_evt_capt: 0
pwmss_ctrl: 7
CM_PER_EPWMSS0_CLKCTRL: 2
CM_PER_L4LS_CKLSTCTRL: b004102
CM_PER_L4LS_CLKCTRL: 2
Cheers,
Geoff
--