All Questions
Tagged with arduino-due c
8 questions
-1
votes
1
answer
525
views
SPI with DMA in a Arduino Due
I have a project where I need to store data (~16 Mo) on a memory and be able to fetch the data fast (<36000 bits/s) with DMA because I have other signals to take care of.
Currently I use an SD card ...
1
vote
0
answers
134
views
Arduino LCD only display image for few second and turn screen to white
I have a problem with my Arduino and LCD touch screen. I create a few functional button in my Arduino. One of the button is START button. Right now, I want the image is display when I touch START ...
0
votes
1
answer
447
views
Is it possible to count rising edges of a 4 MHz clock on an Arduino Due and trigger an interrupt like all 4'000'000 edges?
I am struggling with my Arduino Due and the Timer Counter functionallity. The following is what I am trying to achieve:
I want to execute a function to a specific point of time or more precisley ...
2
votes
1
answer
3k
views
while(1) loop blocks program to enter interrupt
I want to build a program in C that enables / disables a passive matrix display. But my problem occurs before I can even implement one function of this display.
I have a simple switch connected to ...
0
votes
2
answers
874
views
Arduino & ARM - Replacement for avr-libc?
There is very cool avr-libc library that provides direct access for all functions of AVR microcontrollers. I'm writing a project for Arduino Due and I want to use timers and ISRs directly. Is there a ...
1
vote
3
answers
535
views
Why does my LED turn off automatically after about 18 seconds on its own?
I am using the Arduino Due and I am programming it with Atmel Studio 6.2. I have had a HUGE learning curve using this IDE and the Atmel ASF. Nothing is straightforward as it is in the Arduino IDE. ...
11
votes
4
answers
21k
views
SAM3X8E (Arduino Due) Pin IO registers
How do the IO registers of Arduino Due work?
On Arduino Uno just set DDRx, then PINx to read, PORTx to write, I'd like to do the same thing with an Arduino Due, but it has many more registers, such as ...
0
votes
1
answer
568
views
OSC parsing code. Can it be optimised?
I'm using this OSC library and TouchOSC to controls some motors.
Right now I'm receiving those two kind of messages:
/u/1 // move motor 1 of default steps
/u/2 // move motor 2 of default ...