Pages: [1] 2 3 4   Go Down
Author Topic: Arduino Due pinouts photo  (Read 9960 times)
0 Members and 1 Guest are viewing this topic.
Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This diagram is now superceeded by the excellent and highly detailed DUE pinouts diagram by Graynomad



Colors indicate comparison to the Mega2560 which has a similar shield connector pinout. Green means the same as Mega2560. Red is for warnings. Orange shows new functionality:

  • JTAG and SWD headers for debugging
  • DAC outputs
  • CAN bus
  • Two USB ports
  • erase switch

Please ignore the interrupt pins for now, these are not implemented in 1.5 but are planned for 1.5.1 so I will leave them where they are for the moment and revise when 1.5.1 comes out.

revision 2: correct labelling of USB ports, SPI not ICSP header.
revision 3: label JTAG and SWD pins, call out 16U2 ICSP (thanks to PeterVH)

The definitive source remains the official Arduino Due hardware page. This pinout photo overlay is just for convenience.


* ArduinoDue_Front3.png (407.03 KB, 800x527 - viewed 366 times.)
« Last Edit: November 14, 2012, 01:17:33 pm by Nantonos » Logged

Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, on further reading, the ICSP port is now called the SPI port because it is no longer used for programming, just for communication. Hmm. Edit: Maybe that explains why there is no ICSP header for the 16U2 that drives the USB Programming port. There is, its just moved relative to the Mega, as neuromancer2701 points out.

Its not clear what is driving the USB Native/USB Host port.
« Last Edit: October 22, 2012, 11:29:49 am by Nantonos » Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
  How do you determine which pins sink/source the two figures you have quoted for pin current ?

Duane B
Logged


Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
  How do you determine which pins sink/source the two figures you have quoted for pin current ?

Good question. the Due page is vague:

Quote
Each pin can provide (source) a current of 3 mA or 15 mA, depending on the pin, or receive (sink) a current of 6 mA or 9 mA, depending on the pin.
Logged

Lexington, SC
Offline Offline
Jr. Member
**
Karma: 1
Posts: 55
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There is a 6 pin ICSP header right next to the 16U2 that can be used to flash it.  What about the MacB connector on the schematic?  It is not laid out on the pcb?  Anyone know the point of that?
Logged

"Who left the fridge open?"
-Tugg Speedman
(Scorcher VI - Global Meltdown)

Forum Administrator
Offline Offline
God Member
*****
Karma: 52
Posts: 646
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

MacB is connected to the Ethernet Mac on the processor.
it's not on the PCB because there wasn't any room left in a decent spot.

it will be used for a future product.

m
Logged

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

If I read the data sheet correctly

15mA on these pins

PA0, PA7, PA9, PA[14-15], PA[18-19], PA[25-31]; PB[0-3]; PB8, PB[10-11], PB14, PB[22-24], PC[0-30], PD[0-30], PE[0-9],PE15, PE[17-21], PE23, PE25, PF[0-2]

3mA on these pins

PA[1-6], PA8, PA[10-13], PA[16-17], PA[20-24], PB[4-7], PB9, PB[12-13], PB[15-21],PB[25-31],PE[10-14], PE16, PE22,PE24, PE26, PF[3-5]

This needs mapping to the Arduino pins though.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Nice, France
Offline Offline
Full Member
***
Karma: 11
Posts: 237
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Rob. I will have a think on how to express that graphically. I think it would be clearest on a separate diagram.
Logged

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

Here's a quick first pass at the Arduino-to-15mA mappings. The pins with 15 at the end of the line should be high-current.


Code:

