An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts.

learn more… | top users | synonyms

0
votes
1answer
50 views

Speech recognition and movement tracking [on hold]

Two part question: 1) Speech recognition - what is available that would allow me to trigger an event off or on with one or two key phrases? I found this https://www.tigal.com/product/2333, but I was ...
0
votes
1answer
24 views

lwIP webserver download

I'm using a STM32F4 with lwIP to host a website, and I also have an SD card which I save csv type files to using FatFS. Just wondering how I would allow users to download files directly from the SD ...
1
vote
2answers
62 views

How is data allocated in an assembly language using the instruction set?

Consider the following excerpt of assembly code written for the Nios II embedded processor architecture: ...
0
votes
0answers
22 views

AUTOSAR OS configuration example

As with version 3.0, AUTOSAR switched from OSEK-OIL to a XML based format in order to configure their OS. I'm looking now for an example of how this configuration can look like. The AUTOSAR ...
0
votes
1answer
51 views

lwIP - Best way to send data from microcontroller

Currently, I am using Server Side Includes to transfer data from my microcontroller to my webpage. The issue with this approach is that if I want to graph the data I have to store the SSI value in a ...
0
votes
1answer
81 views

Confused, Is raspberry pi a real device for learning embedded linux or just for hobby? [closed]

and sorry i couldn't think of a better title, please read this so you can understand what i am asking: I already bought the Pi, but as i see it has a fully featured pc like OS, what i'm seeking to ...
3
votes
2answers
65 views

CANUSB SJA1000 Filtering

I am using a CANUSB adapter connected to my car attempting to read out only CAN messages with 11-bit identifier 0x1D6. I need to do hardware filtering because software filtering is too slow for my ...
-8
votes
2answers
57 views

Simulated Annealing Algorithm [closed]

What is the the Simulated Annealing Algorithm used for placement in FPGAs, complete description and in simple words.
5
votes
2answers
83 views

RTOS: Why Do We Need Special Post versions for ISRs?

In some RT kernels, if you want to post to a semaphore or flag from an ISR, you need to call an special version of the method, instead of the regular one called from a normal task. Examples: ...
-1
votes
1answer
69 views

Embedded systems programming in C [closed]

I want to start programming embedded systems with C (need it for school anyway and I like C). I searched for beginner guides and such quite a long time before deciding to post here. I have several ...
0
votes
0answers
17 views

Are there any KL03 “arduinos”? [migrated]

I have been trying to find any Arduino or similar prototyping board that uses this MCU http://www.pcmag.com/article2/0,2817,2453987,00.asp But the smallest and more robust ones I have been able to ...
2
votes
1answer
55 views

Anticipating processing delay in embedded systems

Background: I have been working with the STM32F3 discovery board and I am trying to implement some signal processing algorithms from the ground up. My problem is shown below in the graph. The more ...
1
vote
2answers
65 views

Using 10 bit ADC for only 8 bits on a PIC MCU

I have a PIC16f1824, which has a 10bit built-in ADC, but I only want 8 bit precision. I don't just want an 8 bit value, but actual 8 bit conversion i.e. higher samples per second at the cost of bits. ...
4
votes
1answer
75 views

How long/big is an I2C acknowledge?

I'd like to know, how long/big should be an ACK from a slave to its master? I am communicating with a module using the I2C protocol. But the large blank space in the middle, is this an ACK from the ...
14
votes
6answers
1k views

For embedded code, why should I use “uint_t” types instead of “unsigned int”?

I am writing an application in c for an STM32F105, using gcc. In the past (with simpler projects), I have always defined variables as char, ...
1
vote
1answer
42 views

Handling variable length commands with pauses in transmission

I have my embedded system and I send many different commands to it using PC via RS232. The issue is that each of command consists of different amount of bytes. What is more there is possibility that ...
1
vote
1answer
88 views

Compiling C++ on EFM32 microcontrollers

