Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/pba-d-01-kw2x: ADC channel mode #4140

Open
PeterKietzmann opened this issue Oct 23, 2015 · 9 comments
Open

boards/pba-d-01-kw2x: ADC channel mode #4140

PeterKietzmann opened this issue Oct 23, 2015 · 9 comments
Assignees
Labels
Area: drivers Area: Device drivers State: don't stale State: Tell state-bot to ignore this issue Type: question The issue poses a question regarding usage of RIOT

Comments

@PeterKietzmann
Copy link
Member

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)

@PeterKietzmann PeterKietzmann added Type: question The issue poses a question regarding usage of RIOT Area: drivers Area: Device drivers labels Oct 23, 2015
@miri64
Copy link
Member

miri64 commented Oct 18, 2016

@jfischer-phytec-iot ping?

@OlegHahm
Copy link
Member

Who else has the hardware to test it?

@PeterKietzmann
Copy link
Member Author

At least the config file has changed and the above mentioned hint disappeared from that file. I can check this again tomorrow.

@PeterKietzmann
Copy link
Member Author

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.

@aabadie
Copy link
Contributor

aabadie commented Apr 17, 2018

@PeterKietzmann is there still an issue here (since kinetis was refactored a lot recently) ? Maybe @gebart could help ?

@jnohlgard
Copy link
Member

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.

@kYc0o
Copy link
Contributor

kYc0o commented Apr 17, 2018

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.

@PeterKietzmann
Copy link
Member Author

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?

@stale
Copy link

stale bot commented Aug 10, 2019

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.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Aug 10, 2019
@PeterKietzmann PeterKietzmann added the State: don't stale State: Tell state-bot to ignore this issue label Aug 19, 2019
@stale stale bot removed the State: stale State: The issue / PR has no activity for >185 days label Aug 19, 2019
@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 22, 2021
@MrKevinWeiss MrKevinWeiss removed this from the Release 2021.07 milestone Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers State: don't stale State: Tell state-bot to ignore this issue Type: question The issue poses a question regarding usage of RIOT
Projects
None yet
Development

No branches or pull requests

8 participants