Questions tagged [arduino-due]

Arduino DUE is an microcontroller card based on the Atmel SAM3X8E ARM Cortex-M3 CPU. This is a 32bit ARM core MCU.

111 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
90 views

Black screen when using higher SPI-speed for RA8857 LCD-controller

I'm using an Arduino Due that talks via SPI to an LCD (800x480) with the RA8875 controller chip. The most recent datasheet I could find is: RA8875 datasheet. Everything works as expected when using ...
3
votes
0answers
201 views

Getting atsam3x8e (Arduino Due) to work

I decided to make a pcb based on the atsam3x8e (microcontroller used in Arduino Due). For the design I copied most of the layout that I found on this site and looked at the official Arduino Due ...
3
votes
0answers
594 views

ArduinoDue - Matlab: SerialUSB.write() sends ASCII?

I'm trying to get some binary data from an Arduino Due to Matlab. Basically this is the setup: Due: byte usbMsg[33]= {0}; // filled with dummy as example usbMsg[1] = '00000001';// in[3]; usbMsg[2] ...
3
votes
0answers
355 views

Connecting Arduino Due's DAC output to pc sound card with protection

I would like to connect the DAC outputs of my arduino board to my pc sound card input so that I can use my sounds card as an osciloscope. I have two questions: 1- if I don't use an amplifier, how ...
3
votes
0answers
114 views

Reading Reveive Hold Register from USART in SPI Mode on Arduino Due

