Hi
I might have found a bug in the Config Tool (Version 1.8)
(Using RT1064 with SDK version 2.8.5, and MCUXpresso 11.2.0)
I the ADC_EXT I want to configure 2 conversion chains. One using ADC1 and one Using ADC2.
The first chain called TC_0 finalizes with a Done 0 interrupt, and the second chain called TC_1 finalizes with a Done 1 interrupt.
In the Config Tool I noticed that "Trigger group" is "0" for both trigger groups, and it was not possible to change the value.
This results in the following code in peripherals.h file:
--- snippet ---
enum ADC_ETC_trigger_config_names
{
ADC_ETC_TC_0 = 0U,
ADC_ETC_TC_1 = 1U
};
/* Definition of the names for trigger group parameter of multiple functions, like ADC_ETC_SetTriggerConfig() and ADC_ETC_SetTriggerChainConfig(). */
enum ADC_ETC_trigger_config_trigger_group_names
{
ADC_ETC_TC_0_TG = 0U,
ADC_ETC_TC_1_TG = 0U
};
--- snippet end ---
And it is the ADC_ETC_TC_1_TG = 0U that is the problem, it should have been ADC_ETC_TC_1_TG = 1U in my opinion.
I tried to look for it in the mex-file, but the chain group identifier was not listed here. ???
Am I right? What am I doing wrong.
BR
Kasper