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

What's the sequence of number to let this certain stepper motor go clockwise?

I am going to implement the link of this 8051 and stepper motor and let it go clockwise. As shown in the diagram: pink link to p1.0, orange link to p1.1, yellow is link to p1.2, blue is link to p1....
1
vote
0answers
40 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
36 views

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

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
87 views

Recording of sensory nerve evoked potential generated through skin-receptors

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
151 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
50 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
44 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
22 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
75 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
30 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
0answers
53 views

STM32L0 communication through UART

I am trying to stablish a UART communication between 2 boards (the 2 board are B-L072Z-LRWAN1, for testing purposes). I need a bit of help because the transmission/reception is not working. Here are ...
0
votes
1answer
75 views

UART set up in STM32L0

I want to stablish a UART communication between two boards (B-L072Z-LRWAN1 and 8PYA00-SIMCOM-EVB_V1.02). I am fairly new to embedded systems and I need a little bit of help. I looked at some examples ...
0
votes
1answer
40 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
138 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? ...
3
votes
2answers
106 views

ARM Cortex cores with peripherals, basic requirements

I've been reading a lot of stuff about using ARM tool chain to build applications for different microcontrollers including ARM cores. Right now, I've been using the fairly easy route with Atmel Studio ...
-3
votes
1answer
72 views

Applications of Conio.h in embedded C [closed]

I have used conio.h library file in C and CPP for functions like clrscr() and getch(). What else is it used for in embedded C ? Conio.h functions clrscr delline getch getche gotoxy kbhit wherex ...
-1
votes
2answers
95 views

when dividing two integer result truncated to 0 [closed]

when i divide two integer and if the result is below like 0.987, then it become zero ...
1
vote
2answers
110 views

Using SFP modules from a microcontroller

I'm interested in having an embedded device send data optically. This is for test and measurement, where having conductive cables is problematic since it will perturb the measurement. The device is ...
0
votes
1answer
38 views

How to program SoC chips like CC2541F128RHAT [closed]

I am working on a BLE project. As per initial research, decided to use the cc2541 chip as BLE module. I have found one here. As per the datasheet, it shows it contains BLE and MCU. I need to program ...
0
votes
0answers
36 views

Embedded Linux Custom Boot Sequence

I’m working on a custom boot sequence for my Arria 10 SoC Demo Board. Rbf files and U-Boot should be in QSPI Flash, and Linux Kernel and RootFS are in SDMMC. I have no idea how to reach MMC memory ...
0
votes
1answer
39 views

What is the procedure for going from discovery board to a deployable solution? [closed]

Just to clarify with some context: This voice based keyword detection requires an mbed discovery board; and I am sure some min flash size. Even for a hobby project, i.e. personal home automation, ...
-1
votes
1answer
54 views

SysTick Timer in ARM arch - Mazidi book part

In mazidi book ARM arch. , using the sysTick Counter... i read this part Program 5-1 loads the initial value to the maximum and dumps the current value of the SysTick on LEDs of PORTF as it ...
0
votes
2answers
85 views

In-system programming of the SPI Flash chip [closed]

Device have Serial NOR Flash chip MX25L6406E located on the rear of the PCB (SO-8/SOIC-8 Package). Is it possible to program chip without desoldering it? (In-system programming). As I know, it depends ...
0
votes
1answer
19 views

Connect three HC-05 Masters to three HC-05 slaves

I have 3 Bluetooth modules HC-05 connected to my laptop using an USB-TTL interface and 3 microcontrollers each one has its own HC-05 slave. These devices shall send values to my laptop (each slave ...
1
vote
3answers
106 views

What is the best way to step my signal from 5V to 3V3? [duplicate]

I have some analogue signals between 0 and 5 Volts being fed from a multiplexer into another board that only accepts signals up to 3v3. What is the best way to step down the voltage? The signal ...
1
vote
1answer
167 views

Relation between Mbits/s and MHz

I am trying to communicate with an ADC via SPI. In the datasheet, It is mentioned, that: The performance of the ADC161S626 is ensured over temperature at clock rates of 1 MHz to 5 MHz – DNL +0.8 /...
0
votes
1answer
107 views

Calculate voltage of a 16-bit differential ADC that gives a two's complement value

I am working with a 16-bit differential ADC and I would like to know the difference between this latter and a single ended ADC especially: How to calculate voltage from the ADC value ? Is it like ...
-3
votes
1answer
99 views

need c program for 5 minutes timer [closed]

i am building a project for a cycling bath in which the motor goes up and down. the micrlimit switch senses up & down position. once switch is activated motor cuts off and timer starts. after 5 ...
1
vote
0answers
61 views

Suggestions for a thin contact sensor to check if there is contact between two surfaces

I am doing a little experiment with my bagpack, making it into a smart bag by adding a contact sensor to pockets such that is any item is inserted the contact between surfaces break and vice versa. I ...
1
vote
0answers
164 views

Can anyone help me get this running? (ILI9806E TFT on a teensy 3.5)

I am at one of those points where I just can't seem to see the forest for the trees. My previous experience with TFTs has been pretty much 'plug and play' using adafruit's breakout board kit and ...
0
votes
0answers
38 views

GTX1050 DP to LCD eDP

i have tried to connect my GTX1050 to the flat LCD panel: Short brief what I have: GTX1050 with DisplayPort Out LCD N173HHE-G32 with 40 pin eDP in DisplayPort Cable eDP 40 pin cable and now what I ...
0
votes
0answers
23 views

Confusion in walking 1s test on data and address lines of DDR3 to figure out address/data line shorted/open connection

We have beaglebone black based custom board with 256MB DDR3 RAM and 4GB eMMC. We are having two different kinds of DDR3 for our boards. MT41K128M16JT - 16 Meg x 16 x 8 banks : Size 256MB MT41K256M16 –...
0
votes
4answers
743 views

C struct v union in embedded programming - why? [closed]

Is there anything that a union can do that a struct cannot? I know that one might use a union to save memory space, but these days it hardly matters.
0
votes
0answers
61 views

Physical impact sensor for detecting mail dropped in letterbox

I would like to attach a sensor to the bottom of my letterbox so that when a parcel or a letter is dropped in it I would receive instant notification. Ideally the sensor would be able to be configured ...
0
votes
0answers
34 views

Can't read from HID device STM32f042

I am setting up a custom HID device on the STM3240f2. I've been mostly following the CustomHID example from STM. My Report Descriptor looks like this: ...
0
votes
0answers
94 views

How do I get started with my LCD display? (ILI9806E driver chip)

I recently acquired a new LCD display from a chinese firm that I would like to use in my project, however I have no idea where to begin with interfacing this with the rest of my system. I've created ...
1
vote
0answers
30 views

Write to File in Computer running IAR Workbench

I am currently writing and testing an embedded system in which I need to collect data from an accelerometer over a period of time. I already have functions that can read the data at a point in time ...
1
vote
1answer
71 views

Best way to handle 100 GPIO on AT32UC3C0128C

I want to monitor 100 GPIO pins on the AT32UC3C0128C and indicate the changes on the USART (RS-485 transceiver). In the code snippet below, I have set one of the pins as an input with the internal ...
0
votes
1answer
25 views

Bridging 3G/LTE from cellphone to IOT device

I have an IOT device that needs to function as an access point, even without close by wifi signals, and then publish a wifi network. I know that I can achieve this with a 3G/LTE/GSM module but given ...
0
votes
1answer
52 views

Accessing I2C address of ADT7516 ( Temp sensor )

I have a BeagleBone Green and an EVAL board of ADT7516. I connected them by SDA and SCL pins and as they are to be connected with the PC by the usb port, they will have a common ground. After this ...
3
votes
1answer
146 views

Problems reading the Delkin Micro SD 16 GB using SPI

I have been working with SD Cards and micro SD Cards for a while. I am using Part1_Physical_Layer_Simplified_Specification_Ver6.00 for reference. I am able to do successful card initialization, ...
1
vote
3answers
121 views

Why Micro-controller Pin is connected to ground via Capacitors? [closed]

I am analyzing a circuit which uses an Micro-controller to measure analog signals rms in digital form. There is one connection of circuit that i am not sure what it does. See the Figure. Here Vref ...
2
votes
2answers
56 views

How to open up serial terminal for my USB device converter (or, how to enable VCP in linux)?

I am using a new Cyclone V SoC board by Enclustra (Mercury+ SA2) mounted on their PE-1 BaseBoard. To connect to the board serially on Windows platform, I have to connect the board which is detected ...
2
votes
1answer
121 views

Embedded Ethernet Solution w/ PoE+; SPI or MII?

I am currently undertaking my first hardware design attempt of an embedded Ethernet project w/ PoE+. I have experience working with embedded systems with Ethernet (mostly ARM M3/M4 processors with ...
-2
votes
1answer
74 views

Connecting Temperature sensor EVAL board (ADT7516) to the BeagleBone Green [closed]

I have a BeagleBone Green and an evaluation board of the temp sensor (ADT7516). I also have a 4-pin female jumper to grove 4 pin conversion cable. I am not an electronics student and have no idea ...
2
votes
2answers
82 views

socketCAN vs OEM drivers

I have a Kvaser mPCIE card on my embedded Linux machine. Most standard Unix distributions come with a socketCAN driver module which takes care of any CAN devices present in the system, hence I can ...
2
votes
2answers
80 views

Commercial Availability of Bare Metal Automation Controllers [closed]

When I think of commercial automation controllers, I typically see 2 levels of system complexity. First, at a lower level, PLC's programmable with ladder logic, structured text or another 61131-3 ...
1
vote
2answers
78 views

Inside a library of common functions (Instruction Set ----> High Level Program) is there information of how many clock cycles they use?

I am a Mathematical Person. So thinking from that perspective. To make my question slightly more concrete. I was thinking of controlling a hobby servo through a Uart serial data stream. I am ...
0
votes
0answers
75 views

NRF24 became noisy after a while

I'm making a gyro mouse using MPU6050, NRF24L01+ connected to STM32F103 board, all soldered to a strip-board. The STM32 reads the sensor and sends data via NRF24 to another NRF24 attached to a USB ...