Tagged Questions

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
11 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
73 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
77 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
13 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 ...
-4
votes
0answers
53 views

How to implement CAN Bus Communication using STM32F429? [on hold]

Does anyone have any ideas abou implementing a CAN Bus communication with a STM32F429 MCU? I am looking for any references regarding CAN Bus regarding this microcontroller.
2
votes
0answers
41 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
67 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
68 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
56 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
61 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
votes
0answers
46 views

What's the best Embedded Linux Distribution? [closed]

I'm new in the evaluation kit development and I'd like to know what's the best embedded linux distribution to use in a Evaluation Kit Cortex-A8 Sitara AM3703. I've thought in this distros: Arch ...
1
vote
0answers
34 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
37 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
54 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
70 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
54 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
64 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
41 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
64 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
56 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
29 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
108 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
30 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
84 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
83 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
48 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
43 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
54 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
112 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 ...
3
votes
3answers
820 views

What's the motivation in using Verilog or VHDL over C?

I come from a programming background and not messed around too much with hardware or firmware (at most a bit electronics and Arduino). What is the motivation in using hardware description languages ...
0
votes
2answers
120 views

Which NTP server should I use for my product to update time?

I am developing a GPRS enabled embedded device.To synchronize time with the network I have to use NTP protocol. The nature of the product is such that I have to Hardcode the NTP server address inside ...
2
votes
0answers
206 views

STM32 USART with DMA — which interrupts to use?

I'm working on firmware for an STM32F103 which is communicating over RS232 at 115200 baud with a motor controller. The motor controller (a Copley Xenus XTL) operates on a "speak when spoken to" ...
0
votes
0answers
80 views

I2C interfacing with ATmega32 and ArduinoMega2560 failed

I'm trying out I2C interfacing the ATmega32 with Arduino Mega2560 Board without success. The Arduino Board is configured to be the Master Read. The Atmega32 is configured to be the Slave Write. I ...
-2
votes
2answers
80 views

Can we measure a electricity? Embedded System? [closed]

Checking if electricity is passing through a wire or not using embedded systems. I want to check if power is there or not. I am new to embedded system. If yes how can I check.
0
votes
0answers
34 views

Trouble getting push button working in Nios II

To give you an idea of what I'm trying to accomplish, the 18 LEDs on the board are to scroll right to left, then back to the right, and keep looping as such. Where the push button comes into play is ...
-2
votes
2answers
49 views

How to give power to an embedded system [closed]

I started designing a small system.The problem is that i am designing ot for the first time and my friends suggested to power management IC's for my system to give the power.I searched through the net ...
0
votes
4answers
69 views

Playing with this SoC

I have done a few projects on Arduinos. Now I want to step up my embedded skills. I have found this SoC with embedded Linux and video encoding/decoding capabilities. I am interested on running OpenCV ...
1
vote
3answers
142 views

Pull up resistor

I'm software, not hardware, and would ask our electronics guy, but he's away on a site visit. Someone on StackOverflow suggested I repost this here. I get the basic idea of a pull up resistor as ...
1
vote
2answers
148 views

How to stabilize adc output display on 7 segment

I am designing a simple voltmeter. I am using 8 bit ADC of PIC16F72 and Mikro C compiler with a multiplexed 7 segment display. I am getting ADC value on 7 segment display but its continuously ...
2
votes
3answers
96 views

Playing sounds on an AVR MCU [closed]

I never had to deal with sound and I am pretty sure some of you guys have some experience in that kind of application. My question is more about getting some tips on the different ways to implement ...
0
votes
0answers
62 views

PIC16F72 Unable to use all pins of PORTC

I have written code for a voltmeter using a PIC16F72, but I am unable to use PORTC pins 1 & 2 as Digital Output. The datasheet says we can use all pins as output, but it does not work in my ...
0
votes
0answers
29 views

ROM functions through CMSIS on LPC15xx

I'm playing with LPC1549 uC. I'm using CMSIS library, and I'd like to ask how could I use the ROM functions through CMSIS? Maybe it is a silly question but I'm not sure about it.
1
vote
1answer
230 views

USB interface with STM32

I'm experimenting with native USB in STM32. I've not found any "step by step", or a little more well structured tutorial, how to implement CDC or mass storage for example. I've found some examples, ...
0
votes
1answer
138 views

Microchip PIC32 MEB Audio Recording

Well, I was just wondering, I have been using the Microchip PIC32 USB Starter Kit with the MEB (Multimedia Expantion Board 1) for some projects. One of them is to record audio and analyse it, the ...
0
votes
2answers
114 views

GPIO interrupts in alternate mode

Are the interrupts in GPIO module triggered (high to low edge, low to high edge, low level or high level) when GPIO is operating in alternate mode functionality?
3
votes
1answer
164 views

Lithium battery consuming more power on Sleep Mode

I am trying to reduce the power consumption for PIC18F87J11 on sleep mode. The PIC is drawing about .01 mA (6 uA) on sleep mode with Alkaline AAA batteries and other power source, but when I use ...
1
vote
1answer
91 views

STM32F102 USB Programming

I am currently designing a board for a STM32F102 chip which needs to be able to use the USB bus to transfer data while the chip is running. However I also want to be able to program the chip through ...
1
vote
1answer
224 views

How to intitalize data in Program Memory

Im using MPLAB IDE & C18 compiler to program Pic18f2550. I have to initialize a const string in program memory to save space in RAM how do I do it ?
0
votes
2answers
109 views

I want to send data to seven segment display without micro-controller

I'm new to embedded systems I want to send data to seven segment display from my pc could i connect the seven segment display to my pc via serial or usb port or i have to use a micro-controller ...
1
vote
2answers
170 views

Correct ways for implementing standard inbuilt watch dog timers

I'm bit new with using applications that use watch dog timers and i'm up to use one for the first time. I'm using pic18f26j50 and it got an internal watch dog timer which got a limit from 2ms and can ...