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.
1,768 questions
0
votes
0
answers
54
views
EEPROM interfacing with I2C [duplicate]
I need to interface an EEPROM to my microcontroller using I2C interface. I also want to connect an RTC in the same bus. How should I calculate the required pull-up resistor values? As per the EEPROM ...
0
votes
0
answers
82
views
Getting switch cases to work as intended in STM32 -BluePill
I am using a bluepill, and the final case statement is looping constantly from GO_TO_TOP -> COME_TO BOTTOM -> ROTATE_ACTION, the 'top' variable is being latched to '1' at the GO_TO_TOP case ...
0
votes
0
answers
73
views
Generating two PWM signals from a PIC18F45K20
I'm doing an environmental control group project for my embedded systems module. I want to generate two PWM signals:
Control fan speed from ADC readings from a TMP36
Dim an LED strip depending on ADC ...
1
vote
1
answer
55
views
SMARC carrier PCIe, USB3, SATA pinswap
Currently I'm trying to implement SMARC carrier board and I'm a bit confused about M.2 PCIe, SATA and USB3.0 signals connections (Rx/Tx swapping).
First, the PCIe:
SMARC standard describes PCIE_x_TX ...
0
votes
0
answers
40
views
Seeed nRF52840 LED won't turn off in deep sleep
I am using a nRF52840 along with a LTC3588-1 dev board. My goal is to activate BLE only when the PGOOD signal of the LTC is high, otherwise the nRF goes into deep sleep. However, when the nRF goes ...
0
votes
1
answer
124
views
Charge Pump Circuit Connected to STM32 BOOT0 Pin - Why and How?
I found this charge pump circuit in a design where the output from BOOT0(already pulled to GND) of STM32G431CBTx drives the CP_PWM signal. Can someone explain why this configuration is used?
My ...
1
vote
2
answers
53
views
Selecting External Clock Source for NUCLEO-WB55RG Board
I am not finding the clock frequency of the oscillator used on the NUCLEO-WB55RG board?
What's the value?
Where can I find it?
How to select it as clock source for the MCU?
Which one should be ...
1
vote
3
answers
446
views
Custom PCB shorts at 3.3-gnd and miso-sck pins only after soldering MCU chip
I made a PCB and got it manufactured the PCB does not have any shorts (specifically between 3.3v, ground, sck and miso of an ADC SPI pads) when the MCU chip (stm32h563zit6) is not soldered
but the ...
0
votes
0
answers
60
views
Seeking Schematic Review & Power Optimization Insights!
Deep Dive into Ultra-Low-Power Design: STM32U0 + E-Paper + SHT45 (CR2450)
I am engaged in a project focused on extreme power efficiency, and I am currently at the schematic review stage prior to PCB ...
0
votes
0
answers
92
views
Quadrature encoder in DC motor control
I have two main question about the subject of "Quadrature encoder" of DC motors. I provide the following link of a DC motor with integrated encoder:
https://www.aliexpress.com/item/...
2
votes
3
answers
524
views
What should I go through microcontroller datasheet if I use vendor HAL libraries?
I am new to microcontroller programming and I am confused about bare-metal vs vendor HAL (Hardware Abstraction Layer) .
From what I understand:
Bare-metal coding = accessing registers directly (GPIOx-&...
2
votes
1
answer
85
views
STM32 LTDC Not Displaying Image
I am currently using the STM32N657 on the NUCLEO-N657X0-Q board to drive an 800×480 pixel display with 24-bit color.
The display that I am using is the NHD-7.0-800480EF-ASXV#-T. I’m using the built-in ...
-1
votes
1
answer
80
views
Why does my CH552T NEC IR sender sometimes produce incorrect codes on an ESP32 receiver?
I’m building a USB IR blaster using a CH552T dev board, a Crowtail IR emitter, and an HS-S23B receiver connected to an ESP32. My goal is to send NEC protocol IR codes at 38 kHz using Timer2 for the ...
-1
votes
1
answer
69
views
Integrating Polling-Based Modules with UART Interrupt Communication on STM32 – Any Risks? [closed]
I'm developing a project using an STM32 Nucleo board. At the core of this project is a UART-based communication protocol running in interrupt (IT) mode — not polling or DMA. This protocol is ...
0
votes
1
answer
128
views
Interfacing resistive matrix of 40*40 sensor with MCU throughout exciting the rows and reading out the columns
I am designing the hardware necessarily for interfacing resistive matrix of 40×40 sensor with MCU.
I maintained 3 of 1×16 DEMUX (via selection pins, input routes to one channel out of 16 channels at ...