I would like to use some high-level libraries written in C++ for my EFM32 microcontroller. Unfortunately the Simplicity Studio IDE for the EFM32 does not seem to support C++. I am a bit confused ...
0
votes
1answer
62 views

Where is a good place to start learning about electrical engineering for AVR stuff? [closed]

Can someone point me to a really good tutorial on electrical engineering, mainly avr stuff. I have looked at alot and none in my opinion really give a complete idiot like my self a good place to ...
2
votes
2answers
84 views

Multiple DTMF circuit interfaced to one microcontroller, will it work?

I already tested this circuit with only one modification, I changed the R2 to 300kOhms which worked in my case. I interfaced this circuit to a microcontroller where they shared a common ground. I ...
1
vote
0answers
20 views

RC compare in capture mode - Timers SAM3X

So I am using an Atmel SAM3X8E micro together with a temperature sensor over a one-wire interface. The short version is: I give the chip a sequence of setup and start pulses, and the chip responds. ...
4
votes
2answers
160 views

How to implement critical sections on ARM Cortex A9

I am porting some legacy code from an ARM926 core to CortexA9. This code is baremetal and does not include an OS or standard libraries, all custom. I am having a failure that appears to be related ...
1
vote
1answer
71 views

Modeling languages for Hardware platforms (embedded systems) [closed]

I'm looking for some modeling languages in order to design hardware platforms in the context of embedded systems. I already had a look at the following: AUTOSAR UMLMarte SysML I wonder if there ...
14
votes
4answers
1k views

How do you determine how much flash/RAM you need for a microcontroller?

Let's say you are starting an embedded project with some known functionality. When you select a microcontroller how do you select how much RAM you need? Do you use a developer board and code your ...
0
votes
0answers
21 views

MCU Debugging: What is the difference between ITM, SWV and Trace?

What is the difference between ITM (Instrumentation Trace Macrocell), SWV (serial wire viewer) and Trace? For example, in an Atmel SAMG53 ARM M4F; it supports: ...
1
vote
1answer
91 views

Signed to unsigned for registers

I have just started to program some code at the lower levels. I have been told to change any signed integers into unsigned integers and store these in the HW registers. I have done this OK but I am ...
0
votes
2answers
119 views

PIC16F877A Timer0 delay problem?

To get min 5ms square wave. I chosen prescalar as 1:32 (The internal clock given 4Mhz), what will be the TMR0 register value? Is it 0x64 or 0x63 !!
0
votes
0answers
21 views

Reading Mac data of Zigbee protocol stack

I am working on a project using one of the popular Zigbee based RF-MCU Mac-codebases. I have integrated a sensor to the MCU and the same is reading data and I am sending data to the gateway using the ...
3
votes
1answer
73 views

Cross Correlation values

I'm trying to develop a flow meter using the cross correlation algorithm. I'm using 2x IR leds and 2x phototransistors and a MSP430F5529. One pair of phototransistor-Led go in the upper level and the ...
-1
votes
2answers
96 views

Pseudo RF in embedded boards

I noticed that wifi-capable embedded boards integrate the RF into the board design instead of having a separate, add-on wifi card. They have meshes that are etched into the board and the rest of the ...
1
vote
0answers
85 views

Missing clock edges when using SPI on the CC430

I'm currently using the CC430F5137 and I'm having an issue with using SPI to communicate with an external flash. I'm currently using DMA to send out SPI comms using the UCSI_B module. Most of the ...
0
votes
2answers
96 views

arduino based pic16F877A programmer

is it possible to program PIC 16F877A using arduino uno? if it is possible, please tell me how to this;
0
votes
1answer
200 views

MPU6050 I2C PIC18F458

I'm using MPU6050 with PIC18F45 protocol I2C. On EasyPIC v6 board its just send me back anything that I put in this WRITE command I2C1_Wr(0xD3);. I replaced the ...
1
vote
0answers
58 views

Implementing and debugging LwIP

How should I start working with LwIP stack? I've STM32F429 processor with LAN8720AI on board and my task is to program simple project which will show ethernet working properly. I tried to configure ...
0
votes
1answer
40 views

