Part Number: TIDM-HV-1PH-DCAC
Other Parts Discussed in Thread: C2000WARE
In the voltage source inverter example solution for the TIDM-HV-1PH-DCAC kit, the GPIOs used for the two profiling pins (J9 on the baseboard) are incorrectly defined in the "voltagesourceinvlcfltr_settings.h" file.
This file defines them as GPIO 40 and 41:
#define GPIO_PROFILING1 40 #define GPIO_PROFILING1_SET GPIO_GPASET_GPIO40 #define GPIO_PROFILING1_CLEAR GPIO_GPACLEAR_GPIO40 #define GPIO_PROFILING1_PIN_CONFIG GPIO_40_GPIO40 #define GPIO_PROFILING2 41 #define GPIO_PROFILING2_SET GPIO_GPASET_GPIO41 #define GPIO_PROFILING2_CLEAR GPIO_GPACLEAR_GPIO41 #define GPIO_PROFILING2_PIN_CONFIG GPIO_41_GPIO41
However, the TIDM-HV-1PH-DCAC connects its profiling GPIO connector J9 to HSEC pins 108 and 110, which are actually GPIO 58 and 59 on the Control Card.
The definitions for those two pins should instead look like this:
#define GPIO_PROFILING1 58 #define GPIO_PROFILING1_SET GPIO_GPASET_GPIO58 #define GPIO_PROFILING1_CLEAR GPIO_GPACLEAR_GPIO58 #define GPIO_PROFILING1_PIN_CONFIG GPIO_58_GPIO58 #define GPIO_PROFILING2 59 #define GPIO_PROFILING2_SET GPIO_GPASET_GPIO59 #define GPIO_PROFILING2_CLEAR GPIO_GPACLEAR_GPIO59 #define GPIO_PROFILING2_PIN_CONFIG GPIO_59_GPIO59