Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [embedded]

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.

0
votes
1answer
25 views

Can you speed up debugging in Renesas High Performance Embedded Workshop by not flashing after breakpoint

I am debugging an H8S MCU in Renesas High Performance Embedded Workshop 4 with the attached E10A emulator, and find it's very slow when stepping through code because it keeps reflashing the chip ...
0
votes
0answers
17 views

How to listen to beacons(broadcaster) using the simple_observer example?

I am using the TICC2640 for this purpose. I am trying to use the simple_observer example from the SDK to listen to beacons. I am able to scan the devices and print their MAC addresses. I am ...
0
votes
2answers
78 views

Current drawn by microcontroller

How to estimate current drawn by microcontroller(on the ADC port) when interfaced to a module/IC/sensor theoretically? MCU manual: https://nxp.com/docs/en/data-sheet/LPC2131_32_34_36_38.pdf
0
votes
1answer
48 views

power consumption of sensors

How to measure the power consumed by a temperature sensor theoretically? The datasheets mention the supply voltage range and output current. So, to calculate the power supply current will be used in ...
0
votes
1answer
49 views

Embedded System power requirement calculation

How can I measure total power requirement of an embedded system which consists of a lpc2138 interfaced with various other components such as lcd, humidity sensors and temperature sensors. Also the ...
0
votes
1answer
37 views

Embedded web server

I am working on a college project in which I want to embed a http web server on a TIVA launchpad eval board. I have been looking through the internet for any guidance on the subject but the ...
0
votes
2answers
40 views

Does current draw of separate pins of a microcontroller affect each other?

I have a microcontroller with a IR LED and transistor, as well as a RGB LED. If my battery microcontroller is turning on its RGB LED, connecting to cellular, will this mean less current is going to my ...
0
votes
1answer
50 views

What does it mean when i2c_smbus_read_byte() returns 0

i2c_smbus_read_byte() returns a negative value when there is an error in reading data. But what if it returns 0? Following is the code from adt7316-i2c driver ...
1
vote
2answers
125 views

Combine C and C++ in STM32 application development [closed]

Generally, developing embedded systems applications is based on abstraction. We expose some functions from lower layers that can be used in the application layer. My question is: Can I develop the ...
0
votes
0answers
61 views

Going from PIC to ARM

I've been wanting to expand my embedded skillset with ARM MCUs after spending a few months working with pic24 devices but I've hit a roadblock. I wanted to start programming ARM more "on the metal" ...
0
votes
0answers
14 views

Enabling I2S on Qualcomm Snapdragon 820 board

I'd like to configure a Qualcomm Snapdragon 820 board for I2S communication as an I2S slave to an external codec. Currently, the board has some GPIOs that can be configured for I2S function. How can I ...
0
votes
0answers
21 views

CC2530: adapting AVR/pgmspace.h for Zigbee