0   PA8          RX0
1   PA9          TX0                  15
2   PB25         Digital Pin 2
3   PC28         Digital Pin 3         15
4   PA29 and PC26   Digital Pin 4         15
5   PC25         Digital Pin 5         15
6   PC24         Digital Pin 6         15
7   PC23         Digital Pin 7         15
8   PC22         Digital Pin 8         15
9   PC21         Digital Pin 9         15
10   PA28 and PC29   Digital Pin 10         15
11   PD7          Digital Pin 11         15
12   PD8          Digital Pin 12         15
13   PB27   Digital Pin 13 / Amber LED "L"
14   PD4          TX3                  15
15   PD5           X3                  15
16   PA13         TX2
17   PA12         RX2
18   PA11         TX1
19   PA10         RX1
20   PB12         SDA
21   PB13         SCL
22   PB26         Digital Pin 22
23   PA14         Digital Pin 23         15
24   PA15         Digital Pin 24         15
25   PD0          Digital Pin 25         15
26   PD1          Digital pin 26         15
27   PD2          Digital Pin 27         15
28   PD3          Digital Pin 28         15
29   PD6          Digital Pin 29         15
30   PD9          Digital Pin 30         15
31   PA7          Digital Pin 31         15
32   PD10         Digital Pin 32
33   PC1          Digital Pin 33         15
34   PC2          Digital Pin 34         15
35   PC3          Digital Pin 35         15
36   PC4          Digital Pin 36         15
37   PC5          Digital Pin 37         15
38   PC6          Digital Pin 38         15
39   PC7          Digital Pin 39         15
40   PC8          Digital Pin 40         15
41   PC9          Digital Pin 41         15
42   PA19         Digital Pin 42         15
43   PA20         Digital Pin 43
44   PC19         Digital Pin 44         15
45   PC18         Digital Pin 45         15
46   PC17         Digital Pin 46         15
47   PC16         Digital Pin 47         15
48   PC15         Digital Pin 48         15
49   PC14         Digital Pin 49         15
50   PC13         Digital Pin 50         15   error?
51   PC13         Digital Pin 51         15  error?
52   PB21         Digital Pin 52
53   PB14         Digital Pin 53         15
54   PA16         Analog In 0
55   PA24         Analog In 1
56   PA23         Analog In 2
57   PA22         Analog In 3
58   PA6          Analog In 4
59   PA4          Analog In 5
60   PA3          Analog In 6
61   PA2          Analog In 7
62   PB17         Analog In 8
63   PB18         Analog In 9
64   PB19         Analog In 10
65   PB20         Analog In 11
66   PB15         DAC0
67   PB16         DAC1
68   PA1          CANRX
69   PA0          CANTX               15
70   PA17         SDA1
71   PA18         SCL2               15
72   PC30         LED "RX"
73   PA21         LED "TX"
74   PA25         (MISO)               15
75   PA26         (MOSI)               15
76   PA27         (SCLK)               15
77   PA28         (NPCS0)               15
78   PB23         (unconnected)         15
USB   PB11         ID                  15
USB   PB10         VBOF               15

Sorry for the crap formatting.

Note pins 50 and 51, I think there's a bug there. I'll have a look at the schematic.

EDIT: PC12 is pin 51.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
   I wondered if the limit was due to the total current limit of 150ma, i.e. if your using all the pins on account of the total limit you will only have 3mA per pin.

Graynomad,
   What part of the datasheet are you looking at ?

Duane B

Logged


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

Table 45-2, page 1389.

Pins in group 1 are 15/9, group 2 are 3/6 (source/sink) and the groups are defined in the footnotes at the bottom of the page.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

page 1389 - Were not in Kansas any more.

Duane B
Logged


Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17305
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

page 1389 - Were not in Kansas any more.

Duane B

Yes, we are going have to find a few lawyers to come on forum and participate in the Due postings.  smiley-wink
Logged

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

Quote
page 1389 - Were not in Kansas any more.
smiley-confuse, this must be a US thing is it?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17305
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
page 1389 - Were not in Kansas any more.
smiley-confuse, this must be a US thing is it?

______
Rob

It's a famous line from the classic movie The Wizard of Oz after Dorthy and her little dog are sweep up in a tornado and deposited in the land of Oz. Do you have no culture down under?  smiley-grin

Quote
From the 1939 film The Wizard of Oz in which Dorothy states "Toto, I've a feeling we're not in Kansas anymore."
« Last Edit: October 22, 2012, 01:38:14 pm by retrolefty » Logged

Pages: [1] 2 3 4   Go Up
Jump to: