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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
36 views

How does the Flash and PSRAM work together parallelly?

I have used ESP32 microcontrollers for a while now and mostly the schematics I have seen so far have data and CLK pins the same for Flash and PSRAM; only the chip enable pin is different. How do they ...
user avatar
0 votes
2 answers
53 views

What communication protocols are used with mobile displays?

I have been researching the communication protocols used between the motherboard/processor of touch screens used in phones and smart watches for a while, but I couldn't find much. Generally, ...
user avatar
0 votes
0 answers
21 views

What's the structure of an XBee signal in transparent mode?

I can't find this one anywhere. Does it only contain the message which needs to be transmitted? Does it also contain some address headers of the source and destination modules?
user avatar
  • 65
0 votes
0 answers
26 views

HDMI Debug Help

I have a custom PCB that contains an iMX8 module and a HDMI connector. The iMX8 module when connected in the manufacturers dev board can drive the HDMI display. From my custom PCB it cannot drive the ...
user avatar
  • 1
15 votes
6 answers
3k views

Why are some embedded registers password protected?

Some registers on MSP430 devices (and I assume some non-TI chips, but I mostly know MSP430s) have "passwords" that reset the device if software writes to the register without the right ...
user avatar
0 votes
1 answer
37 views

UART and BLE Simultaneously

I'm using the nRF52832 Blue Feather module. This project has an endnode (Master) and many clients (Slaves). So the endnodis e connected to an online server to collect data and send the data to ...
user avatar
0 votes
0 answers
25 views

STM32CubeIDE Importing a Project in C Language

