Electronics Questions not on EE
   21 tags on 19 sites

1 answer

matrix multiplication in ARM assembly

A course of ARM assembly recently started at my university, and or assignment is to create an NxM * MxP matrix multiplication programm, that is called from C code. Now I have a fairly limited ...

1 hour ago
0 answers

How do I interface my Beaglebone Black with a Wi-Pi? Is it possible?

I've recently gotten hold of a Beaglebone Black Rev A5A as well as a RaspberryPi's Wi-Pi USB dongle. Is it possible to interface both devise together or is the Wi-Pi not compatiable with the ...

1 hour ago
0 answers

How to post to Google Docs Form directly

I'm working on a project where i need to post the data i acquire to a Google form and obtain the data from the spreadsheet. I cannot use google apps script and need a method using the direct POST ...

1 answer

Working with arrays on Arduino in C++

I'm trying to manipulate arrays, but I'm a little confused with I need to do. I want to do something like: char myArray[10]; myArray[0] = 0xA9; myArray[1] = 'D'; myArray[2] = 'S'; myArray[3] = ...

2 hours ago
0 answers

Arduino buttons moving in lock step

I have an Arduino project (it's actually with the Mintduino, but it's the same microcontroller) that has three buttons, setup like the tutorial (http://arduino.cc/en/Tutorial/ButtonStateChange) with a …

4 hours ago
1 answer

ARM assembly: bad instruction 'ldrbcc'

I am writing an ARM assembly code. In it there is a snippet: cmp r3, r2 ldrbcc r6, [r3], #1 I want to express if r3 is less than r2, then load [r3] to register r6. But when I compile it with linaro …

7 hours ago
0 answers

how can i write a spi driver for zynq 7000 a arm develop board?

im going to write a spi driver for arm develop board.it is not used int linux. yestday i read the qspi driver that xilinx provided and i tried it successfully. but i'm intent to write a spi driver. so …

8 hours ago
0 answers

Arduino ADK ways to connect to an Android tablet

Is it possible to connect Arduino ADK and Android through a USB cable in two ways? The first way is through the same connector (USB1) as used at programming, and The second way is through a USB ...

9 hours ago
5 answers

Reversible pseudo-random sequence generator

I would like some sort of method to create a fairly long sequence of random numbers that I can flip through backwards and forwards. Like a machine with "next" and "previous" buttons, that will give …

10 hours ago
0 answers

Node.js source code build giving segmentation fault on ARM

tl;dr: I tried to install node.js on my ARMv7-based Cubox running Ubuntu 12.10 (quantal). When compiling node.js from source (see "Second attempt" below), node produces a segmentation fault. What can …

0 answers

termios Arduino read/write failing

Hello I am having some trouble trying to program an Arduino to take commands from a c++ program. I am using termios to connect to the Arduino. The Arduino is in gateway mode (basically it is not ...

0 answers

Msp430g2553 i2c communication library with itg3200 gyroscope

I've been creating an I2C library for communicating with ITG3200 gyroscope for MSP430g2553 experimental launchpad. I still have slight problems with sequential reading and the signed values but I'm …

14 hours ago
1 answer

Minimum volume size for fat12

I am searching for the answer, what is the theoretical minimum size for a FAT12 volume? There is only requirements that embedded and normal systems should recognize it on a pen drive as legal file …

16 hours ago
1 answer

Am I properly identifying the resistor terminal voltage?

The frequency applied to a circuit of voltage 120 V with a real coil and a resistor has a value of 50 Hz. The resistance of the resistor is 10 $\Omega$. The voltage at the resistor terminals ...

1 answer

How to setup a associative data structure in Arduino

I'm just developing a small remote control which lets me control my IR controlled devices via the Internet. All is working, but I still need to store the codes in a way that I can easily access them. …

0 answers

Interfacing RN-174-EK with PIC16F877A via TTL UART

I have RN-174-EK evaluation board, and I want to interface it with PIC16F877A through TTL UART. So, what are the required components in order to achieve the interface? and is there any commands to be …

19 hours ago
1 answer

CVAVR bootloader doesn't start

Codevision avr v2.60 evaluation Trying to make new project with wizard. Set all the init values to 0 (not used). BOOTRST bit is set to 0 (reset from 0x7000 byte address). Project option is set to …

22 hours ago
1 answer

compressed and uncompressed kernel on an embedded device

I have been using several different embedded boards that store kernel, init files, filesystem, etc. on partitions of a (micro)SD card. I notice in the example usage or instructions that compressed ...

0 answers

Very basic XML parsing in C?

I'm looking for a way to read settings out of an XML file. But most likely, the DOM of the whole XML file will not even fit in memory, and I havent got space left for a full-blown library. So I was …

1 answer

Arm Assembly Instructions: POP what means as return of a function

What does it means LDR.W R8, [SP+0x10+var_10],#4 POP{R4-R7, PC} if I found that instruction at the end of a function? Thanks Paolo

yesterday
1 answer

Telnet server enable client linemode

I am writing a little Telnet client on Arduino. How do I reactivate the Telnet client linemode after I deactivate it with the following code? client.write(255); // IAC client.write(251); // WILL …

yesterday
2 answers

Electronic filter

Can you explain, please, step-by-step how Electronic filter does work? For example, high pass filter. I know It's a trivial things, but I can't get it completely. Don't bring me formula and etc... ...

0 answers

Programming bootloader section of flash with avrdude is slow

When programming the bootloader section of flash memory in a ATmega 8-bit processor, specifically the ATmega128, AVRdude is rather slow. All I want to write is the bootloader section of memory, which …

2 answers

character sent to serial port not read by arduino

I am sending a character from visual studio C# to the serial port and I want arduino to read the character and do some work. But, its not reading it correctly. I have tested the arduino program using …

0 answers

Mathworks – ARM Target uVision issue

I am attempting to generate c code from simulink that opens in uVision4 and can be flashed onto the stm32f4-discovery board. I know people have done this with the MCBSTM32F200 dev boards, but when ...

9 answers

Alternative editors/IDEs for Arduino?

I've been playing around with some Arduino projects, but I find the Arduino development software to be kind of lacking in features I'm used to in full IDEs, or even the venerable Notepad++. Are there …

yesterday
0 answers

Using USBASP programmer for SPI communication

Currently I'm trying to send some data from PC to ATmega328P chip through USBASP programmer. It is able to transmit up to 4 bytes over SPI. These 4 bytes сan be set in USB Setup Packet (2 bytes for …

yesterday
2 answers

Parallel port IRQ Handler registration on IRQ7

I have written one device driver of parallel port driver with IRQ handler. Now, first i must have to access IRQ7 because my parallel port gives interrupt on it(I had seen that on /proc/interrupts). …

1 answer

Kernel Illegal Instruction when writing to kernel module

I'm making an FPGA System-on-Chip system where I change hardware configuration at runtime with a kernel module. They system uses Linux 2.6 and the LEON3 CPU (SPARC). Some bitfiles work fine but for …

1 answer

Editing FatFS generic example for dsPIC

I'm attempting to use FatFS (http://elm-chan.org/fsw/ff/00index_e.html) as a means to communicate with an SD card, using SPI. The FatFS website has a number of examples, however I'm not finding them …

yesterday
15 30 50 per page
1 2 3