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)
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.
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?
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 ?
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."
retrolefty:
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?
Of course they do, but since Australia is a place where practically everything is trying to kill you they don't have time to enjoy classic cinema! They are much too busy fending-off fatally poisonous snakes, spiders, toads, and duckbilled playpuses (well only the males have poisonous claws but that's roughly half of them). As well as potentially face-rending koloa bears, boxing kangroos, and baby stealing dingos. Heck, under certian circumstances even the trees explode! Steve Irwin was never acting for the camera, he just was displaying the attitude necessary to wake-up each morning and attempt to live your life there.
*****Note: All the above written with tounge firmly in cheek! *****
Getting more on-topic, that 4-pin JTAG debugging interface. I cant find a JTAG pinout that is less than 8 pins. Most are 14..20. The official schematic shows something that is clearly not what is on the photo. Any ideas?
The jtag connector at the top of the schematic is a standard 10-pin ARM pinout IIRC.
The 4-pin one at the bottom of the schematics looks to be what's loaded on the board.
If you look near the 4-pin header on the photo you can see provision for the 10-pin 50-mil pitch header. So I'd say you could go both ways, they must have a debugger in mind that uses the 4-pin version but are also allowing for a standard interface.
EDIT: I didn't realise it was so dangerous here, maybe I should emigrate :), mind you the snakes are getting active now we're warming up after winter, I've seen a 4' black snake, 8' python and a baby snake with a black and orange head in the last few days.
cmaglie:
Actually interrupt*() functions are not implemented yet.
Sorry for that guys, but we didn't had the time to implement it on time for launch, this is one of our high priority for the next 1.5.1, that will be released ASAP.
I added a warning about that in the first post in the thread.