Hello everyone,
1) When I try to setup the ADC to work together BCTU, the setup only works if we using ADC_0 and BCTU_0.
If I change ADC_0 to ADC_1, the notification doesn't work.
I used the example "Adc_Sar_Bctu_Ip_example_S32K344", this example is configured using ADC_0, BCTU_EMIOS_0_0 and BCTU_FIFO1. If I change the ADC_0 to ADC_1 it doesn't work. Why is it occur? (I am testing the part 2 of this example "Part 2: The sequences of conversion is triggered using SW triggering from BCTU, the ADC results are stored in FIFO index 1").
2) About another point, I would like to read the 3 ADC instances in the same time, I understand what we need to configure each instance with different channel of BCTU, for example:
ADC_0 - BCTU_EMIOS_0_0
ADC_1 - BCTU_EMIOS_0_1
ADC_2 - BCTU_EMIOS_0_2
Is it correct?
3) And about the BCTU_FIFO1, we need to use different FIFO for each setup to read the ADC instances in the same time or we can use only BCTU_FIFO1 in all setups?
I asked it because there are only two options (FIFO1 and FIFO2) and three ADC instances (ADC_0, ADC_1 and ADC_2). Such as:
ADC_0 - BCTU_EMIOS_0_0 - BCTU_FIFO1
ADC_1 - BCTU_EMIOS_0_1 - BCTU_FIFO1
ADC_2 - BCTU_EMIOS_0_2 - BCTU_FIFO1
Or
ADC_0 - BCTU_EMIOS_0_0 - BCTU_FIFO1
ADC_1 - BCTU_EMIOS_0_1 - BCTU_FIFO2
ADC_2 - BCTU_EMIOS_0_2 - ???
Thanks,
Marcus