Need verification of real-time concepts

I want to check whether I understand correctly: Real-time means an action always performs in a specified amount of time and is never late for deadline - an upper bound, and sometimes a lower bound ...
0
votes
1answer
66 views

How to display character on multiplexed seven segment?

I am designing a system which I want to display a message on a seven segment display. I have the source code for displaying a number but how to display a character ?? ...
0
votes
3answers
85 views

Non-stop ADC for full quantization of arbitrary time period signal average. Do ADCs work like this?

Lets say I have a light intensity sensor and I want to measure the exact average light intensity for one hour using an ADC sampling time that is much less than the input signal frequency. Lets also ...
0
votes
2answers
74 views

What's an easy approach to provide Wi-Fi/Webserver to mobile phone apps without hotspot

I'm a software programmer and I'm up to start a project of an embedded outdoor device which I will be able to control by any mobile phone. My preferred approach is having the embedded device provide ...
0
votes
0answers
68 views

Connecting two embedded systems

I have a lecture note shown below which says second board (which has G2) will be damaged. I cannot understand why.
0
votes
1answer
70 views

nRF8001 DevKit usage with FPGA and Embedded Linux

I would like to develop an application with Nordic's nRF8001 DevKit. The master emulator of this kit is an USB Dongle and it is originally meant for PC connection. My final goal for the project is to ...
0
votes
1answer
117 views

What is the difference between 1-bit SDIO vs SPI?

What exactly is the between 1-bit SDIO vs SPI? Does one have advantages/disadvantages over the other?
1
vote
2answers
73 views

Same Priority Interrupt on ARM Cortex M0

I have two two interrupts of the same priority; each has its own interrupt service routine: ISR_A and ISR_B. When interrupt A occurs, ISR_A executes... what happens if interrupt B occurs while ISR_A ...
1
vote
0answers
37 views

Connecting a Embedded Device from Cloud

I am working on a Embedded Device using Linux operating System. The device is having a local database for storing sensor information and motor state. This device will be used for controlling a motor ...
1
vote
1answer
311 views

PIC32 does not get UART RX interrupts in xc32 Compiler

I'm trying to setup a UART channel on my PIC32 MCU (PIC32MX470F512). But the code does not reach the ISR at all. I have verified that the PPS (peripheral pin select) is configured properly and the ...
0
votes
1answer
51 views

STM32F example for opamp follower mode

Does anyone have an STM32F example for opamp follower mode (ideally STM32F3 Discovery)? I can get the PGA working but cannot find out how to connect it in simple follower mode.
1
vote
2answers
100 views

Does an antenna work inside a plastic box

I need to put two antennas for GSM and GPS communication on my PCB. My final product will be embedded in a user-friendly plastic box with buttons, leds and switches. I have not choosed yet which type ...
0
votes
1answer
123 views

Hosting web page from STM32 device

My goal for my next project is to interface with a computer in order to stream some data as well as get some configuration parameters. I have been looking at using USB, UART to USB, and hosting a web ...
0
votes
0answers
55 views

Easy-to-use Antennas for beginners

I am designing an embedded system with a GPS and a GSM modules both from the u-blox company. I need external antennas for my GSM and GPS modules. From what I see when I looked for antenna integration ...
0
votes
2answers
96 views

DS3231 Module Circuit Teardown

I recently purchased a DS3231 RTC module to use in one of my prototypes. Now that it is complete I would like to integrate the RTC directly into my PCB instead of using a plug in module. To that ...
0
votes
1answer
60 views

MCU Performance: running with emulator vs running without emulator

If I connect to my MCU with its SWD emulator/debugger, is there ANY difference in performance/behavior as compared to when I run the MCU without the emulator? EDIT: I am using a freescale KL25z ...
2
votes
1answer
122 views

UART without using the same clock

I am using the C027 development board for prototyping an application and I was wondering it it was possible to use the Tx and Rx pins of the GSM module (available on the pinout of the board as P0_15 ...