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.
-3
votes
1answer
24 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?
0
votes
0answers
5 views
Zolertia/Contiki wireless sensor data upload to things.ubidots.com [on hold]
I have two z1 motes and wants to upload temperature data to cloud using website things.ubidots.com
I followed all the steps that described in given link:
...
-3
votes
1answer
42 views
-5
votes
0answers
35 views
bring an immersing object afloat [closed]
I am looking for an effective and cheap solution to bring an immersing object afloat. assume that there is a detector which identifies when an object, which can weigh up to 35 kgs, is immersing into ...
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
74 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
42 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 ...
0
votes
0answers
30 views
What is the current research topics in embedded system? [closed]
Other than IoT , I was wondering what could be the main topics of research that are present in the embedded systems world.
0
votes
3answers
49 views
Questions about CAN bus [closed]
I am using PIC18f2680 Inbuild CAN module along with CAN MCP2551 Transcievers and I am using the plib library for can2510 functions.
My question are :
Should we use twisted pair wires (like take CANL ...
-4
votes
2answers
50 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 ...
0
votes
1answer
64 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
79 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
58 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: ...
0
votes
1answer
49 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
30 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
28 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
55 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
70 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 ...
0
votes
1answer
52 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) ...
0
votes
0answers
43 views
Logging data using STM32F401 or STM32L4 nucleo board to SD card
I want to log data from sensor 24/7 and store it to SD Card in fatFs ( every day will be a file ) and the data from this day will be stored there.
I learn about SDIO and s little bit about fatFs but I ...
3
votes
4answers
89 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
26 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
143 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
177 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 ...
0
votes
0answers
28 views
Bluetooth communication issue avr-pc
In the last few days I was messing around with avr <-> pc communication.
Thanks to the help that I received here I managed to establish a good connection using pl2303 ttl-to-usb converter.
Now, ...
1
vote
2answers
80 views
UART communication issue
I am trying to send something from an atmega to my pc.
The setup is: Ubuntu 14.04, atmega644P-20PU, USBASP v2, TTL-to-USB pl2303
Firstly I tried to write the code in C and used this code and then ...
5
votes
1answer
88 views
I2C slave not acknowledging consistently
I'm trying to communicate with a Cypress CapSense module, model CY8CMBR3106S. During initial testing, I used Cypress's CY3240-I2USB USB-I2C bridge, which works perfectly. I then moved to an Arduino ...
0
votes
0answers
38 views
JTAG Voltage of zero error message in Atmel studio Device Programming Window
I have a ATSAM4SD32B dev board, which is connected to my laptop via USB. I also connected the board to a JTAG debugger/programmer. When I try to query the Device signature, I get the following error ...
-2
votes
1answer
32 views
What are my options for a processor to fulfill the requirement of a video signal processing application? [closed]
I 'm a collage student and I 'm designing an embedded system of a smart camera for traffic surveillance as my graduation bachelor project. The camera does the following:
Monitors a traffic lane with ...
3
votes
0answers
101 views
SPI loopback with DMA
I am using STM32F4 discovery board and I am attempting to get SPI loopback with DMA.
I have successfully got an "SPI-only" loopback running, but now I want use DMA in addition with the SPI, here are ...
0
votes
2answers
34 views
Redundancy for a databus transmission
I'm going to start a project in my University in a few week. Since it is a collaboration between my University and a very important company I cannot say too much about the project itself. So I try to ...
0
votes
0answers
25 views
how to measure GCLK clock for RM48L952 (using RM48 board)?
I am working on RM48 board for some project, using SPI too.
For this I need to show the GCLK clock value (on oscilloscope for documentation) for requirement to get the SPI speed desired one.
In ...
7
votes
6answers
1k views
Writing embedded software w/o hardware
Consider that the hardware team will take 2 months to develop some hardware, but by that time I will need to have the software ready.
My question is that how can I write the software and test it ...
-1
votes
2answers
65 views
Is it necessary for “LDR R0, [R0]” when saving from r15 in arm?
From ARM® Developer Suite Assembler Guide
Saving from r15
In general, avoid saving from r15 if possible.
If you do save from r15, the value saved is the address of the current
...
2
votes
1answer
67 views
Options for video development [closed]
What are my options for video development? I am talking buying a development board, then translate that to custom pcbs and hardware.
With the rise of smart phones we have seen a plethora of hardware ...
-1
votes
2answers
57 views
Why are INTERRUPT CONTROLLER SPECIAL REGISTERS in arm different from others? [closed]
For example, in s3c2440, it clears only the bit positions of the SRCPND corresponding to those set to one in the data. The bit positions corresponding to those that are set to 0 in the data remains as ...
0
votes
0answers
34 views
Simple zigbee setup for garden sensors
I am finding it hard to choose a MCU that either includes or can talk to a zigbee chip, for use in garden sensors.
Aim: Build an array (up to 10) of garden sensors (including analogue sensors because ...
0
votes
2answers
54 views
How to create a multiple active output decoder, not just one active output?
i have a project to controll lamp in cupboard. there are several button. okay, lets imagine there is 8 button. when i click 1st button its will turn on lamp 1, when i click button 2, lamp 2 is on.
i ...
2
votes
1answer
116 views
Rx data rate on CAN bus faster than polling rate
I'm working on a safety-critical SIL 4 system and so interrupts have to be kept to a bare minimum (hence using only timer interrupts). CAN is used in polling mode.
Suppose data arrives at a CAN node ...
1
vote
3answers
215 views
Is cache memory unnecessary in microcontrollers?
Do we use cache memory in microcontrollers, if not, why not? If yes, what is its application in embedded systems or it is enough just to have RAM?
0
votes
1answer
76 views
Beagle Bone Black interrupts for optical encoder
I'm trying to have my optical encoder work on interrupts. I found some resources online that discuss it but they all seem to be based on an older version of debian since the files and folders in ...
1
vote
2answers
82 views
Mass Storage for Embedded Applications
What are my options if I need to deal with relatively large amounts of data on an embedded processor? I've found storage around ~2-4GB with an SPI controller, but I'm thinking about something in the ...
0
votes
1answer
155 views
LCD data read and show on computer
I have a project to work as follow:
this is a PIC based (PIC16C62B) porudct which measures value coming from mechanical gyro sensor. analog data from gyro amplified and sent to AD7707 to convert into ...
1
vote
1answer
60 views
Sama5d3 fast ADC
I am using Ubuntu 14.04 and the arm-linux-gnueabihf-gcc compiler to compile projects for the sama5d3 explained board and using minicom and zmodem to transfer the compiled source code from the ubuntu ...
1
vote
2answers
56 views
calculate uptime of LPC1768
i want to calculate the uptime of LPC 1768 from when it begins running. for example a function like millis(); in arduino.
1
vote
2answers
113 views
How is register access done in case of X86 architecture when there is only In and OUT command for ports?
In ARM architecture the registers of a peripheral are mapped to the RAM so we can access the register using the RAM.
0
votes
0answers
44 views
Giving Input values to the IAR code using Terminal I/O feature of C-SPY
I am using IAR to program a microcontroller and wanted to test my code by giving test values to my application.Test values are to be read from the text file placed on my PC(as it is too large ~>2Mb).I ...
3
votes
2answers
160 views
How to build Forth for embedded devices?
So far I have just found this paper which provide a guide to achieve that.
http://www.bradrodriguez.com/papers/moving1.htm
1)I want to know if there is any more recent guide?
2)which Forth is better ...