Goal: Adapt ENC28J60 codes written for ATMega328p (http://tuxgraphics.org/electronics/201204/embedded-ethernet-client.shtml) for CC2530. Problem: No equivalent library for AVR/pgmspace.h available ...
0
votes
1answer
68 views

How to understand “Power Up Checksum” in embedded system?

For an Embedded hardware system, how do we understand the "Power Up Checksum" in the initialization part? How does it work in detail? (Where does it check, what is the mechanism) A "Power Up ...
1
vote
3answers
107 views

Embedded Firmware Question - Memory dump

Ok so the back story is this. I landed an online code interview with a company that shall remain nameless. I know I am not ready for a job there but I was basically given the chance by an insider. ...
42
votes
9answers
6k views

Using volatile in embedded C development

I have been reading some articles and Stack Exchange answers about using the volatile keyword to prevent the compiler from applying any optimizations on objects ...
1
vote
2answers
128 views

Finding the address of structure knowing the address of one of it's members in C

This sounds like a little too far fetched, but is there any possibility to find the address of a structure, if the address of one of it's members is known? The struct itself contains different data ...
0
votes
0answers
26 views

Register description of TFA9896

I'm looking for the register description of TFA9896. Unfortunately, the datasheet doesn't contain these information: https://www.nxp.com/docs/en/data-sheet/TFA9896_SDS.pdf Do you know where to find ...
0
votes
1answer
70 views

How to display Numbers on the VGA display in VHDL?

I have a code to display block on the VGA display but I want to display numbers on it. I have a slight idea how to design it but Programmatically, I am having a hard time. I can define it as a ...
0
votes
0answers
20 views

Programming ADRF6720 Eval Board

I have a ADRF6720-27 EVAL Board. I want to load a program into the EEPROM (24LC641). That program should drive three GPIO pins (say 33, 34, 35 in CY7C68013a) to drive another SPI slave (ADRF 6720-27) ...
18
votes
7answers
3k views

Necessity of an external watchdog timer

What is the need for an external watchdog timer for a microcontroller? Most of the microcontrollers are designed with an internal watchdog timer. However, in some of the circuits they are using an ...
0
votes
0answers
40 views

How to solve the problem 'ModelSim(vsim) is not on the path'?

Now I am trying to initializing Intel HLS(high level synthesis) compiler, and I have downloaded Quartus, VS 2010 professional and ModelSim. When I input the command in the command prompt, something ...
0
votes
0answers
54 views

DTR and RTS pins interface for ESP32 auto reset circuit

I'm trying to program ESP32 using FT232rl by following the standardized transistor circuit. 1. DTR and RST using a series capacitor as shown, program uploads successfully by pressing the IO0 button to ...
-3
votes
1answer
63 views

PIC 10F200 MCLR PIN as Output

I need To use MCLR pin to make led blinking using this configuration but I conn't write the code for that
1
vote
1answer
133 views

Whats the most effective int on a 8-Bit Microcontroller? [closed]

The size of an int is defined by the compiler, not by the processor. Thats why e.g. int_8 exist. However, I was thought that usually int is the most effective datatype. Is this still true when e.g. ...
1
vote
1answer
105 views

Systems similar to TI's PRUs [closed]

I have been working with TI's PRUs on the am335x, equipped on the BeagleBone Black. I would like to know if other hardware manufactures offer similar systems. I am doing my Bachelor Thesis on this ...
0
votes
1answer
74 views

ModBus Timeout Error

Anyone very experienced with Modbus & RS-485??? My task is to control a DC motor using micro PIC24. The motor setting like the angle, delay, start/stop, duty cycle, etc will be sent from PC using ...
21
votes
4answers
3k views

Why are SRAM based FPGA used more than NVM based FPGA?

SRAM based FPGAs need to load the bitstream again after power off. Meanwhile the Non-Volatile based one don't need that. I wonder, why are more experiments and security research done on the SRAM ...
0
votes
0answers
16 views

PH-8700 SOM reflashing eMMC

We want to integrate PH-8700 SOM in our design (system on module with TI AM335x CPU). This SOM contains pre-flashed eMMC with some linux kernel and rootfs. What if we want to reflash eMMC with our own ...
0
votes
0answers
56 views

Best practice for low-latency multi-motor control with single embedded computer?

I need to control 20+ motors with closed-loop control. My understanding is that I should prepare an embedded computer and connect it to several motion control cards, ex. each card handling 10 motors. ...
0
votes
1answer
53 views

What is the difference between system clock and peripheral clock in case of arm Cortex M4 architecture? [closed]

System clock/core clock is the clock that drives the CPU. I understand that different internal peripherals use the oscillators. How do both differ from each other?
1
vote
0answers
43 views

Two-Terminal Passive Analog Component Tester Using the DE1-SoC Development Board

I am having hard time understanding this problem. I have to draw a Level 1 block diagram for this system. I really appreciated it if somebody can help me. I am new to DE1-Soc. use the Intel DE1-SoC ...
1
vote
2answers
126 views

How to design Watchdog timer that reset the system if Watchdog counter is not cleared at least every 1/4 seconds

This is the code I have for a green LED blinking every 2s with watchdog mode for MSP432. ...
-2
votes
2answers
91 views

Memory choices for lack of arduino speed [closed]

I'm designing a system which reads values from a microphone and feeds it to the Arduino to calculate a few sound parameters. The measuring happens during a couple of milliseconds. The problem is that ...
0
votes
1answer
49 views

LIS2DH12 Watermark and Overflow Interrupts at the same time

I'm working on a project that uses the LIS2DH12 accelerometer by ST (product page). I have a couple of questions about it, and as it is quite a common part, I wonder if anyone here knows the answers: ...
0
votes
1answer
38 views

STM32F030(K6) Systick not triggering (BOOT0 problem)

I'm trying to write a simple program for a STM32F030K6T6 microcontroller. The problem I am facing is the more common "Systick is not working" problem. The code is generated using Cube32MX (Firmware 1....
3
votes
4answers
125 views

In general, how do I know if my project needs a file system? [closed]

This question gives a good high-level overview of when an operating system is appropriate on an embedded platform. The three topics mentioned are networking requirements, GUI requirements, and file ...
0
votes
0answers
15 views

Deploying program from Atmel Studio or Avr dude to Atmel “XMEGA-A3BU Xplained”

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on the LED based for an assignment. ...
6
votes
4answers
251 views

Choosing an FPGA based on ADC sampling rate

I have a project involving an ADC sampling at 500 MHz. I need to take this ADC data and boil it down into something a cheap CPU can process. I believe this is a good application for a low-grade FPGA, ...
1
vote
0answers
50 views

Flash memory programming failure

I'm working on an XScale PXA270 with NOR Flash on Chip select 0. Due to the obsolescence of the previous flash, my company changed it for an AMD/Spansion compatible MX29GL128. I'm trying to write on ...
2
votes
1answer
39 views

Ebedded Linux: Recoverable, battery backed-up RAM (/tmp) [closed]

I hope this is an appropriate place for this question as it involves the use of the kernel. I have an embedded system with a battery backup for the RAM chip. The battery also allows for the MCU to ...
0
votes
2answers
100 views

Recording of sensory nerve evoked potential generated through skin-receptors [closed]

If we touch / give pressure to a skin, there are many mechano-receptors like meissner/pacinian corpuscles that produce action potential in neurons. I am in a need to detect those action potentials ...
0
votes
3answers
165 views

Accessing and storing a bit from a uint8

I need to access a particular bit from a uint8 variable, and store this bit value to another uint8 variable. Right now I am ...
0
votes
2answers
54 views

Map file analysis

I have been writing a software for an embedded controller in C++. I have noticed that I have some problems with ram memory (I have probably run out of the available memory). I have decided to inspect ...
0
votes
2answers
53 views

Not getting acknowledgement from MPU 9250 I2C slave using STM32F401RE

I am using an STM32F401RE development board to communicate over I2C to an MPU9250 based breakout board sensor. So far I have set the start condition, and sent the slave address/write bit to the device,...
0
votes
1answer
28 views

NXP LPC-Link 2 hangs when flashing and debug

im using a JTAG probe NXP LPC link 2 , with IAR Embedded workbench and procesor LPC1766. for some reason when i compile and try to load either a debug or release firmware onto the LPC1766 , it works ...
-3
votes
1answer
78 views

Why do I need to read/write from/to EEPROM in embedded applications? [closed]

What is the usage of the EEPROM in embedded application? can you give me examples?
0
votes
1answer
31 views

TWR-VF65GS10, how to programm? [closed]

We have a task to design IEEE 61850 compatible board. So we considered several options for MCU for the board: stm32f7xx series or something more powerful like NXP MVF6xx series or Sitara AM3358 series....
0
votes
1answer
82 views

IMU axis rotation, calculate values with respect to Earth plane

I'm building a project that uses an IMU (Inertial Measurement Unit). The project involves the device to be mounted inside a vehicle and I should provide the ...
0
votes
0answers
427 views

STM32 HAL SD CARD SDIO + DMA

I have a problem with SDIO + DMA. I wrote this part of code to SD CARD using FatFS : ...
7
votes
7answers
2k views

Is it possible to interrupt the copy process of a struct by an interrupt in embedded C?

Inside the driver I have got a function to copy the data from the internal struct into a struct from the application. Can this process be interrupted by a microcontroller interrupt trigger? ...