Go Down

Topic: Arduino Due pinouts photo (Read 10 times) previous topic - next topic


Oct 22, 2012, 08:52 pm Last Edit: Oct 22, 2012, 08:54 pm by Far-seeker Reason: 1

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?  :D

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! ;) *****


I think you forgot the insects that live under toilet seats and bite your balls, and dropbears, and jellyfish. But yeah.


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?


Oct 22, 2012, 10:52 pm Last Edit: Oct 22, 2012, 11:29 pm by Graynomad Reason: 1
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.

Rob Gray aka the GRAYnomad www.robgray.com


I see in another thread:

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.


The four pin header labeled DEBUG on the pcb is the SWD (serial wire debug protocol) connector.
It uses jtag's TMS and TCK signals in another simpler protocol (only a clock and a data line are needed to communicate serially between the processor and a debugger).

The unpopulated pads are indeed a more complete jtag connector.
I looked up the pinout in the schematic:

                   RESET    TMS     TCK     GND
                         x         x        x          x 
RESET  x     x  GND
TDI       x     x
TDO     x     x  GND
TCK     x      x  GND
TMS     x      x  3V3     (<-- pin1)


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.

What is cool about the SAM3X is that every pin has the capability of being an interrupt(various different modes, rise edge, falling edge etc).  It will be interesting to see how this feature is implemented.
"Who left the fridge open?"
-Tugg Speedman
(Scorcher VI - Global Meltdown)


I've written code to do that on an LPC, maybe I'll port it across.

Rob Gray aka the GRAYnomad www.robgray.com


Oct 25, 2012, 02:26 pm Last Edit: Oct 25, 2012, 02:28 pm by Nantonos Reason: 1
PeterVH, thanks for the pinout details. I have updated the image in the first post of the thread.

I looked around for SWD breakouts and debuggers, did not find much. I found more i terms of breakouts for the full JTAG header, such as bus blaster which can be used with urJTAG. There is also a SWD library.

Most of the software I came across was pricey; this hitex serial wire viewer gives an idea of what can be done with the SWD interface. goJTAG looks interesting, with free software for Windows and Linux, and free training materials. It seems to use the picoTAP as a hardware connector, but I didn't see this on sale anywhere. However they do provide a schematic so I suppose clones are possible.

It would be nice to see in-circuit debugging integrated into a future version of the Arduino IDE.


Nov 11, 2012, 11:07 am Last Edit: Nov 11, 2012, 11:14 am by neslekkim Reason: 1
there is an post where some have mapped out the pins on the Mega:

Is the spi pins same on the Due? on the pic in the first post, I thought mosi was in pin 51, and ss in pin 53, but could not find the others, so I tried also to use the spi header in the middle of the board, but god knows what pins the SPI library on the Due is using.

In this list:
pin 74-77 seems to be spi related, where are those pin numbers?, is that the ones in the middle?
And also, in that list, pins 50-54 is listed just as digitalpins, if any pins are doing doubleduty, shouldnt that be mentioned here so it's easier to understand?
For me, when I am trying this spi stuff, I'm lead to belive the spi library is using software to do things, not the hardware?

Why didn't Arduino creators create an proper pinlayout for these boards?, even after one extra year of development/betatesting?


You're not alone in asking such questions, see here


Like I said in that thread, takes about 10 minutes to document such things.

Rob Gray aka the GRAYnomad www.robgray.com


These things are made for beginners?

Yes, you can make an led blink, or use the plain digital/analog pins easily, but, connecting to other modules without using shields should be even so easy.

I'd like somehting like what you did there, or something like this:
[img="pinout.png"][/img] (<== How I can refer to the attached picture? )


How I can refer to the attached picture?

AFAIK you have to have the image on the web somewhere and use the URL inside an [ img ] tag. Like this

Code: [Select]

I grabbed it and put it on my site :)

Rob Gray aka the GRAYnomad www.robgray.com


Now if anyone at Arduino.cc would read this..

For now, the Due food for the drawer.


I found the atmega pinout after rummaging through these forums:

And it seems the miso and sck at pin 50 and 52 are forgotten, they are printed on the pcb there.

and the atmega's icsp, there are no dot on the pcb to tell its orientation, did anyone find out how it's oriented?

Go Up