Show Posts
Pages: 1 [2] 3 4 ... 10
16  Products / Arduino Due / Re: Arduino due dont work some code on: April 21, 2014, 10:05:26 am
How much EEPROM does a Due have?
The Arduino Due got no eeprom (at least not in the sam3x chip).
17  Products / Arduino Due / Re: Interested in ARM arquitecture on: April 12, 2014, 02:55:11 am
Gericom, thank you for your answer,

Maybe it could be programmed using Atmel Studio 6.

I think this link is interesting for someone trying to learn ARM architecture:

Probably. Personally I don't find arm (the due uses thumb only, but it's quite the same) very difficult. You may want to use this as a simple reference:
It is for arm, but as I said, it may be partly used for thumb aswell.
18  Products / Arduino Due / Re: Interested in ARM arquitecture on: April 11, 2014, 11:02:53 am
Hello, I am interested about learning ARM architecture and how to program it.

Well, I have several questions:

Can I program Arduino Due in Assembly language ?
Could you tell me any good tutorial about it ?
Do you know any good book or tutorial about programming ARM or its architecture ?

A good answer would be very appreciated
Yes, you can program the arduino due in assembly language, but only using inline asm by default. (I think that using .s files might be possible as well with some little changes in the ide)
19  Products / Arduino Due / Re: Storing data on Arduino DUE on: March 21, 2014, 09:08:26 am
Did you read the bit where it says :- 96 KBytes of SRAM
That means that the Due as most ram than most Arduino have flash / eeprom / sram put together.
o.k 96k of ram , 5 seconds , 4 sensors
4 sensors at 32 bits each ( 4 bytes )  4 * 4 = 16 byte
96k and say 80k usable ? ( 80 * 1024 )  / 16 = 5120 * 5 seconds  = 25600 seconds of 4 sensor data.
25600 / 60 / 60 about 7 hours of data , without storing it , And you can double that for you only need 16 bit per cell .
Yea, I know the arduino due got not a lot of ram, but I am not sure if storing in the flash is a good idea. Maybe you can better get an external memory chip the sam3x can interface natively. (Look in the datasheet)
20  Products / Arduino Due / Re: Storing data on Arduino DUE on: March 20, 2014, 02:05:48 pm
I wanted to store information on the arduino DUE board. I want to store the readings taken from four different types of sensors every 5s. How can I accomplish this, as most of the examples shown are in relation to other boards? How do I store these values into the FLASH memory? Any help or guidance would be appreciated.
Why do you want to save in flash?
21  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 13, 2014, 08:33:33 am
When using the native port, do it like this:
void setup()                    // run once, when the sketch starts
  SerialUSB.begin(9600);           // set up Serial library at 9600 bps

void loop()                       // run over and over again
 SerialUSB.println("Hello world!");        // prints hello with ending line break                             
22  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 12, 2014, 01:47:43 pm
If you use the native port you muste use "SerialUSB" for communication with the computer.
Exactly. Thats why I asked.
23  Products / Arduino Due / Re: ADC - analogRead at high frequency (1 MHz) on Arduino DUE on: March 12, 2014, 01:46:49 pm
Here you can find the datasheet of the chip:
24  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 11, 2014, 02:56:02 pm
Did you connect using programming or native port?
25  Products / Arduino Due / Re: ADC - analogRead at high frequency (1 MHz) on Arduino DUE on: March 11, 2014, 01:38:54 pm
I think you can only get 1MHz using dma.
26  Products / Arduino Due / Re: Creating a Sinusoidal PWM signal for H-Bridge Control on: March 06, 2014, 01:39:10 pm
Maybe you could use dma or a timer interrupt.
27  Products / Arduino Due / Re: Due Flash Memory on: February 08, 2014, 03:55:05 pm

I have a collection of short music samples and effects for a board game. The sounds don't change and would ideally be included with a sketch at compile time.

I would like to burn then into the DUE from the IDE and then read the audio data from FLASH whilst the program is running.

Is this possible?

You need to do it like this:
const byte sound[something] =
Data here
28  Products / Arduino Due / Re: Composite Video Generating on: December 19, 2013, 02:05:26 am
Hi There.
I just got myself an Arduino due today and thought what better way to try it out then with your cool graphics smiley
Do you have a library ? or any code I can run. Possibly a circuit diagram if it's not to much trouble of course.
You did a fantastic job on your project, well done
Thanks, I have a sketch you can run (it consists out of multiple files) and I will make a schematic. I will do this when I have time to do so.
29  Products / Arduino Due / Re: Composite Video Generating on: December 13, 2013, 01:05:47 pm
I have started working on this a few days ago, and the video op-amp is not needed anymore now. It turned out that the the voltage ratios were not correct. I fixed it, and in combination with a new and better r2r ladder, it works much better. I also switched from 8 to 5 bits, cause that's just more suitable for a 1% r2r ladder.

There are still some color phase errors, but since pal uses phase alternation, those errors are not much noticable.
30  Products / Arduino Due / Re: Reading analog channel MANUALLY on: December 11, 2013, 01:37:56 am
We were told that only the Channel Enable Register, Control Register and MR register is needed to make it work and we can then read from the LCDR or CDRx registers.

I noticed yours have things like startup time, settling time, the adc clock etc. We assumed those are unecessary to tamper with because the default should work too.

We don't have much experience with the terminology used in these kind of things so it's difficult to figure out what does what. That is why I need to know which registers are to be modified.

If you don't mind writing an example with direct values, i.e. remove any function call and replace it with a direct value, it would help us a lot.

Even if you only explained what the different things like settling, startup time and the others affect would help a lot too!
I will try to make a good example for you soon. But in the meanwhile, just take a look at the adc dection of this document: All registers are described here.
Pages: 1 [2] 3 4 ... 10