Due pinout diagram

Thanks very much, it is a lot more readable now.

The ports and pins for the TX/RX leds should be swapped. The LEDs themselves are in the correct order (ON,L,TX,RX) but the ports and pins should be in the order D13,D73,D72 ; B.27,A.21,C.30 ; 68,107,103

About D77, what I meant was if you plugged your own LED (and resistor) into D10 on the board, Blink will flash it when led=10 or led=77. It isn't connected to any LED already on the board.

There are some other pin number oddities in arduino_due_x/variant.cpp, for example digitalWrite(79,HIGH) will set both pins 70 and 71 - I don't think it's helpful to add these to the diagram though.

@Markus

Done and uploaded.

TX0 RX0 may for USB programming isn'd obvious

Is that what you meant?

Stimmer, just saw what you wrote. Will respond shortly.


Rob

The ports and pins for the TX/RX leds should be swapped.

Done.

what I meant was if you plugged your own LED (and resistor) into D10 on the board, Blink will flash it when led=10 or led=77.

Ok, what I've done should be enough then I think.

for example digitalWrite(79,HIGH) will set both pins 70 and 71 - I don't think it's helpful to add these to the diagram though.

Probably not, if there are useful anomalies I'll add them, at this point I think the diagram is bordering on information overload but there may still be a few things worth adding.

Note that the PNG size is way smaller, I exported to PNG8 rather than PNG24, with the limited colour gamut being used I think that's OK but let me know if it stuffs anything up.


Rob

Do we already know what the four solder pads/holes on the left next to the ICSP (right below the 16u2) are connected to?

They are connected to the 16u2, Port B 4,5,6,7 (relative to the diagram, 4 is SE, 5 NE, 6 SW, 7 NW) Remember that they and the ICSP pins work at 5v logic level.

Graynomad:
Note that the PNG size is way smaller, I exported to PNG8 rather than PNG24, with the limited colour gamut being used I think that's OK but let me know if it stuffs anything up.

That is the correct thing to do; even with antialiasing there will still be enough colors.

