Thanks for the answer.
I'm not sure if I understand it 100% now. And I really would like to because the project has still some undefined behavior. So I have some questions.
I want to trigger an ADC with a PIT timer. See the attached screen shots for the ADC and ADC_ETC configurations.
In the ADC_ETC configuration there is this 'XBAR triggers configurations' section. Do I understand correctly that this does not configure the XBAR itself, but selects which XBAR output is used and how this signal is used by the ADC_ETC peripheral?
I selected the 'CH0_XBAR_TRIG,0'. Does this refer to the ADC_ETC_TRIG00 output of the XBAR?
There is the warning 'Signal 0, channel XBAR0_TRIG is not routed'. Does this mean the XBAR is not configured to route a signal to the XBAR_TRIG0 output?
What does the 'Chain configuration' in the XBAR section mean? Are these the actions taken when the ADC_ETC is triggered? Is it fill in correctly (assuming I use ADC12_1 as ADC input)?
For the ADC peripheral I get the warning 'At least one of ADC_ETC hardware triggers needs to be routed'. Is this also because the XBAR is not configured?
Is it correct that I need to manualy make the XBAR connect input Pit Trigger 0 (I use PIT 0) to output ADC_ETC trigger 0?
Like this:
BOARD_ConfigMPU();
BOARD_InitBootPins();
BOARD_InitBootClocks();
BOARD_InitBootPeripherals();
BOARD_InitDebugConsole();
XBARA_Init(XBARA);
XBARA_SetSignalsConnection(XBARA, kXBARA1_InputPitTrigger0, kXBARA1_OutputAdcEtcTrig00);
All I want to accomplish is that PIT 0 triggers the ADC. Did I do it the correct way and can I really ignore the warnings?