Show Posts
Pages: [1] 2
1  Products / Arduino Due / DUE on: October 20, 2013, 08:42:21 am
Can anybody tell what resources the  Arduino OS uses on the DUE board?
I would like to know which of the TIMERS are available for the user (me) to use.
It would be nice to have a list of used resources in the reference section for each board.
Many thanks
Phil
2  Products / Arduino Due / Arduino system resource usage on: May 25, 2013, 05:34:22 am
Can anyone tell me what chip resources are used by the Arduino operating system on the DUE board.
I am assuming at least one timer counter channel  for the Arduino Millis function etc.
3  Products / Arduino Due / Re: PWM Duty Cycle Capture using Timer Counter on: May 25, 2013, 05:31:37 am
Shouldn't you be reading the counter value register rather than the compare register? TC_CVx
4  Products / Arduino Due / arduino resource usage on: May 16, 2013, 03:04:10 am
Can anyone tell me what chip resource the  Arduino operating system uses on the DUE board?
E.g. are all the timers available or does the arduino operating system use any?
Thanks
5  Products / Arduino Due / Re: what peripherals are used by arduino on: March 31, 2013, 08:03:20 am
Ha yes just realised that although the block diagram shows only 3 timer blocks (TCA , TCB and TCC) each consists of three channels.

There should be enough breakouts if not I can always lose the PWM I/O's as I won't be using them and port the timers to those pins.
May have to do that after setup() has run though.

Also have the option of using the Digilent MAX32 board which has a lot more outputs available.

Thanks for your help
6  Products / Arduino Due / Re: what peripherals are used by arduino on: March 30, 2013, 08:46:19 am
Thanks.

Don't want to use the Arduino PWM functions as I need to use the timers for specific synchronised waveform generation with capture inputs.

Driving a CCD array and reading in analogue output values via ADC converter.

Can just about manage with only 3 timers but would have been stuck if millis() had pinched one!
7  Products / Arduino Due / what peripherals are used by arduino on: March 30, 2013, 08:14:44 am
Hi
Successfully used the ATmega2560 have now moved on to the DUE

I need to know what peripherals the Arduino 'system' uses apart from the obvious serial port for programming and the USB function.
Can't seem to find the info anywhere.
Particularly I need to know if all the Counter/Timers are free or is Arduino using one as per the ATmega.
Thanks in advance.
8  Using Arduino / Programming Questions / Re: Language problem on: March 17, 2013, 05:49:55 am
I have to agree with Lefty..... only found out about Arduino a few weeks ago but am impressed by the quality of both the development platform and the boards.

As I said there are a few shortcomings in the functionality of the compiler but that apart its an excellent way to get a project off the ground and flying as I have found out already with one completed project using the ATmega2560.

I have already been playing with the DUE (well the microchip version MAX32) now thats a VERY good platform, would be nice if Arduino was extended for that one to do full double precision and ascii encoding decoding but the microchip MPLABX does.
I have a project that will require 4th and 5th order curve fitting routines and they WILL require true double precision but already have the board driving a CCD array and collecting data from it in less than a day!

Keep up the good work to all at ARDUINO   smiley
9  Using Arduino / Programming Questions / Re: Language problem on: March 16, 2013, 08:40:46 am
1500 bytes out of 256K is a small price to pay ..... smiley

I am begining to see the shortcomings of Arduino VS proper development platform like Atmel Studio and MPXLAB but can also see it is useful for quickie developments/ trials.

Will the DUE support real double values and proper encoding/decoding I wonder, be a shame to waste all that processing power without doing some serious number crunching.
10  Using Arduino / Programming Questions / Re: Language problem on: March 16, 2013, 07:25:13 am
Yes that works.... so the Arduino C / C++ is a restricted subset of the full C/C++.....

I assume there is a similar function to replace the C sscanf .....
11  Using Arduino / Programming Questions / Re: Language problem on: March 16, 2013, 07:08:09 am
Nope still prints ?

Confusing isn't it?
12  Using Arduino / Programming Questions / Language problem on: March 16, 2013, 07:02:09 am
Language problem.....info states that Arduino uses C or C++ so why does the following :-

char buffer[20];
float aValue=45.78945;
  sprintf(buffer,"%2.6f \n",aValue);
  Serial.write(buffer);


 compile and download okay but print out on the monitor just a ?

Board is ATmega2560

13  Using Arduino / Sensors / Re: ATmega2560 Analogue inputs on: March 13, 2013, 02:56:03 pm
Yes I noticed that. Not very helpfull having the output length changing when you are trying to watch specific bits changing.
Guess I'll just have to write my own routine that outputs the condition of ALL bits.

14  Using Arduino / Sensors / Re: ATmega2560 Analogue inputs on: March 10, 2013, 09:26:01 am
Hi
I am trying to use A0-7 as digital inputs and have set PORT F accordingly but A7 constantly returns 1 even when pin A7 is forced to ground.
Is the that channel used by Arduino software or have I just got a duff chip on my board?
Thanks

Should work, but without seeing your code that doesn't work it's hard to say why you are having problems.

Lefty


Looks like the problem is the Arduiono software....using Serial.println(variable,BIN)  this routine doesn't write the MSBit to the monitor if it is logic 0

i.e. HEX fffff   = BIN display  1111111111111111 but HEX 7fff = BIN display 111111111111111 instead of 0111111111111111
same problem for byte, char or int conversions......the HEX OCT and DEC work fine



15  Using Arduino / Sensors / ATmega2560 Analogue inputs on: March 08, 2013, 03:30:09 pm
Hi
I am trying to use A0-7 as digital inputs and have set PORT F accordingly but A7 constantly returns 1 even when pin A7 is forced to ground.
Is the that channel used by Arduino software or have I just got a duff chip on my board?
Thanks
Pages: [1] 2