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

Add info about default gpio drive mode #83

Open
microbit-carlos opened this issue Aug 31, 2018 · 2 comments
Open

Add info about default gpio drive mode #83

microbit-carlos opened this issue Aug 31, 2018 · 2 comments

Comments

@microbit-carlos
Copy link
Contributor

As discussed in the Slack channel, we don't provide information about what is the default drive mode for the pins (high drive @5ma or normal @0.5mA).

Would this be the best place to put it? Not sure: https://tech.microbit.org/hardware/edgeconnector_ds/
Maybe it should go to https://lancaster-university.github.io/ ?

@DavidWhaleMEF
Copy link

That page on tech is the best page, as it lists pin currents there already (and hints at high-drive). Although at the time we both wrote that page, @jaustin hadn't dug into the mbed code and we were not sure how it was configured, so we left it a bit vague. It would be good for someone to re-verify how pin modes are configured (stddrive or highdrive) and correctly document here.

Also, we have a document from a community member where they loaded up GPIO pins with decreasing resistor values and characterised the pin-voltage-derating that was described to us when I asked the question of nordic.

An engineer at nordic, at that time, ran code in a debugger and set a breakpoint and then inspected the pindrive registers, and confirmed to us that as of then (about early 2017) the pins were all in stddrive (0.5ma) mode. It might have changed since.

@microbit-carlos
Copy link
Contributor Author

Thanks David, so we still have an action left to double check if the Mbed default configuration is low drive. Once that's done we should update the docs here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants