11,229 questions
Advice
0
votes
0
replies
27
views
Does Adaptive Autosar prefer Microkernel OS?
In Adaptive Autosar does anyone use is monolithic architecture? if not why only mikrokernel architecture for OS?
Best practices
0
votes
2
replies
43
views
Optimization strategies for deploying multi-modal emotion recognition models on Nuvoton M55M1 (Cortex-M55) with Ethos-U55 NPU
I am currently working on an edge computing project.enter image description here The system analyzes both facial micro-expressions (via CMOS camera) and Electrodermal Activity (EDA) signals.
Hardware ...
Best practices
2
votes
9
replies
100
views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
I am working on an embedded project where two motors are controlled using PWM signals.
Each motor requires two PWM signals, so the system generates a total of four PWM outputs.
For testing purposes, I ...
Advice
0
votes
6
replies
84
views
How to properly add a new section in internal RAM without breaking this linker script?
I am working on an embedded project in a microcontroller based on Cortex M7 and I've been asked to modify this linker script to add a new section .new_section which will always stay at the beginning ...
0
votes
0
answers
39
views
STM32F401RET6 Speech Denoising — Wiener Filter Output is More Noisy Than Original Input
I am implementing a real-time speech denoising pipeline on an STM32F401RE microcontroller running at 84 MHz. The goal is to denoise speech audio recorded at 16 kHz that contains background hiss and ...
1
vote
1
answer
67
views
STM32F401RE UART audio processing losing samples when sending WAV data from Python
I am trying to perform simple audio denoising using an STM32F401RE Nucleo board.
I have .wav audio files that are:
mono
16-bit PCM
16 kHz
about 7–8 seconds long
Python reads the audio samples and ...
5
votes
0
answers
180
views
I2C not functioning on TI Launchpad EK-TM4C1294XL
I cannot get I2C working on a TI Launchpad. I do have the UART working , and can build and compile. But no signs of I2C activity. I am wondering if I have missed a config step? I have tried multiple ...
0
votes
1
answer
50
views
Error while flashing linux on STM32MP1 board
I’m working with a MYIR MYD-YA157C (STM32MP157AAC) board and I’m trying to restore a board using STM32CubeProgrammer (USB / DFU mode) with a FlashLayout TSV.
The board is custom made , but the HW ...
0
votes
1
answer
194
views
Pi Pico Embedded Rust Always elf2uf2-r Always Produces Error: "Unrecognized ABI"
I've been trying unsuccessfully to get a simple embedded Rust program to build and run on a Pi Pico.
Here is my project:
.cargo/config.toml:
[build]
target = "thumbv6m-none-eabi"
[target....
0
votes
0
answers
80
views
Running pdb in embedded python doesn't read input
I am attempting a simple python debugger in C++ by calling pdb. I can invoke pdb's 'runcall' on a python file from C++ but it seems like subsequent input is not treated as pdb commands. Below are the ...
Best practices
0
votes
4
replies
93
views
Is there any good documentations about Java interacting with serial ports?
I've found so far two PDFs:
SerialProgrammingInPosixOSs.pdf
Sznikak_Pattern-Oriented-SA_vol2.pdf
but so far I've found the documentation not strictly related about the architecture, the steps to do ...
Advice
0
votes
0
replies
46
views
CAN Legacy implementation on Infineon TC387 eval board
I have CAN implementation code in AURIX development studio with loopback mechanism. But I need to test CAN with legacy code implementation without loopback mechanism. How should I proceed? Any ...
-1
votes
1
answer
101
views
Arm Compiler 6 does not initialize global variables
I’m using Arm Compiler 6 with a scatter file and running on a STM32 Cortex-M device.
My issue is that global variables with explicit initial values contain 0xFFFFFFFF at runtime.
I use the following ...
Best practices
0
votes
5
replies
143
views
Is this state machine designed correctly for a thermostat
Look at the following code for a smart thermostat state machine and tell me which coding practices have not been followed in the design of this state machine and what can be its fallouts?
What should ...
0
votes
0
answers
48
views
STM32 + LoRa Slave hangs
I am developing a Master-Slave smart farming system.
Master: ESP32 (running FreeRTOS)
Slaves: STM32 (Sensor nodes and Actuator nodes)
Communication: LoRa (p2p)
The Workflow: The Master requests ...