I am trying to import a project written by C language into STM32CubeIDE. The files are arranged as follows: Acoustic recorder, acoustic transmitter and master_rf are separate projects (each should be ...
user avatar
0 votes
0 answers
65 views

How to electronically sample speaker output

I have a device which, under normal conditions, is connected to a 16 Ohm 0.25W speaker via two terminal blocks. When the speaker is connected it enables the device to play a song or other tone when ...
user avatar
1 vote
1 answer
55 views

How to check the functionality of all the pins on stm32?

What happened: I was carrying my stm32 f401re inside a bag, and there was a little droplets of water inside the bag, when I removed the bag the MCU was wet, I wiped it gently on my clothes before ...
user avatar
1 vote
1 answer
66 views

Calling embedded systems vs. calling embedded electronics

I know that the name "Embedded systems" is way more adopted worldwide. However, it always intrigues me since, in engineering, the term "system" is usually used when it is intended ...
user avatar
0 votes
1 answer
99 views

Why does voltage drop 50% only when using a small coin cell battery?

I recently made a small coin cell battery powered bluetooth board. I get full voltage when using a dev kits 3.0V output but only 1.5V when using a 3V coin cell battery. Circuit summed up pic below. ...
user avatar
  • 177
0 votes
0 answers
39 views

Video processing pipeline petalinux

I'm trying to build a very simple video processing pipeline using the ZC706 Evaluation Kit. The pipeline includes the following modules: Video Test Pattern Generator TPG --> Video Frame Buffer ...
user avatar
  • 1
1 vote
1 answer
44 views

MPPT input current measurement

I am currently working on building an MPPT, in a synchronous buck configuration. The HW side is almost done, I am still figuring out the current measurement and doing some tests to see how current ...
user avatar
1 vote
0 answers
40 views

SWD over USB C connector

I'm working on a CAN bus controller with a STMF105 MCU. The controller is in a waterproof enclosure with a sealed USB-C connector. I want the option to properly debug with SWD and easy field update ...
user avatar
4 votes
4 answers
91 views

Would writing to same flash address reduce lifespan of MCU

I am using an STM8 microcontroller. Since the vector table is in flash memory, I need to write to flash memory in order to create and use the vector table. Since addresses of vector tables are fixed, ...
user avatar
0 votes
0 answers
28 views

What is the purpose of LIN broadcast 0x7F NAD?

This is something that is not clear to me from the LIN 2.2A spec which is publicly available. Consider a network with one LIN master and three LIN slaves, and a schedule table with a slot for master ...
user avatar
  • 101
0 votes
1 answer
79 views

Using a FDCAN controller with a CAN transciever on the STM32 platform (G431KB)

I have a source of can messages connected to the SN65HVD232D CAN controller, which is then wired to a NUCLEO-G431KB via the FDCAN1 TX and RX pins. I confirmed with an oscilloscope/digital decoder that ...
user avatar
-1 votes
1 answer
55 views

Is there any ethernet and 4G gateway for PLC? [closed]

I'm new in PLC programming and used only Siemens Logo. The problem I'm facing is that I can not find any gateway device that can directly send the data to server. I want to avoid using PC for simply ...
user avatar
  • 2,041
1 vote
1 answer
56 views

Verilog code execution in gate level modeling

The following is Verilog code an SR latch. ...
user avatar
  • 245
1 vote
0 answers
62 views

GPIO basically not working on STM32401CCU6 Blackpill

As a newbie I switched from Nucleo to Blackpill recently (STM32401CCU6 ) and after an overally good start I faced a wall. It seems like GPIOs are... dead for some reason: HAL_GPIO_WritePin/TogglePin ...
user avatar
  • 115
0 votes
0 answers
36 views

IMVP9 Controller VID/SVID protocol PU resistors

I'm using MP2940 IMVP9 Controller for VCCIN (CPU Power Rail) and VCCIN_AUX (PCH Power Rail) for a motherboard that includes Intel Tiger Lake UP3 Processor. VCCIN Controller uses SVID protocol and ...
user avatar
  • 583
1 vote
0 answers
127 views

Problem with Arduino exercise

I have to do the following exercise: An 8-bit binary number is input to Port D of the ATMEGA328. Show on two 7-segment displays the independent value of bits 4,3,2,1 on the display. Note: Set keys ...
user avatar
4 votes
3 answers
143 views

How to cut power to an embedded device without damaging it?

I have to build a system that shuts-down an embedded device by cutting off the power supply (in case it stops responding). The device I want to turn off is quite sophisticated (it is a custom PCB ...
user avatar
0 votes
1 answer
49 views

Does the frequency of APB1 on stm32f4 have to stay at 42 MHz?

I'm trying to configure the clock of my stm32 board. And I'm wondering if I always have to make the SYSCLK 168 MHz and APB1 42 MHz. If the APB1 is not 42 MHz, I get a weird result when using uart. I ...
user avatar
0 votes
0 answers
25 views

Does flashing firmware on STM32F051x upsets program just before NRST is pulled low from ST-LINK?

I am wondering does is the main program said to be running smoothly till the last instruction before NRST is pulled low by ST-LINK? I have a converter running that is switching at 66kHz and I can see ...
user avatar
  • 127
4 votes
4 answers
754 views

Effect of Ethernet PHY interface on the speed of Ethernet

I have been working on this new project where I need to include Ethernet. But the microcontroller of my project doesn't have any Ethernet PHY included (no MII, RMII, GMII, etc.) So, I am instead using ...
user avatar
1 vote
0 answers
129 views

ESP32 High Sample Rate I2S

Recently, I've been working on a project that involves receiving a high sample rate I2S signal and writing it to an SD card with an ESP32. At the moment, however, I believe I'm struggling to even ...
user avatar
0 votes
3 answers
143 views

How to modulate the amplitude of a square wave at high speed (MHz)?

I want to build a modulator for driving a laser. I want the laser to produce square pulses with varying amplitudes. Hence I built a 1 MHz square wave oscillator (relaxation oscillator with an opamp.) ...
user avatar
1 vote
1 answer
84 views

iCE40LP1K FPGA - Performing an analog to digital function (Power monitoring) without an ADC

I'm using iCE40LP1K FPGA and I wanted to create a block that is responsible for doing a fast power down of all devices on the platform when the 12V is shut down due to powercut. Whcih means, when 12V ...
user avatar
  • 583
0 votes
0 answers
59 views

Running a thermal camera (AMG8833) with an orange/raspberry pi but i2cdetect cannot detect any of the 2 cameras

I have bought 2 AMG8833 thermal cameras from different sellers. I tested both first with an orange pi zero and later with a raspberry pi zero. On the orange pi, I used the following GPIO pins and ...
user avatar
0 votes
1 answer
81 views

Sequence on MSP430 C code skipping certain flags [closed]

I am developing some code for the MSP-EXP430FR5994, specifically code using the MSP430's ADC. My plan for the ADC is to run a dual-channel ADC capture. However, I have only been able to run the code ...
user avatar
0 votes
2 answers
90 views

Embedded firmware and app? [closed]

I am in Hardware Design trying to get into Embedded Systems, so please pardon me for lame questions. So, Scenario 1 : I upload an Arduino Sketch into Arduino with the help of Arduino Bootloader . ...
user avatar
0 votes
0 answers
25 views

openOCD not working?

I am trying to use Zephyr RTOS with my board B_L4S5I_IOT01A. After following the getting started guide, I can't flash the .hex file into my board. This is what the terminal looks like after I tried to ...
user avatar
2 votes
0 answers
60 views

FLASH memory corruption

I have a stm32f030c8t6 which I wish to save some data in its FLASH memory. I use Address Page30 which is 0x08007800 in memory map. it is in 7th Sector. I've developed my code and easily saved some ...
user avatar
0 votes
1 answer
44 views

MSP430 ADC, using a different memory slot other than MEM0

I'm working with the MSP430Ware Sample Code for a basic ADC on the MSP-EXP430FR5994 development board. On the code, it uses MEM0 and the supporting infrastructure such as flag 0 to convert. The one ...
user avatar
0 votes
1 answer
169 views

ST-Link doesn't show any data on the serial port

I am working on Nucleo board programming circuits. This board programs like an Arduino, you can compile, run and show data on the serial port. Actually, you can do debugging, too. You just need a USB ...
user avatar
  • 89
0 votes
1 answer
89 views

How to get program file from PIC?

I want to get the program file in the pic 18F46K22 from an electronic PCB. There is no code protection or password on the PIC18F46K22. It is a simple card. Is it possible to connect to the card with ...
user avatar
  • 1
2 votes
2 answers
317 views

Why do DAC circuits put the output through an opamp?

In almost all the DACs found online, there will always be an inverting opamp connect to the output of the bias weight or R-2R circuit. But in the embedded courses in edx, there was no opamp and it ...
user avatar
0 votes
0 answers
43 views

How can I set the PWM for PIC16F1934/6/7?

I want to generate PWM of 5 kHz with a 50% duty cycle using PIC16F1934/6/7 at pins RE0 and RE2 (CCP3 and CCP5). I am using the MikroC compiler, and the code is as follows: ...
user avatar
  • 65
0 votes
3 answers
88 views

SAR ADC of Nucleo board changes conversion result to a wrong one randomly

I am using a NUCLEO-L432KC board DATASHEET I am trying to configure the ADC conversion with a 10k potentiometer However the ADC seems to give a wrong results I set the pot to output 5v (asserted with ...
user avatar
0 votes
1 answer
79 views

How to monitor your code execution written for any electronic device while they are operating?

I am working on a mobile robot that includes motors, proximity sensors, encoders, and MCU. I am powering my MCU CC1350 Launchpad using the onboard power supply. The IDE I am using is Energia IDE, ...
user avatar
2 votes
1 answer
89 views

nRF24L01+ Doesn't Receive Packets

I am trying to send data from one MSP430 to another MSP430 using Nordic Semiconductor nRF24L01+ radios, but I am unable to receive transmitted packets. I am able to read from and write to the radio ...
user avatar
  • 31
1 vote
1 answer
192 views

FreeRTOS scheduler is not triggering the TASK

I am programming an STM32F103 for my project and recently switched from bare-metal to RTOS (FreeRTOS to be specific) without using CubeMX (code attached below.) For now, I am simply running an LED ...
user avatar
  • 317
1 vote
1 answer
144 views

Nucleo-L432KC USART can only send data but not receive from putty

trying to use virtual com port of the mentioned Nucleo board DATASHEET I can send chars nicely to the putty output but now wants to be able to send commands too from putty the peripheral is ...
user avatar
0 votes
3 answers
73 views

Shorting the crystal output

I was using such an extension shield: It is built using an MCP2515 (datasheet) controller and a TJA1040 transceiver. The resonator on it has undefined signs, so I wanted to use a logic analyzer (...
user avatar
  • 89
0 votes
1 answer
60 views

Restore Image File from an Embedded Linux

I am working a project and I am running python on my SOM module( Variscite DART-6UL ). The libraries installation take too much time that I need. Because of that I want to take an image file after ...
user avatar
0 votes
0 answers
174 views

Error in Upgrading ST-link V3 to J-Link

I am getting the following error from the STLinkReglasher program while converting the standalone ST-Link V3 debugger into J-Link. ERROR: Cannot find an ST-LINK, multiple ST-LINKs plugged in, or ST-...
user avatar
  • 317
0 votes
2 answers
75 views

Why do we need an isolated USB to TTL converter cable for communication between the desktop CPU and the target? [closed]

We can use non-isolated USB to TTL cable in between battery operated devices, ut when we are dealing with AC devices like communication between desktop CPU and electric meter (embedded MCU), we need ...
user avatar
0 votes
2 answers
50 views

ATmega analog comparator generates spurious interrupts

I'm experimenting with the comparator inside a ATmega328 to see if it can be used for zero detection of a DC 2.5V superimposed AC signal monitored on one of the ADC inputs. I use the code as shown ...
user avatar
  • 11
1 vote
0 answers
42 views

Using CAN bus on a NucleoH743 with Mbed

CAN bus is not working on my project. We are using a Nucleoh743 (STM32h743) programming it with mbed (Mbed OS 6.13) I have made sure the bus is properly made, with the correct termination resistors, ...
user avatar

1
2 3 4 5
30