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.

TMS320F28377D: ecap和inputxbar 使用

Part Number: TMS320F28377D


你好,我想知道在28377d中,若是使用ecap功能,当管脚初始化为ecap复用功能后,为何还需要配置inputxbar?这点好像和335不大一样,335配置cap后,直接能用,是否有这点差异呢

TI例程中:

//
// InitECap1Gpio - Initialize ECAP1 GPIOs
//
void InitECap1Gpio(Uint16 pin)
{
EALLOW;
InputXbarRegs.INPUT7SELECT = pin; // Set eCAP1 source to GPIO-pin
EDIS;
}