Show Posts
Pages: 1 2 3 [4]
46  Products / Arduino Due / Re: I2C Voltage 5V or 3,3V? on: January 24, 2013, 04:15:45 pm
According to my reading of the datasheet, ALL IO pins are strictly 3.3V, no exceptions smiley-sad
47  Products / Arduino Due / Re: Minimum schematic design for arduino due on: January 23, 2013, 04:02:47 pm
Is this to use standalone or with Arduino IDE?

From quick look, the minimum you need is a 3.3V power supply, and either an RS232, USB or JTAG connector. A pullup on FWUP and probably access to the ERASE pin. I may have missed some things. For any real use you will also need to add the bypass capacitors to the power supply and other filtering. Aned the LED of course.

I think the simplest option is to use a TTL-Serial adaptor connected to the Debug UART and program via SAM-BA. If you want to program via Arduino IDE, I think you just need to add the "native" USB port. I don't think you need the ATMEGA16U2.

I have to wonder whether starting with a 144 LQFP SAM3X is the easiest way to get into building ARM boards. Something like SAM3S/3N would be simpler, although I like the NXP LPC1343 chips, they are really easy to use.
48  Products / Arduino Due / Re: Project targeting AVR and Due on: January 20, 2013, 01:26:44 pm
So if I have source code file, mydriver.c, I have to do

void driver_init ()
#if defined(__SAM3X8E__)
    // For the Due
    // for anything else

but I can't have files avr/mydriver.c and sam3x/driver.c ? 

Unless I include them in a top level file, I suppose. Still a bit messy.
49  Products / Arduino Due / Project targeting AVR and Due on: January 20, 2013, 10:15:47 am
Hi all, this is a newbie question smiley-lol

Can I create a project with source shared between AVR and Due boards, and then recompile for one or the other?

I expect there will be some code specific to AVR or ARM, I would normally (with other IDEs) put that into a sub-folder, then reference it accordingly from the top level. But it seems Arduino only compiles source code in the top level folder, and ignores sub-folders.

How would people manage this?

If this is an FAQ, I apologise, I couldn't find it mentioned anywhere.

Pages: 1 2 3 [4]