Thank you, Filip. The hot-fix fixes the first issue.
But I still get the error "Pins with shared control must be set identically" on some input pins for ADC1. I think it is the same error you saw and you resolved by changing the value of the last pin.
I think this issue is due to the fact that in my board with Kinetis K20 cpu I have the following analog input channel to measure:
- ADC1_SE4a (pin 1, PTE0)
- ADC1_SE5a (pin 2, PTE1)
- ADC1_SE6a (pin 3, PTE2)
- ADC1_SE7a (pin 4, PTE3)
- ADC1_SE4b (pin 80, PTC8)
As you have seen, if I change the last analog input channel to another available one (e.g. TempSensor), the error disappears.
So I think my issue is due to the K20 analog input MUX for the ADCx_SEn analog input channel.
Is ADC_LDD embedded component able to control the K20 analog input MUX too ?
If yes, how?
If not, should I control the K20 analog input MUX run-time in my application, driving the MUXSEL bit of the K20 ADC1_CFG2 register, when I have to measure those analog input channels ? (e.g., to read ADC1_SE4b I suppose to select ADC1_SE4a on ADC_LDD, set the MUXSEL bit, then trigger the A/D conversion)
Best Regards
Alessandro