Part Number: SYSCONFIG
Other Parts Discussed in Thread: SIMPLELINK-CC13XX-CC26XX-SDK
We have a SysConfig design file for a CC1352P1F3RGZ based design that, with sysconfig_1.12.1, generates code that compiles without error. However, after updating to sysconfig_1.13.0, the generated ti_drivers_config.c code for the ADC driver sets adcCC26xxHWAttrs.adcCompBInput to a symbol that is not defined anywhere in the SDK - "ADC_COMPB_IN_ANAIO7" so the code does not compile. With sysconfig_1.12.1, this value was set to "ADC_COMPB_IN_AUXIO7", which is defined in the SDK.
Code generated by sysconfig_1.13.0:
const ADCCC26XX_HWAttrs adcCC26xxHWAttrs[CONFIG_ADC_COUNT] = {
/* CONFIG_ADC_0 */
{
.adcDIO = CONFIG_GPIO_ADC_0_AIN,
.adcCompBInput = ADC_COMPB_IN_ANAIO7,
.refSource = ADCCC26XX_FIXED_REFERENCE,
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
.inputScalingEnabled = true,
.refVoltage = 3300000,
.triggerSource = ADCCC26XX_TRIGGER_MANUAL,
.returnAdjustedVal = false
},
};
Code generated by sysconfig_1.12.0 for same design file:
const ADCCC26XX_HWAttrs adcCC26xxHWAttrs[CONFIG_ADC_COUNT] = {
/* CONFIG_ADC_0 */
{
.adcDIO = CONFIG_GPIO_ADC_0_AIN,
.adcCompBInput = ADC_COMPB_IN_AUXIO7,
.refSource = ADCCC26XX_FIXED_REFERENCE,
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_2P7_US,
.inputScalingEnabled = true,
.refVoltage = 3300000,
.triggerSource = ADCCC26XX_TRIGGER_MANUAL,
.returnAdjustedVal = false
},
};
Is there anything we can do to make sysconfig_1.13.1 generate proper code? Otherwise, we will be stuck with sysconfig_1.12.1 until this is fixed. Thanks.