Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« on: October 22, 2012, 07:00:00 am » |
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.
|
|
|
|
« Last Edit: November 14, 2012, 01:17:33 pm by Nantonos »
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #1 on: October 22, 2012, 07:11:22 am » |
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
Edison Member
Karma: 20
Posts: 1637
|
 |
« Reply #2 on: October 22, 2012, 07:15:12 am » |
Hi, How do you determine which pins sink/source the two figures you have quoted for pin current ?
Duane B
|
|
|
|
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #3 on: October 22, 2012, 07:19:54 am » |
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: 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
Jr. Member
Karma: 0
Posts: 54
|
 |
« Reply #4 on: October 22, 2012, 07:52:42 am » |
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
God Member
Karma: 44
Posts: 616
I find plain exciting
|
 |
« Reply #5 on: October 22, 2012, 07:55:55 am » |
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
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #6 on: October 22, 2012, 10:57:58 am » |
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
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #7 on: October 22, 2012, 11:16:01 am » |
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
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #8 on: October 22, 2012, 11:37:35 am » |
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. 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
|
|
|
|
|
Dubai, UAE
Offline
Edison Member
Karma: 20
Posts: 1637
|
 |
« Reply #9 on: October 22, 2012, 11:39:43 am » |
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
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #10 on: October 22, 2012, 11:44:46 am » |
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
|
|
|
|
|
Dubai, UAE
Offline
Edison Member
Karma: 20
Posts: 1637
|
 |
« Reply #11 on: October 22, 2012, 11:52:50 am » |
page 1389 - Were not in Kansas any more.
Duane B
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15443
Measurement changes behavior
|
 |
« Reply #12 on: October 22, 2012, 11:56:26 am » |
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. 
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 75
Posts: 6975
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #13 on: October 22, 2012, 01:30:58 pm » |
page 1389 - Were not in Kansas any more.  , this must be a US thing is it? ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15443
Measurement changes behavior
|
 |
« Reply #14 on: October 22, 2012, 01:36:09 pm » |
page 1389 - Were not in Kansas any more.  , 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?  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
|
|
|
|
|
|