Pages: 1 ... 7 8 [9] 10 11   Go Down
Author Topic: Due pinout diagram  (Read 130830 times)
0 Members and 2 Guests are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nobody seemed to have asked these questions before, so I'll ask it now:
1. Why do all pins have a "Digital Pin" and "Physical Pin" and "Port Pin" alias? Where are these aliases used to refer to these pins - for instance, when would I need to refer to pin A3 by A.22, or AD4, or D57, or 81?
2. There seem to be many Reset pins. What does the Reset pin in the SPI cluster reset?
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8472
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Digital pin is the Arduino name and that's what most people would use.

Port pin is for those who are working directly with ports and not the Arduino abstraction layer.

Physical pin is for those who need to actual probe the chip and therefore have to know the real pin.

I don't think there's any programming syntax that uses say "A.22" as such, that's just a common way to indicate bit 22 of port A.
Likewise for ADn, but if you are working directly with the ADC hardware you need to know what actual input is being addressed and "AD4" is as good a way as any to do that and the terminology used by Atmel.

Use A3 (for example) for analogRead().

Just the number for digitalRead/Write, ie 57 not D57.

AFAIK all the reset pins go to the same place, it's just that the various connectors use the signal at different times.

_____
Rob

Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for this - It is really helpful!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Excellent post  smiley. Thanks for this. Very helpfull!
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8472
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Glad to help.

_____
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

where did you get the info on the high current vs low current pins?  I'd like to map out some other pins from a design i'm working on but i can't figure out whether they are the high current or low current pins. smiley-sad
Logged

Canada
Offline Offline
Sr. Member
****
Karma: 13
Posts: 401
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See page 1391: http://www.atmel.com/Images/doc11057.pdf
Logged

Electricity is really just organized lightning - George Carlin

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks!! smiley-grin
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

GreyNomad,

You said: "I have also completely lost interest in the Due for a couple of reasons."

Why? Isn´t it a very good board?

Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8472
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmmm, did I say that did I smiley

There's nothing wrong with the Due, it's just that IMO it could have been a lot better. They ignored most of the neat hardware the chip has, mostly I assume in favour of Mega shield compatibility, so we have a powerful ARM board that can flash 54 LEDs but cannot interface correctly to an SD card, external memory or Ethernet.

I think it could have kept Duemilanove/Uno shield compatibility and used the spare pins for more useful functions. But then I would think that because it's exactly what I've done with my latest Mega2560 design and plan to do with a SAM design soon smiley

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just wanted to thank you for putting out this diagram. It has helped a lot.

But I would like to have one addition to this diagram. The addition of quadrature inputs would be a great help.

Also, if you can make a second diagram that listed the primary pin designations and has a empty box so that the user can designate what pens are used for what purpose in their project, it would be very helpful.


Again, thank you, it has been a great help.

Joe.
Logged

Canada
Offline Offline
Sr. Member
****
Karma: 13
Posts: 401
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


promacjoe, there's a spreadsheet available here that might help.
Logged

Electricity is really just organized lightning - George Carlin

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The spreadsheet is nice, But if the spreadsheet was all that was needed, this thread would never have been started.
the graphical representation of the board that is presented here is much easier to read and understand.
Being able to see and to locate each pen and its corresponding use is much better than a spreadsheet.
Although a spreadsheet can display more data, is just not the same.

Thank you for your reply and I will look over the spreadsheet.

Joe.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the answer, GreyNomad.

I just published one article about the ARDUINO DUE board and included your pinout diagram (and gave all the credits to you and your webSite). (Portuguese - Brazil)

http://www.embarcados.com.br/arduino-due/

About the peripherals to interface with SD card, external memory or Ethernet not be available in Arduino DUE, I have the same criticism.

I´m writing one article for the next week analyzing specifically the DUE´s sch, that I´m going to include this type of concern.

Regards, Thiago
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8472
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I´m writing one article for the next week analyzing specifically the DUE´s sch, that I´m going to include this type of concern.
Please post a link when it published.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: 1 ... 7 8 [9] 10 11   Go Up
Jump to: