Stack Exchange Network

Stack Exchange network consists of 175 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-systems]

Computer hardware and software which forms a component of some larger system. They are expected to perform functions with relation time constrains, without human intervention. Embedded system can range from simple MP3 player to complex avionics system.

3
votes
0answers
152 views

Conversion from LSB to mg not making sense for accelerometer

I have a BMI088 and am trying to get an accelerometer reading. The data sheet and specs for Bosch Sensortec are here: The sensitivity per range is this (its a 16 bit signed integer): ± 3 g: 10920 ...
1
vote
1answer
78 views

Which type of sensors to analyze polluting gas from vehicle emissions

I am thinking to develop a remote-sensing applications for vehicle pollutions. In such cases generally expensive optical IR and UV devices are used because more precise. These devices are generally ...
2
votes
0answers
70 views

Connect a GPU to a mobile FPGA using

Please indicate if this question would be better asked on other fora, I'm not an engineer but computer scientist, and have very little experience with FPGA's / ASICs. As far as I understand from ...
1
vote
0answers
27 views

MIPS Assembly stalls and forwarding when a register's value isn't modified in previous step

I'm going over pipelining and stalls and forwards with MIPS architecture, and there's a couple things I'm uncertain about. If two adjacent instructions, such as the first two of each set bellow, both ...
0
votes
3answers
106 views

What is this device?

So recently I went to Supercomputing 17 conference and picked this from a booth. I would like to know as to what this device is? What's its name? Where to find its documentations? Thanks
1
vote
1answer
44 views

DLX assembly synthax

I see some example of DLX assembly instructions such as: LW Ri, 0 (Rz) but I can't find out why Rz has brackets around it.
1
vote
1answer
36 views

RTC interface with PIC16F877A

I am newbie to embedded programming. My problem is I can write and read data to ds1307(by saying using I2C debugger). But my received data on LCD showing 0xE1 constantly for every changing second. Is ...
3
votes
3answers
1k views

Send sensor signals to WiFi network

I want to build a home automation system by hooking up various sensors (e.g., passive IR motion sensors, magnetic door contact switches, vibration detectors, etc.) around the house to detect things ...
2
votes
0answers
30 views

How do I perform RM scheduling?

The question says, "Perform RM scheduling for the following task set: T1=(2, 0.5, 4), T2=(3, 1, 10), T3=(5, 1, 10) and T4=(7, 0.45, 15)". Here the standard notation (Period, execution time, relative ...
2
votes
2answers
115 views

Is it possible to read a USB port directly? [closed]

In Windows is it possible to write a simple program to read the binary value of a USB port without going thru a USB driver?
2
votes
1answer
84 views

How to transition from battery to USB in a microcontroller?

I am designing a 3V battery-powered simple micro-controller to collect sensor data in RAM. How can I avoid a conflict with the 5V of a USB when it comes time to upload the data? Disconnecting the ...
2
votes
2answers
266 views

How to measure signal period with Arduino?

I am trying to use an Arduino Uno R3 as a tachometer (It is going to measure the RPM of my motorcycle). Basically it only has to count how many times an input pin goes HIGH in one second. The problem ...
2
votes
1answer
133 views

Tuning PID Controller

I have to determinate the power (Watts) for an oven to reach the Temperature Reference. And I have been given only the function to apply power to the oven and read the temperature. I've reading the ...
0
votes
0answers
52 views

How does ATM determine the card is inserted the right side?

Whenever I happen to try to insert the card into the slot in the ATM wrong side - be it upside down, or backwards - it goes maybe 2cm in, barely past the plastic shield, and is mechanically stopped. ...
1
vote
1answer
454 views

How to resolve Keil uVision 5.0 compilation errors?

In an effort to learn Embedded System Programming I recently installed Keil uVision 5.0. I am using a STM32F development board. At this point all I am interested in is getting STM32 L1 Tutorial #1: ...
2
votes
2answers
291 views

Bread board for STM32

I have a microcontroller similar to the one in the accompanying picture. I do not want to solder wires to the microcontroller contacts Is it some kind of printed circuit board on which a ...
2
votes
1answer
75 views

What is a multi-standard mcu?

I was watching a video on the ti products out currently for wireless microcontrollers, and they mentioned a "multi-standard" CC2650 mcu here http://bcove.me/uekqgi7q. What makes a microcontroller "...
2
votes
0answers
213 views

Make a prototype of a braille tablet using arduino [closed]

I want to basically make a pin matrix controller either by using spring, electromagnets or small motors. Spring being the most viable option. Something like what’s shown in the image. I'm pretty new ...
2
votes
3answers
192 views

Why not only GSM (3G/4G/..)? Why do we need Bluetooth, Wifi,etc…?

It is quite frustrating to have multiple adapter for connecting to desktop. For example, if I want to connect my phone to desktop I need Bluetooth/wifi; why can't I just just use the Mobile's main ...
1
vote
0answers
84 views

am335x use gpio with pull down

I'm working with a custom made mini computer, am335x based. It comes with 2 GPIO ports that we use to provide services to our customers. I want to change one of those specific ports, that is already ...
2
votes
1answer
220 views

Why we use GPIO for embedded systems? [closed]

I'm using an F2802x microcontroller and I saw in Embedded Coder in Simulink that I have Digital output block. When I use this block, how does it work?
1
vote
0answers
52 views

Servo, control, rpm sensor in high g environment

I've used a few types of mechanically actuated variable pitch props on my boat, so I know their performance is good. However, their strictly mechanical and also self-contained nature makes their ...
1
vote
1answer
148 views

Transistor choices for switching high speed data communication lines

So here's my situation: I'm a mechanical engineering student working on a product innovation for one of my courses. The product itself is fairly heavy into embedded programming, which I'm comfortable ...
4
votes
2answers
170 views

What is the advantage of using GPIO pins as sinks instead of sources?

I'm following this tutorial on how to control Raspberry Pi GPIO pins with Python scripts. Instead of connecting the test circuit (LED + resistor) between the ground and the GPIO pin however, they ...
3
votes
2answers
187 views

Hardware behind interrupts

I am studying embedded systems and microcontrollers and now I have to face the interrupts. I understood the main concepts around them and how to implement them inside a C code, but I want to know how ...
3
votes
2answers
214 views

What is the difference between I3C and F4C microprocessor crystals?

Background: We are in the process of developing a sensing application. We are currently using an Evaluation board from a vendor for initial development work that has a MSP430 microcontroller. The ...
1
vote
1answer
97 views

Real time clock for PIC16LF1902/03

I'm finding difficult in implementing real time clock for pic16lf1902, wherein their are no serial protocols for communicating/interfacing with builtin LCD display. Is their a convenient way to solve ...
0
votes
2answers
132 views

How can electrical noise be isolated in an Embedded System?

An input device sends a 20ms positive signal to perform an action. The signal is captured using an interrupt triggered on the rising edge of the positive signal. It appears that there might be some ...
7
votes
2answers
555 views

Flash Corruption - Power Supply or X-ray Radiation?

I work with a system in which the microcontroller is exposed to X-ray radiation from time to time. Exactly how much radiation is hard to say... we've never measured it. Anyway, we've seen a ...
0
votes
3answers
155 views

Can an embedded system be designed to support electrical manufacturing testing?

Background Desktop computers and laptops can be configure to dual boot. Example: Ubuntu and Window on the same computer/laptop. Question: Can a similar concept be applied to embedded system? If so ...
4
votes
1answer
173 views

Retain information memory on MSP430 in mass erase operation?

MSP430F2619 has 256 bytes of information flash memory. This memory is again segmented in 4, 64 bytes segments. Segment A of this memory can't be erased during mass erase and production programming. I ...
5
votes
2answers
172 views

What are the pros and cons of using Zibgee over BLE or vice versa for IOT application?

I am currently working on develop an IOT architecture. The sensing devices are to be integrated with microcontroller. The microcontroller will be integrated to some type of RF communication device. ...
5
votes
1answer
45 views

How to select a micro controller for a low power applications?

I am interested in a microcontroller for a low power application. I have been advise to look at MSP430 or Microchip PIC microcontrollers. I also wonder if ARM-Cortex-M0 is a good choice too. At a ...
2
votes
1answer
914 views

How to convert ASCII to binary to facilitate a UART to SPI bridge for an MSP430?

I am currently working on project where the commands for a PC to the MSP430 will be communicated via UART. These commands need to be converted to binary to be able to written to the SPI bus. For ...
12
votes
1answer
146 views

Why are typical UART baud rates not in multiples of 1000?

Why are typical baud rates not in multiples of 1000 instead of being in multiples of 300 i.e. 4800, 9600, 19200, 115200, etc...? Is there a mathematical or electrical reason behind this?
10
votes
1answer
135 views

Saving RAM Memory when writing to 2K page size NAND flash

I am writing a driver for the Samsung K9WAG08U1D NAND flash chip. The specification of the memory chip mentions it has a page size of 2048 bytes (2kB). I am using a ...
10
votes
1answer
11k views

What are left justified and right justified ADC results?

The TI MSP430F20XX series has a 12-bit internal ADC output, which is right-justified. What is the difference between a left-justified output and a right-justified output? What are their pros and cons?...
10
votes
1answer
529 views

How fast should I sample with a logic analyzer?

If I have a 10 MHz digital signal, how fast do I need to sample with a logic analyzer to avoid any bit errors? Does the minimum sample rate increase if I want to attach a protocol decoder (e.g. SPI)? ...
7
votes
1answer
91 views

What needs to be considered when configuring the clock system for a MSP430F5xxx micro-controller?

I need to configure the clock systems for a MSP430F5528 microcontroller. The current development board has a 24MHZ crystal attach to XT2 pins (XT2IN/XT2OUT). The current design will need to support ...
7
votes
1answer
950 views

What IPC mechanisms exist for the i.MX 7 (or i.MX 6) multi-core processors?

I'm considering using the i.MX 7 processor for a new design. The overall architecture appears to be similar to the i.MX 6, at least from comparing the block diagrams. What mechanisms exist for ...
11
votes
3answers
10k views

Defining the heap and stack size for an ARM Cortex-M4 microcontroller?

I have been working on and off on small embedded systems project on and off. Some of these projects used an ARM Cortex-M4 base processor. In the project folder there is a startup.s file. Inside that ...
8
votes
1answer
134 views

How can I increase my processor's ADC resolution?

I have an Atmel SAM4S MCU with a 12-bit internal ADC. I would like to achieve 16-bit resolution at a sample rate of 500 Hz. The input to the ADC is fairly low-frequency (about 20 Hz max frequency ...
10
votes
1answer
5k views

How do Thumb instructions compare to ARM instructions for performance?

A colleague mentioned that Thumb instructions were significantly slower than ARM instructions (this was for an AT91SAM7S32 processor). Is this true? What are the performance benefits of one ...
6
votes
1answer
2k views

In a device tree for AM335x, how do I know what pinctrl values to use?

In the Linux kernel's dtsi file (am335x-bone-common.dtsi) for the AM335x processor, there is the am33xx_pinmux tree, with values like this: ...
4
votes
1answer
175 views

How can I determine the code changes in an Atmel ASF update?

Atmel's ASF (Atmel Software Framework) is periodically updated by Atmel. When an update is available, Atmel Studio notifies you and asks if you want to download the update. If I install the update, ...
5
votes
1answer
95 views

What is the behavior of unpowered FPGA pins on I2C bus?

The development board for the touchscreen chip we got is too good ;) The chip provides the readouts over I2C, passes it to FPGA (I could provide the model if I find a magnifying glass... but I'd ...
6
votes
1answer
111 views

Why are words bit-shifted for an Atmel SAM4S SPI slave?

I have discovered a problem when using the SPI peripheral in slave mode on an Atmel SAM4S. Occasionally words can become bit-shifted. I can force this condition by enabling the peripheral some ...
6
votes
2answers
96 views

How to find who occupies pin X in Device Tree?

I've already learned how to find which pins can be assigned to a functionality I just open the [arch]-pinfunc.h file and find the entries after __ for given ...
7
votes
2answers
469 views

How fast movement (cycles/s) can I reliably read with PSoC4 quadrature decoder?

PSOC4 provides a quadrature decoder functionality but I was unable to find specifics on its performance in the datasheets. Sure I know I need to read and utilize the count until the 16 bits of its ...
8
votes
3answers
93 views

How do I know if I need a pull up or pull down resistor for a GPIO pin?

I've seen many microcontrollers use pull up or pull down resistors either as a setting for GPIO pins or as part of the hardware. How do I know if I need a pull up or pull down resistor for a GPIO ...