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

Datasheet for Nano Every/Wifi Rev 2 entries for I2C and A4/A5, A6/A7 query? #116

Open
diyelectromusic opened this issue Dec 14, 2021 · 3 comments
Labels
bug Something isn't working documentation

Comments

@diyelectromusic
Copy link

The datasheet/pinout for the Nano Every shows A4/A5 as PA2/PA3, but from my reading of the ATMega4809 datasheet, these are not the I2C port that will also support the ADC. The code in pins_arduino.h suggests these are actually PF2/PF3 which does support both I2C and AIN12/13.

Similarly, for the Wifi Rev 2, A4/A5 are listed as PD4/PD5 (18/19) but the SDA/SCL additional pins are also listed as (18/19) but on PA2/PA3.

Is this correct?

@facchinm facchinm added documentation bug Something isn't working labels Dec 15, 2021
@facchinm
Copy link
Member

I just checked the datasheets and in fact you are right.
The dual I2C/analog functionality is obtained by shorting the pins internally (can be seen in the actual schematics).
For example, in the Nano Every, A4/SDA is connected to both PA2 and PF2, while A5/SCL is internally routed to PA3/PF3

@per1234 can you assign it to the right person to fix the pinout files? Thx 🙂

@per1234
Copy link
Contributor

per1234 commented Dec 15, 2021

I believe @FunzioneFabio is our resident pinout diagram wizard. Are you able to help us out with this @FunzioneFabio?

@FunzioneFabio
Copy link

Thank you @diyelectromusic for spotting the error, the pinouts now are fixed and online!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation
Projects
None yet
Development

No branches or pull requests

4 participants