Sending with this function here works fine: uint16_t usart0spiTransfer16(uint16_t spiMessage16) { uint16_t sdo = 0; byte firstByte = spiMessage16; byte secondByte = (spiMessage16 >> ...
3
votes
0answers
304 views

Arduino Due upload firmware issue

I have Arduino Due on SAM3x8e. I'm on Ubuntu 14.04. Before today I uploaded firmware via terminal using those commands: $ stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb $ /home/q/apps/devel/...
3
votes
0answers
824 views

Arduino Due native programming port

Arduino does not recommend to program the Due board via Native port as it is not reliable: If the MCU crashed for some reason it is likely that the soft erase procedure won't work as this procedure ...
3
votes
0answers
1k views

Interfacing WM8731 code to Arduino Due

WM8731 codec was successfully interfaced with Atmega328 like variants in Arduino. It was first done successfully by Open music labs who are the makers of the breakout board for WM8731. Taking this ...
2
votes
0answers
62 views

Using ICSP pins as SPI in Arduino Due

I am using two RFID sensors operating on SPI with arduino Due. They will not be operating at the same time. Is it favorable to use the ICSP pins as SPI pins for one of them, or use them in a one ...
2
votes
0answers
23 views

Generating Externally Triggered Complimentary PWM with Arduino Due

I need a 2KHz complimentary PWM waves with adjustable duty and phase that is triggered by an external 4KHz source. After reading the datasheet I think there might be 2 way to do this: Use a TC unit ...
2
votes
0answers
122 views

Native USB port on custom ATSAM3x8e board not recognised in windows

I have been designing my own PCB using the atsam3x8e chip, the same as the Arduino due which I used to prototype with. So far I've managed to get my boards up and running by programming them via the ...
2
votes
0answers
43 views

Weather station project Transmitter not communicating with Receiver

I am building a weather station that contains a transmitter and a receiver and the data at the receiver's serial monitor shows either ovf, nan, 0.00 or some crazy number for the outside data (...
2
votes
0answers
62 views

How to access bootloader recovery mode (like the Micro) or equivalent on the Due?

I would eventually like to use a Due as a custom USB device PC-side (through programming port) while using it as a USB Host on the native port. Adding the programming port endpoints (perhaps willingly ...
2
votes
0answers
79 views

Using ERASE button as PIO on Due

I'm working on a demo program for which I want to use minimal resources: all I need is one LED and one pushbutton. I'd very much like to use on-board resources. The user LED (PB27) is fine (I'd have ...
2
votes
0answers
410 views

Series of µsec pulse generation using Arduino Due

I'm working on a project in which I need a series of very accurate pulses containing 2 shots in every pulse. The pulse should have 100µsec on time followed by 300ms off time. But when I'm programming ...
2
votes
0answers
194 views

Interference in readings

I have an project which control a heat exchanger. I read 4 temperature sensors DS18B20, a distance with HC-SR04 Ultrasonic Sensor, and a flow with YF-S201 (with attach interrupt). I can turn on and ...
2
votes
0answers
408 views

Time to read/write memory on the DUE

I am onto a project where a need more memory. I saw the 23LC1024 chips are very popular with the Arduino DUE. A very helpful person told me he did some timing tests on the 23LC1024 and a page read/...
2
votes
1answer
2k views

Creating Sine wave with DAC and feeding it back

I want to produce Digital Sine wave send it to DAC0 and then receive it back as input on A0 and plot the graph. I am using Arduino Due. I wrote the following code: #define maxSamplesNum 120 #define ...
2
votes
0answers
296 views

Sleep mode Arduino Due through IR receiver control

I need to put my Arduino Due into sleep mode in order to consume less power. My Arduino Due receives IR data and does some work with it, but I need to make it sleep until there is no data. If data ...
2
votes
0answers
572 views

Arduino Serial Communication Issue

I state that I have already written a similar question on StackOverflow thinking that the problem is with my computer software. Anyway, after some shell debugs, I notice that the real issue is on the ...
2
votes
0answers
171 views

Arduino Due, program not there after power off

When i program my arduino Due after a RESET, my program is still there. However, when i power off my Due and then turn it back on, no program is there! There is no persistence in the program and i ...
2
votes
0answers
220 views

attachInterrupt HIGH

I'm trying to understand the implementation of attachInterrupt. For LOW, CHANGE, RISING and FALLING it seems simple enough; it sets some chip-specific registers and stores the given callback in ...
2
votes
0answers
270 views

No reply from GSM module

I have an arduino due sending and receiving data from a server using a GSM module (UBLOX SARA-U270). The issue I am having with it is that after a period of time working correctly the module stops ...
2
votes
0answers
3k views

Reading Serial Data Using readBytes() and Use of Serial.read()

I'm trying to mix Serial.read() and Serial.readBytes() when reading over one of the Serial ports on my Arduino Due. I thought that using Serial.read() would clear what is on the serial, and then ...
2
votes
0answers
87 views

Bug read an image from SD card and draw it on TFT

I have developed a code to read an image stored on my SD Card and display it on a TFT. I can read the image from the SD Card successfully but I cannot draw it on the TFT. I dunno where is the bug. ...
2
votes
0answers
577 views

Arduino Due works perfectly on Windows but doesn't on Linux (SAM-BA operation failed)

I've been working with the Arduino Due for a project, we have been setting up these Arduinos with an ARM Board that hosts a Linux System with Busybox that connects to the Arduino. Recently I got ...
2
votes
0answers
69 views

initial power output in the digital io pins of an Arduino controller

I am a newbie.. I am integrating Arduino controller with Matlab I have connected my arduino DUE board in COM7. And I have also connected a DC Motor in one of the digital output pins (D3) So when I ...
2
votes
0answers
286 views

Help with Arduino Due and APA102 LED strip Vs Matrix

I am in a fix since last one week regarding this: As mentioned in a previous question (asked here only), I have been working to develop a APA102 LED based display. Now for this I have an Arduino Due. ...
2
votes
0answers
313 views

Parallel Chaining of APA102 LED matrices

I have four APA102 LED matrices (those flexible ones) and I want to connect them together to make a display for showing images. Now my problem is this: Consider the coordinate system with four ...
2
votes
0answers
489 views

Arduino Due Serial garbage

I have made a custom board based on the Arduino Due but have some problems with the Serial communication with the 16u2 chip. i have usb connection with the 16u2 chip and was able to load the arduino-...
2
votes
0answers
357 views

Due as USB Host timing issues

I own a UDOO Quad board which features two CPUs (SAM3X8E like Arduino Due and a ARM Cortex-A9) connected with an internal OTG USB. I am trying literally for months to use the USB Host Shield Library ...
2
votes
0answers
464 views

HM-10 and Arduino Due

I am trying to communicate between HM-10 module (without any breadboard or soldering) and experience problem with reading data from serial. Here is the code: #define TO_HEX(i) (i <= 9 ? '0' + i : ...
2
votes
0answers
992 views

Understanding types of timer interrupts

I'm learning this note about timer's api on Arduino Due. Interrupt can be attached with the next function: void tc_enable_interrupt( Tc * p_tc, uint32_t ul_channel, uint32_t ...
2
votes
0answers
574 views

Bluetooth help with Arduino Due

I have been able to establish a successful connection between an RN-42 Bluetooth module and Arduino Uno, but I could not do the same with an Arduino Due. The module connects to the phone but whatever ...
2
votes
0answers
135 views

How to use Due PB0-PB7 pins as an external interrupt

In my board I need to use PB0-PB7 ports as an external interrupt sources. Is it possible? I spent a lot of time to understand that. Seems the easiest way is to update variant.cpp file by adding ...
2
votes
0answers
419 views

How to add new pins in the Arduino Due

I want to modify (extend) g_APinDescription array defined in the variant.cpp. It is necessary for new pin addition. I want to use PB0-PB7 ports as an external interrupts. I tried the following code: ...
2
votes
0answers
1k views

Errors when deploying Simulink model to Arduino Due

I am trying to connect an Arduino Due to Simulink to run it in external mode. I am unable to successfully deploy to hardware. I'm testing it with a blinking light model: A pulse generator connected ...
2
votes
0answers
135 views

Arduino DUE Bossac Lockup after Ubuntu Upgrade

I already asked my question in the Arduino Forum here: https://forum.arduino.cc/index.php?topic=353846.0 but got no answer so far. Thus I hope here might be people who have a hint for me. Since I ...
2
votes
0answers
119 views

println() changes values of variables

I have a function which returns a float value. I want to see what value is returned so I print it just before the return statement. Surprisingly, the value is 0 (it shouldn't be 0). When I want to ...
2
votes
0answers
283 views

First recieved packet not displayed (Arduino with MRF24j40MA)

I'm trying to make two Arduino cards communicate, one is a sender and the other only receive packet from the first one and then display them. My problem is that the first recieved packet is not ...
2
votes
0answers
240 views

Programming Arduino for Mindflex

I am learning brain wave programming from Tinkernut tutorial. #include <IRremote.h> #include <IRremoteInt.h> #include <Brain.h> IRsend irsend; Brain brain(Serial); const int ledPin ...
2
votes
0answers
3k views

How to use the native USB of the Arduino Due for high-speed communication?

All the Arduino examples involving communication via USB I could find use a virtual COM Port. On the Arduino part it's Serial.begin(baudrate); Serial.write(byte); And on the PC part it's just ...
2
votes
0answers
600 views

Can I use an Arduino Due as a flash drive?

More specifically, can I use an Arduino Due to have an interface that can plug in/out of a USB port on a computer, connect it to an SD card or similar via a sd card logging shield, and have it present ...
2
votes
0answers
103 views

Due ADC specs: full power bandwidth

I'm trying to compute Johnson resistance noise in a simple resistor circuit. However, since all frequencies contribute equally, I am getting an answer of infinity. It then dawned upon me that the ...
2
votes
0answers
122 views

Adrudio Due: How do MCU components USARTx & UART relate to board pins TXn/RXn?

I'm making USART support for SAM3x8e based Arduino Due board. I looked into arduino source code, exactly arduino-1.5.7/hardware/arduino/sam/variants/arduino_due_x/variant.cpp and see that for ...
2
votes
0answers
118 views

Arduino DUE and a ledmatrix with issues

I am trying to code something for fun using an Arduino Due and a LED matrix. The led matrix has a backpack controller. This device is using SPI. So I connect MOSI and SCLK to their respective pins and ...
2
votes
0answers
475 views

GSM shield for Arduino Due

Is there any good quality GSM shield compatible with Arduino Due? I have searched for gsm shield but it seems all shields have operation voltage 5v. Any suggestion would be helpful.
2
votes
0answers
497 views

Has anyone modified a 16x2 LCD shield to work with Arduino DUE?

Since the DUE works on 3.3 volts has anyone successfully modified a 5V 16x2 LCD shield to work with Arduino DUE? I'm thinking 3.3V will be seen as a logic "1" by the 5V LCD shield and there are no 5V ...
2
votes
0answers
496 views

Arduino Due - Multiple Serial Lines

I'm trying to interface with a serial device utilizing Serial1 (pins 18,19) on the Arduino Due. The normal serial port (Serial) is working just fine and is acting as a debug port at the moment - It's ...
2
votes
0answers
83 views

How to program your Arduino Due while its connected to a display?

Im trying to program my Arduino Due and it seems that I have to disconnect the display from it every time. Is there a work around for this? Im using a 7" TFT with a CTE TFT LCD/SD Shield with a ...