Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi,
I think there is an error in a comment in example named gpio_ex1_setup that I imported od C2000Ware_5_04_00_00 library.
For eCAP1 module, ECCTL0 is set up like this: ECap1Regs.ECCTL0.bit.INPUTSEL = 7; // Select eCAP1 TO INPUT7
According of the Table 24.1 of TRM, I think the comment is wrong and it should be // Select eCAP1 TO INPUT8.
Please confirm that I'm right because I'm a little confused.
And in the example, we have the same error for all eCAPS.
Regards,
Adrien