Go Down

Topic: Due pinout diagram (Read 166457 times) previous topic - next topic

panzar


Thanks panzar, for the moment just a jpeg maybe 2000px on the long side will do. If possible square, shot from as far away as possible with a long lens, no pincushion/barrel distortion, even light, no hot spots etc. :)

You can email me rob@robgray.com.

EDIT: Oh, and a plane background, doesn't matter what colour.

______
Rob


Lightroom lens correction FTW ;)

I`ll have a try tonight

ohhh and keep it man it looks like you are eating the datasheet :D

Graynomad

#16
Nov 13, 2012, 04:21 pm Last Edit: Nov 13, 2012, 04:49 pm by Graynomad Reason: 1
@neslekkim
Yes I'm happy to do the ICSP, SPI and SWD pinouts and anything else that's useful, as you said though we need to know which PCB layout is correct for the future.

What do you mean by "cortex"?

Quote
looks like you are eating the datasheet

My brain literally does hurt from nutting this lot out. Yes I can correct pincushion and barrel distortion in Photoshop :)

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

CrossRoads

Awesome work so far Rob.
What a confusing data sheet.
Looks like there are multiple sets of SPI controllers  - I don't see how they make it to IO pins tho.
For example PA25-26-27-28 make up SPI 0 with 3 additional chip selects on PA29-30-31 - where are are PA30-31 on the Due schematic? PA25-26-27 only seem to be on a 2x3 header?
Similarly for PE28-29-30-31 for 2nd SPI - what pins do they get multiplexed onto? I can't tell from the data sheet, same for the additional chip selects on PF0,1,2.


Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Markus_L811


Here's the current version, it's growed a bit.



Link to larger version

www.robgray.com/temp/Due-pinout-1.jpg

My brain hurts from checking and cross checking and it's very likely that there are errors at this point. Feel free to point them out :)

Note the extra serial port (Serial4?), not supported as far as I can see but there none the less.

______
Rob


Giant work, cool. Can you send the cdr file too?

neslekkim


What do you mean by "cortex"?


the tiny connector, jtag, 2x5 pin, is an socalled Cortex debug port, atleast people have told me that.
http://infocenter.arm.com/help/topic/com.arm.doc.faqs/attached/13634/cortex_debug_connectors.pdf
(maybe there is an better name out there)

neslekkim


Awesome work so far Rob.
What a confusing data sheet.
Looks like there are multiple sets of SPI controllers  - I don't see how they make it to IO pins tho.
For example PA25-26-27-28 make up SPI 0 with 3 additional chip selects on PA29-30-31 - where are are PA30-31 on the Due schematic? PA25-26-27 only seem to be on a 2x3 header?
Similarly for PE28-29-30-31 for 2nd SPI - what pins do they get multiplexed onto? I can't tell from the data sheet, same for the additional chip selects on PF0,1,2.


Is it strange that I didn't get SPI to work ? :)

pins 50-53 is supposed to be spi also?.

C:\arduino-1.5.1r2\hardware\arduino\sam\system\CMSIS\Device\ATMEL\sam3xa\include\instance
In that folder, it seems that there are two spi controllers yes, but the spi library seems to ignore that fact, and I couldnt find out which of them its using.


Nantonos

#21
Nov 13, 2012, 08:44 pm Last Edit: Nov 13, 2012, 08:56 pm by Nantonos Reason: 1

After much discussion about pinout diagrams and Arduino documentaion I decided it's time to put my money time where my mouth is and make a start on a pinout diagram for the Due

If there's any interest I'll continue with it.


That adds a bunch more detail than the one I did (which was based on the one I did for the Mega2560, which in turn was based on Nick's original for the Uno R3). Overall I prefer it (though it is going to get crowded for the double row of headers at the back of the board.

How about you continue to work on it and then I add it to the (now stickied, I see) Due pinout thread?

Graynomad

@Crossroads
Yes these ARM chips are way more complicated, I usually have to do a spread sheet to keep track of the pin options used or it gets out of hand.
I'll be looking into the SPI stuff today probably.

I think I'll add another type of label, maybe "other useful functions" for things like external memory, the unsupported serial port, extra SPIs, SPIs on USARTs etc. I'll check out the pins you mentioned.

@Markus_L811
I'll add a link to the CDR file on the first post sometime today.

@neslekkim
Good a name as any I think. On the Due it appears to be the standard Cortex 2x5 pinout. I'll be checking that.

Quote
but the spi library seems to ignore that fact,

I think a lot of the hardware is not yet supported. Massimo said that they decided to get the hardware out even though they hadn't written every driver or library. I assume that they will come along before long or that others will step up and write some code.

@Nantonos
Quote
How about you continue to work on it and then I add it to the (now stickied, I see) Due pinout thread?

Happy to do so, I plan to pirate some of your pinout info :)

@all
Note that the latest version of the drawing will now always be linked to from the first post on this thread.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Graynomad

I've been trying to get a clear version of the SPI pinouts while using a photo of the board however I just don't think it's possible without pulling the header images out from the board, something I don't want to do.

So I've done a version with a vector graphic in place of the photo, I will add some more details but I think it's clearer. The photo looks nice but at the end of the day it adds little to the object of the document.

Here's a sample with the new graphic, you'll notice that I am now able to place the SPI labels in an appropriate place. This should work OK for all of the internal headers although the Cortex debugging one might be a problem.

www.robgray.com/temp/Due-pinout-temp.jpg

Comments?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Nantonos

Yes, the vector represetation of the board reduces clutter, while still being clear enough with the board in your hand.

Incidentally PNG is a better raster format for sharp-edged artwork than JPEG, which is at its worst on this sort of image. SVG would also be a useful option.

Markus_L811


I've been trying to get a clear version of the SPI pinouts while using a photo of the board however I just don't think it's possible without pulling the header images out from the board, something I don't want to do.

So I've done a version with a vector graphic in place of the photo, I will add some more details but I think it's clearer. The photo looks nice but at the end of the day it adds little to the object of the document.

Here's a sample with the new graphic, you'll notice that I am now able to place the SPI labels in an appropriate place. This should work OK for all of the internal headers although the Cortex debugging one might be a problem.

www.robgray.com/temp/Due-pinout-temp.jpg

Comments?

______
Rob


Think its easier to read. Btw. has the TWI on the top near the reset no pull-ups?

neslekkim

#26
Nov 14, 2012, 10:52 am Last Edit: Nov 14, 2012, 10:57 am by neslekkim Reason: 1

Here's a sample with the new graphic, you'll notice that I am now able to place the SPI labels in an appropriate place. This should work OK for all of the internal headers although the Cortex debugging one might be a problem.

www.robgray.com/temp/Due-pinout-temp.jpg

That is awesomely a lot better!

(If you have to increase size etc, I would prefer that it would scale/fit on an A4/Letter papersize, I'm going to print it out fullsize for reference)

I guess you are going to mark the usb ports also? which is native, which is programming, strange that they are not labeled on the board..

neslekkim

Just noticed one thing, the headers, VIN, do that pin give the same level as the input?, so If I use an 12volt adapter, I will get 12volt there?
If so, that is really something to be aware of.. I newer knew that..

Graynomad

#28
Nov 14, 2012, 11:46 am Last Edit: Nov 14, 2012, 11:57 am by Graynomad Reason: 1
Quote
has the TWI on the top near the reset no pull-ups

No pullups on the main I2C.

Quote
I would prefer that it would scale/fit on an A4/Letter papersize

At present it needs an A1 sheet, how large is your printer :) But it's all vector based so should scale to anything.

Quote
VIN, do that pin give the same level as the input?

VIN is the same everywhere, if you have 12v on the barrel jack you'll have 12v on the header pin. That said, if you're drawing a lot of current it would be better not to run it through the PCB.

Quote
VIN, do that pin give the same level as the input?

Yeah, that was just a quicky at hi-compression to show the new design, and the PNG was too large.

_____
Rob
Rob Gray aka the GRAYnomad www.robgray.com

neslekkim


Quote
VIN, do that pin give the same level as the input?

VIN is the same everywhere, if you have 12v on the barrel jack you'll have 12v on the header pin. That said, if you're drawing a lot of current it would be better not to run it through the PCB.


Wops, I haven't read it as VIN, I have read it as vcc :), thank god I have used only usb power, and breadboard psu so far :)

Go Up