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
0answers
19 views

Connecting microcontroller to battery of working mobile phone

Is it safe to use battery of working mobile (ex. Nokia 6310i) through voltage regulator as power supply for MCU? If so, is it safe to charge phone while MCU working?
2
votes
1answer
35 views

Language/file format for circuit-diagram description

Is there any language/file format that can describe the block circuit diagram? For example, the following circuit diagram might be represented by something like: A { P00: VDD, P01, P02: GND, ...
0
votes
0answers
47 views
2
votes
4answers
318 views

Remove spikes from Load Cell readings

I have developed load indicator interfaced with load cell to display the value of load. The device is to be used in on-line weighing of a bag that is moving over the conveyor. Due to the mechanical ...
1
vote
1answer
104 views

Minimum Requirements of a microcontroller to run embedded Linux? [closed]

I am looking for the cheapest microcontroller to run embedded Linux. what should I be looking at, which class of microcontrollers or microprocessors is compatible? is there a minimum system ...
0
votes
2answers
59 views

When has an embedded PC finished its shutdown process?

We have a product that has a PC running on a small board. Our product generally runs for weeks, if not months. One thing that is not very well implemented is the shutdown process. The device does ...
1
vote
1answer
52 views

Atmega16 flash memory address space

The atmega16 data sheet says that it has 16KB on-chip flash program memory, but the memory map for flash memory ranges from 0x0000 to 0x1FFF(8192, i.e, 8KB) only, which gives a range of only 8KB flash ...
0
votes
0answers
47 views

The simplest sensor for a door opening detector

I'm designing a very simple system (not much more than a toy) to detect if someone has entered a certain room before I did (it will be hidden inside the room). It will have two LEDs: the first one ...
11
votes
3answers
2k views

What resides in the different memory types of a microcontroller?

There are different memory segments to which various types of data are put into from C code after compilation. I.e: .text, .data,...
0
votes
0answers
24 views

Convert byte by byte CRC-15 to table driven

I am attempting to convert a byte by byte CRC to a table driven method for speed, and am having issues with that. The provided information for the CRC is: Polynomial (\$x^{15} + x^{14} + x^{10} + x^{...
0
votes
3answers
80 views

Is this a good method to detect 120VAC

I need an embedded micro controller to detect some 120V AC signals, I decided it would be safest and most likely the best to use an opto-isolator. Below is my circuit, I rectify the incoming 120V and ...
0
votes
0answers
40 views

Product Category

I am designing a single phase energy meter with below Spec - Input Voltage 240Vac - Input Current 0.5mA - Product will be sealed in plastic enclosure - Line and Neutral line, No earth Input in product ...
1
vote
4answers
194 views

A Guaranteed Way to Corrupt SD Card

I am working on an embedded Linux project that it is important to be sure that the file system won't be destroyed when some unexpected thing occurs (e.g., power failure during a write operation on SD ...
1
vote
4answers
245 views

What features of C++ lead to extra resource usage that I should be aware of when developing for an embedded system?

Some features of C++ have implied run-time cost or can lead to significant code size increases. Which features should I consider avoiding when developing for a bare-metal resource constrained ...
1
vote
2answers
130 views

Protection of BeagleBone Black from eMMC corruption on power loss

I'm considering an application where a BeagleBone Black, preferably running one of the recommended Debian images loaded in eMMC, is powered by a 5V source that can be removed at any moment. I want to ...
0
votes
0answers
17 views

usbasp erasing fuses

I'm trying for the first time to program an attiny45 with a USBasp and avrdude. After about an hour of frustration, i found that when the programmer erases the flash, it also erases the fuses. So i ...
0
votes
0answers
48 views

Looking for a compatible microphone - need advice

I have bought a HIO EMB 1200 HW development board which runs Yocto Linux. I plan to do some audio processing on this board. For that reason, I also had to add the HIO 1240 IO module which provides the ...
2
votes
1answer
82 views

Impact of PCB revisions on its embedded software

Over the past couple of years we have done some minor revisions to our PCB, including Different component selection (resistors / caps / ...) based on availability / price (while still taking into ...
0
votes
0answers
71 views

When should one use a RTOS (real-time OS) over a simple infinite while loop in an embedded system? [duplicate]

The Arduino uses a simple infinite while loop. It works fine for me so far. What are some situations when a more complex RTOS is needed?
0
votes
2answers
85 views

Will RS 485 to RS 232 converter change the half duplex mode to full duplex mode?

I am using an RS 485 serial connection through which I need to send S19 files for my boot loader project. Since it is a half duplex mode of connection, I need to toggle a dedicated pin before sending ...
0
votes
2answers
64 views

Can we send a file through Half Duplex connection?

I am working on a boot loader design for a kinetis controller. I am using this Terminal application ( https://sites.google.com/site/terminalbpp/ ) . I am able to send texts like, " Hello world" ...
-1
votes
2answers
72 views

Methods of testing interrupts

I am maintaining and developing software in C for S12X micro controllers. The ISR for each interrupts (like I2C, Timer Interrupts etc) are very lengthy, like around 20 to 30 lines with several ...
2
votes
1answer
47 views

FFT Bin Problem with external 24 Bit ADC(FFT bins changing with time)

Currently I am working on one project that includes 24 Bit external MCP3919 and MCP3914 ADCs and Tiva C series 32 Bit MCU. I am trying to calculate harmonic values of input signal. I am using CMSIS ...
0
votes
0answers
39 views

CFI flash interface in verilog

I am working on an Intel’s CFI - Flash (28F640J3) interface in verilog. I have written a code and tested it for many commands; read, write, erase. But I am facing problem with 'Write Buffer’ and read ...
1
vote
1answer
77 views

Digital filter implementation in C (embedded)

I am a recent grad and my new project at work deals with taking the signal from an electret microphone and getting SPL values for 10 standard frequency bands. The analog amplification/conditioning is ...
0
votes
2answers
67 views

Programming ADC

I have written a code for ADC for s12x microcontroller. My doubt is the datasheet tells me to check for hardware flag to be set to know that conversion is complete.To know this I have used infinite ...
-9
votes
1answer
68 views

How to interface water sensor to LPC2148 ARM 7 kit? [closed]

I am making a prototype of automatic car wiper system using lpc2148 kit as a part of my course project, but I am unable to find the code (.c format) to configure the water sensor. There are some code ...
-4
votes
1answer
65 views

RFID card number? [closed]

CARD 18 DIGIT NUMBER :- 0009008413 137,29981strong text But one problem is my overall project interfacing done now me try to expand system .how to get card number ? yes i have one ready rfid reader ...
-3
votes
1answer
38 views

size of program in ROM

I am newbie. I want to copy my full program from ROM to RAM using DMA operation. But how can I calculate the size of my program?
8
votes
4answers
3k views

Run code once in lifetime of an embedded C program

How can I make a code snippet run only once in the lifetime of a program? It can be turned off and turned on many times. The only option to run the code snippet again must be flashing the board again. ...
0
votes
3answers
85 views

PIC18 control registers

I'm setting the Analog Channel Select bits in the ADCON0 A/D control register. In the data sheet it list "CHS<4:0> Analog Channel Select bits". In MikroC I write the below to set up my input ...
2
votes
0answers
55 views

Implementing periodic sensor data storage and GPRS transmission

I am using custom hardware driven by a TIVA TM4C (specifically, TM4C123GXL) to control a microgrid with battery energy storage, solar panels, four loads controlled by relay, and a SIM900 GSM GPRS ...
-1
votes
3answers
89 views

Questions about CAN bus [closed]

I am using the PIC18F2680 built-in CAN module along with CAN MCP2551 transceivers, and I am using the plib library for CAN2510 functions. My question are: Should we use twisted pair wires (like take ...
-4
votes
2answers
55 views

Interrupt priorities [closed]

I have never considered interrupt priorities very important in my embedded programming. Is it correct? Should I pay attention to the priorities of the interrupts while programming? How much does it ...
1
vote
1answer
72 views

Microcontroller reset

I am facing a problem of micro controller reset, I am thinking of implementing the following to find the function in which it happens, then the root cause. As soon as I enter a function I will ...
0
votes
1answer
83 views

IC to patch pins arbitrarily?

Is there an IC that will support patching pins together arbitrarily for AC or DC signals going in both directions across any patched pair of pins? I'm pretty sure it could be done with an FPGA though ...
0
votes
2answers
80 views

Embedded Systems/Firmware Course Work [closed]

I am new to SE and this seemed like the best place to ask my question, I apologize if is not. I am pursuing a MS in Electrical Engineering with a focus in embedded systems/architecture. I want to ...
29
votes
5answers
3k views

What is a JTAG?

I'm pretty new to embedded systems, and I keep seeing this term used all the time, but I can't quite understand what is it. A quick search online yields this Wikipedia page: https://en.wikipedia.org/...
0
votes
1answer
56 views

Are there any alternatives to ASIC chips? [closed]

Are there any other mixed-signal integrated circuit embedded systems (or alternative solutions) which are faster than ASIC in terms of performance (let say for a high-efficiency Bitcoin miner)?
0
votes
1answer
33 views

IDENTIFY CIRCUIT IN FXO [closed]

This circuit is used in FXO.clarify what is the purpose of this circuit in fxo gateway.refer some link to know more about this circuit.
0
votes
0answers
33 views

Calculation in sigma delta ADC?

I'm using a 24 bit sigma delta adc with internal reference 0.8 volts,SNDR 80 dB. max input swing +-500mV. so I have a following doubts. 1]does this have resolution of 0.8/2^24=4.76*10^-8 so this ...
1
vote
1answer
50 views

conventions in signals naming in datasheets

What does it mean when the datasheets lists the signals between parentheses as shown in the figure below?
1
vote
1answer
76 views

Where to store non-volitile variables on ARM microcontroller

Noob question here. I have only a little experience with microcontrollers and all that experience was limited to the 8051. I am working on a project and would like to use the ARM cortex M4 ...
0
votes
2answers
102 views

Software/Hardware Reset of MCU sometimes makes 24 Bit External ADC conversion goes wrong in Tiva C series

I have a strange problem and I couldn't find a solution for 1-2 month. In my system I have a Tiva TM4C123GH6PM MCU and external 24 Bit ADC(MCP3919). My PWM pin generates 8MHz clock for ADC main clock....
0
votes
1answer
58 views

Estimate RAM usage information of an embedded device [closed]

I'm monitoring the performance of an ARM-based embedded device which runs poky linux distro (from Yocto project) which contains OpenEmbedded build system. I need to get the MHz (CPU cycles) ...
3
votes
4answers
99 views

Is there a risk for the HW to debug an embedded software if the JTAG integrity is bad?

I had to debug a C embedded software in a noisy environment. As a result the integrity test of the JTAG connection had a failing rate between 30% and 60%. What are the risks to make JTAG accesses in ...
0
votes
0answers
44 views

DSPIC30F4011 - Need Help with Sequential 4 channel ADC Scanning

I am working on a project with some friends which calls for several IR proximity sensors to be sampled sequentially (The emitters must be powered up individually) but I am really struggling with the ...
0
votes
2answers
271 views

STM32F407G-DISC1 not working if not connected to pc

I have a Discovery board DISC1 version (february 2016 revision). I had programmed a Discovery board before with no issues. The ones that I more recently bought, the DISC1 version, have a strange ...
7
votes
2answers
200 views

Embedded programming state machines

I am looking at implementing a non-trivial finite state machine (specified as a UML hierarchical statechart) on a 32-bit MCU with gcc. Are there any rules of thumb what works better and what works ...