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.
你好,我想知道在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;
}
你好,请查看下手册中这句话:
It is important to note that the function selected on the GPIO mux does not affect the Input X-BAR.
管脚复用是不会影响input X-BAR的,所以这里要对其进行配置。
28335是没有这个input X-BAR的。