Skip to content

Corrected the pads for SDA2 and SCL2 on the Nano #152

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

Merged
merged 1 commit into from
Apr 13, 2020
Merged

Corrected the pads for SDA2 and SCL2 on the Nano #152

merged 1 commit into from
Apr 13, 2020

Conversation

PaulZC
Copy link
Contributor

@PaulZC PaulZC commented Apr 13, 2020

Hi Nathan (@nseidle ) / Owen (@oclyke),
I noticed a gremlin in the pin to pad mappings for the Artemis Nano. Pads 32 and 12 were allocated twice:
https://github.com/sparkfun/Arduino_Apollo3/blob/master/variants/redboard_artemis_nano/config/variant.cpp#L43-L46
Please check if this PR is valid, because (a) I don't have a Nano and (b) surely this means the Nano Qwiic port doesn't work at the moment?
Cheers,
Paul

@PaulZC PaulZC changed the title Corrected the pads for SDA2 and SCL2 Corrected the pads for SDA2 and SCL2 on the Nano Apr 13, 2020
@oclyke
Copy link
Contributor

oclyke commented Apr 13, 2020

Looks like a good fix to me! The reason the port still works is because the default Wire port gets associated with IOMaster 2, and the IOMaster peripherals don't have pin multiplexing. The fact that these were wrong would have only been discovered if someone tried to use the Qwiic pins directly, but that is unlikely. Anyway thanks a bunch for spotting that!

@oclyke oclyke merged commit d90e9a6 into sparkfun:master Apr 13, 2020
@PaulZC
Copy link
Contributor Author

PaulZC commented Apr 13, 2020

Cheers Owen - all the best,
Paul

@PaulZC PaulZC deleted the Nano_Pad_Corrections branch April 13, 2020 21:50
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

Successfully merging this pull request may close these issues.

2 participants