(I'm one of the authors of the PNG format).

Continuing on graphic formats, both Adobe Illustrator (CS5) and Inkscape (0.48) choke on the Corel Draw file. Would it be possible to export to SVG? Or an earlier Corel Draw version, perhaps.

(I'm also one of the authors of SVG).

Nantonos:
Would it be possible to export to SVG?

Another vote from my side. :slight_smile:

Hi Rob,

I've just gone through it again, and may I kindly ask for some other updates:

  • port A.9 is also high current
  • mark the little grey square close to ICSP with "mega16U2"
  • would it make sense to add as well the erase button?
  • the contour of the DUE board is good visible on the screen, but not really when you print.
    Can you make the contour darker or with more contract?
  • add "TX0" on the board for port A.9
    and "RX0" for A.8
  • on the actual DUE itself, there are marks with long lines across the pins, like
    COMMUNICATIONS
    same for PWM and ANALOG IN
    Do you think it makes sense to add those as well?

I think your pinout approaches perfection :slight_smile:

thanks
-Dan

Do we already know what the four solder pads/holes on the left next to the ICSP (right below the 16u2) are connected to?

Stimmer is right about what that are connected to. Why they are connected is a mystery as those pins don't really have any special functions. When I design a board I often have a couple of spare pins broken out like that to allow pulse debugging with a logic analyser, maybe that's why they have done it.

Would it be possible to export to SVG?

Should be, I'll try that next update. @Nantonos, I won't try to tell you about graphics formats then :slight_smile:

EDIT: Just created an SVG, it had two issues but I uploaded anyway. It looks like crap in a browser, can you guys try in a graphics program.

  • port A.9 is also high current

Done

  • mark the little grey square close to ICSP with "mega16U2"

Done

  • would it make sense to add as well the erase button?

Done

  • the contour of the DUE board is good visible on the screen, but not really when you print.Can you make the contour darker or with more contract?

Done

  • add "TX0" on the board for port A.9 and "RX0" for A.8

Done

  • on the actual DUE itself, there are marks with long lines across the pins, like
    COMMUNICATIONS
    same for PWM and ANALOG IN
    Do you think it makes sense to add those as well?

I did think of that but felt that things are getting a bit crowded to add them. I'll try it out though and see how it looks.
Looks OK I think, we'll leave it there for the time being. See what people think.


Rob

Graynomad:
EDIT: Just created an SVG, it had two issues but I uploaded anyway. It looks like crap in a browser, can you guys try in a graphics program.

Looks great in Inkscape! Thanks for the good work.

Like D10 & D77, D87 works on D4 too comes from the bonded pins, and D86 works on Pin D52 it is SS2 the 3rd SPI select. Btw. did some one know where are the ADCs 8 and 9 are they missing?

did some one know where are the ADCs 8 and 9 are they missing?

Well spotted Markus

ADC8 -> B.12 -> SDA
ADC9 -> B.13 -> SCL

So it looks like you can get two more more ADCs if you aren't using that I2C port. However those two pins are pulled up by 1k5 resistors, so you'd have to drive the ADC with a low-impedance source.

D87 works on D4
D86 works on Pin D52 it is SS2 the 3rd SPI select

Added.

Unfortunately the 4th SPI CS pin is not connected.

Will upload new version soon.


Rob

Graynomad:

did some one know where are the ADCs 8 and 9 are they missing?

Well spotted Markus

ADC8 -> B.12 -> SDA
ADC9 -> B.13 -> SCL

So it looks like you can get two more more ADCs if you aren't using that I2C port. However those two pins are pulled up by 1k5 resistors, so you'd have to drive the ADC with a low-impedance source.

D87 works on D4
D86 works on Pin D52 it is SS2 the 3rd SPI select

Added.

Unfortunately the 4th SPI CS pin is not connected.

Will upload new version soon.


Rob

You make an great job, really amazing, in my way you can wipe the Unofficial from the sheet, talk to Massimo this can or should an official Pinout!

:slight_smile:

Thanks Markus you're too kind, but really I must insist, no applause, just throw money.


Rob

Just uploaded the latest version.

All above added plus some good news for those into audio codecs etc, all the SSC pins are available, this means you can play with I2S.

Notes to people using the vector versions.

The CC BY-SA logo is no longer a bit image, so that should scale properly without pixelating.

At some point I must have cut and pasted the entire drawing on top of itself. This means that there was two copies of everything, but they were in perfect register so you couldn't see any difference :slight_smile: I've slowly been removing duplicates but there are still many left I would think.

Note about the pin mapping duplicates

It it worth having the D10/77, D4/87 and D52/86 duplications? They do exist but is there any point in knowing this?


Rob

It is worth knowing about the D10/D77 and D4/D87 duplicates, because each of these duplicates actually refers to a different port and pin. Also people probably ought to know not to set D10 and D77 as output and then have one high and one low, because then there would be an effective short circuit (and similar with D4/D87). Given that the intended audience will probably be more advanced users I'd say it was worth having on the diagram. In any case it might help when we get the inevitable "Where's pin 77?" questions here on the forum.

The D52/D86 duplicate is the same port and pin, I don't know what the reasoning behind it is, maybe it could be removed.

Good reasoning Stimmer, I'll get rid of the D52/D86 duplicate.


Rob

Graynomad:
EDIT: Just created an SVG, it had two issues but I uploaded anyway. It looks like crap in a browser, can you guys try in a graphics program.

I fixed the issues (it uses SVG fonts, which browsers other than Opera don't support). Inkscape loads it and I re-saved from that, then used scour to get rid of needless bloat. Graynomand, if you pm me your mail address I will send you the fixed versions (work in Firefox, IE, Chrome, Opera).

Top left of the excellent diagram, explaining the color coding: "per A" / "Per B or X" - I am confused what the little black corner signifies. My guess is that the data sheet (AT91SAM) shows two variations a -A suffix and -X suffix. Is that it? And if it is, does it matter as the DUE probably comes with the same chip variation. The offical product page says SAM3X8E.

Msquare:
Top left of the excellent diagram, explaining the color coding: "per A" / "Per B or X" - I am confused what the little black corner signifies.

The IO Controller provides multiplexing of different Peripheral functions on a single pin, either A, B or extra (X).
This is a way to select one of them.
For more info, check the datasheet sections 11.3 and 32.5.3.

-Dan