Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 15
121  Products / Arduino Due / Re: Which one is the working Due version? on: December 01, 2012, 08:29:06 am

Hey guys,

    I'm going to manufacture few pieces of Due PCB boards, but I'm really confusing about this above. The small chip 74LVC1G125DCK has been moved to left bottom corner. Seems that's the right position.

    The current EAGLE file released on Due production page matches the second one board in that picture. So it's not the latest one.

    Hope Arduino team release the latest one soon.


And the Story goes on,

I have buy just for fun an secound Due from ebay. And now there are the diff.

On the Due from ebay is everything the same, the box, the sticker and the package insert it looks in all way like the actuell one with all labels on the surface, except one part it has the Crystal for the RTC on the surface.

With this I have make an test I used stimmers Sketch for the,130125.msg980484.html#msg980484 RTC and put this in the void setup to use the external Crystal.

#define SUPC_KEY   0xA5u

void setup() {

So there we are if I used the internal RC the RTC lost 5sec in 1 Min so it is nearly 10% to slow with the external Crystal is goes sync with my PC clock.
122  Products / Arduino Due / Re: DUE temperature sensor API on: November 29, 2012, 02:12:18 am
Everybody may, use and criticize.
Thanks - I don't like your hair!  smiley-razz
Strange my wife say's the same.
123  Products / Arduino Due / Re: DUE temperature sensor API on: November 28, 2012, 10:50:05 am
So I make an shot for the Temp-Sensor on the SAM

float trans = 3.3/4096;
float offset = 0.8;
float factor = 0.00256;
int fixtemp = 27;

void setup() {

void loop() {
  float treal = fixtemp + (( trans * temperatur() ) - offset ) / factor;

uint32_t temperatur() {
  uint32_t ulValue = 0;
  uint32_t ulChannel;
  // Enable the corresponding channel
  adc_enable_channel(ADC, ADC_TEMPERATURE_SENSOR);

  // Enable the temperature sensor

  // Start the ADC

  // Wait for end of conversion
  while ((adc_get_status(ADC) & ADC_ISR_DRDY) != ADC_ISR_DRDY);

  // Read the value
  ulValue = adc_get_latest_value(ADC);

  // Disable the corresponding channel
  adc_disable_channel(ADC, ADC_TEMPERATURE_SENSOR);

  return ulValue;

Everybody may, use and criticize.
124  Products / Arduino Due / Re: Happiness is SdFat with DMA SPI on: November 28, 2012, 04:19:59 am
Please share the modifications with us.

Can't what for that.
125  Products / Arduino Due / Re: analog inputs on: November 23, 2012, 02:10:20 am
In some way both wrong,
No I said:-
The board has analogue inputs labeled A0 to A11 that's twelve inputs.
That is in no way incorrect.
The fact that the board has a few more analogue inputs dedicated to an other function was mentioned further back in the thread.

In fact you are wrong saying:-
there a 14 analog pins
There are in fact 15 analogue pins, the 16th input to the multiplexer is the internal temperature monitor.
But only 12 are supported in the software as used by the digitalRead(pin) function.

Yes Mike, you are right I'am wrong, my fault. I missed ADC14 on Pin52, and yes my wrong 12 supported by the corefiles from the IDE. Sorry.
126  Products / Arduino Due / Re: analog inputs on: November 22, 2012, 10:40:55 am
but I can't see more than 10 analog inputs on the board.
The board has analogue inputs labeled A0 to A11 that's twelve inputs.

In some way both wrong, there a 14 analog pins the last 2 are on TWI0 but they have Pull-ups
127  Products / Arduino Due / Re: How I can read and write data to flash memory? on: November 20, 2012, 05:33:34 am
Maybe someone can tweak the firmware from the 16u2 to let the SRam used by the SAM.
128  Products / Arduino Due / Re: Can't get Blink sketch (and others) to work on my Due on: November 20, 2012, 04:48:06 am
The upload looks ok, and I don't think it has something to do with the RTC crytal.

Did you install the inf for the nativ Usb-Port and try to program it from this one too?
129  Products / Arduino Due / Re: Native port driver BSoD on: November 20, 2012, 03:33:13 am
The question is why does it work on the most Windows Systems but not on all? What are the differences? There musst something that explains that.
130  Products / Arduino Due / Re: Native port max current on: November 19, 2012, 12:15:38 pm
What is the maximum current that the native USB port can handle when powering external devices like keyboards and mice.

Nearly 800mA it comes from the 5V at the Due
131  Products / Arduino Due / Re: wrong readings from ADXL345 on: November 19, 2012, 02:18:53 am
Hurray, we did it!
It works!
But I wonder, am I the only one who has noticed that?
Does not this mean that f.e ADXL345 library (and probably, many others?) must be corrected for DUE?

Hey Stan,

would you post your complete sketch, so we can see what you have done.
132  Products / Arduino Due / Re: How to use second I2C? on: November 18, 2012, 05:18:49 am
Did you use Wire.send... and so for the I2C for the I2C on top behind Aref you need to use Wire1.send...

And by the way on SCL1 SDA1 you need Pullups about 1.5kOhm on both. SCL0 SDA0 did have them build in.
133  Products / Arduino Due / Re: Peripheral DMA Controller (PDC) driver for SAM on: November 18, 2012, 03:18:37 am
Do you have a link for this (or if it is in the Arduino tree, the path)?

And is there a library for the other DMA controller (the AHB one)? I have been trying to program the DMA hardware registers directly and my head just exploded smiley-eek-blue

Install Atmelstudio 6 and the latest Framework, if you look at the "LIN_MNGT_EXAMPLE1" from the asf there you find some files specialy the pdc.h and .c
134  Products / Arduino Due / Peripheral DMA Controller (PDC) driver for SAM on: November 17, 2012, 05:43:13 pm

did someone take a look at this part of the SAM and did the pdc lib from the Atmel Framework port to Arduino?

I think sounds intresting to have transmitting done without the core involved.


135  Products / Arduino Due / Re: Due pinout diagram on: November 16, 2012, 06:06:46 am
did some one know where are the ADCs 8 and 9 are they missing?
Well spotted Markus

ADC8 -> B.12 -> SDA
ADC9 -> B.13 -> SCL

So it looks like you can get two more more ADCs if you aren't using that I2C port. However those two pins are pulled up by 1k5 resistors, so you'd have to drive the ADC with a low-impedance source.

D87 works on D4
D86 works on Pin D52 it is SS2 the 3rd SPI select

Unfortunately the 4th SPI CS pin is not connected.

Will upload new version soon.


You make an great job, really amazing, in my way you can wipe the Unofficial from the sheet, talk to Massimo this can or should an official Pinout!
Pages: 1 ... 7 8 [9] 10 11 ... 15