Other Parts Discussed in Thread: SYSBIOS,
Tool/software:
Hi,
The fan control via epwm is running.
Unfortunately, it is not possible to determine the fan speed via ecap.
We use these instructions:
ti\pdk_am335x_1_0_13\packages\ti\starterware\include\ecap.h
After the calls of:
CHIPDBIsResourcePresent(CHIPDB_MOD_ID_PWMSS, instNum))
PRCMModuleEnable(CHIPDB_MOD_ID_PWMSS, instNum, 0);
instAddr = CHIPDBBaseAddress(CHIPDB_MOD_ID_PWMSS, instNum);
Calling ECAPClkEnable or ECAPSetOperMode leads to an error.
Do you have an example for ecap?