boards/pba-d-01-kw2x: ADC channel mode
According to the periph_conf.h there is a single channel mode on the phytec board, which prevents to use ADC_0_CH0 and ADC_0_CH1 separately, when set. Running the periph_adc test shows, that a signal at ADC_0_CH0_PIN affects both ADC_0_CH0 and ADC_0_CH1. A signal at ADC_0_CH1_PIN does nothing. So I assume we actually are in single mode. How can I change that mode? (I mean as a user, not as a developer)
@jfischer-phytec-iot ping?
Who else has the hardware to test it?
At least the config file has changed and the above mentioned hint disappeared from that file. I can check this again tomorrow.
This is still an open question. ADC_0_CH0 andADC_1_CH1 now refer to
{ ADC0, GPIO_PIN(PORT_E, 2), 1 },
{ ADC0, GPIO_PIN(PORT_E, 3), 1 },
I would vote to either remove the ADC channel on PTE3 (who ever used 6 ADC channels simultaneously?) or provide a switch plus explanation about this mode.
@PeterKietzmann is there still an issue here (since kinetis was refactored a lot recently) ? Maybe @gebart could help ?
It's still an issue, but we need to examine the pba-d-01-kw2x schematics to see what the best configuration could be here.
we need to examine the pba-d-01-kw2x schematics to see what the best configuration could be here.
Once we tried to get them (@cgundogan remember?) to add the button driver. We didn't receive any answer so we did it by looking directly at the board's lines and making tests with the ohmeter... A bit hard but not impossible.
In the end - I think - we just need a decision or preference how we do handle it. IMO it is also fine to go with 4-5 pre-configured ADCs. Anyway, for the question of configuration maybe this reference is sufficient?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.