New answers tagged embedded
Best practices
0 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
If you only want to test your own signal on the software side to ensure it is generated correctly, that’s one approach. However, if you are working on the MCU development side using a specialized ...
Best practices
0 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
Here I use an Arduino to read the high portion of an RC control signal PWM pulse. You might look at it for inspiration: https://github.com/ElectricRCAircraftGuy/...
Best practices
0 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
I cant understand your question, but during the program execution, I wanna measure the pwm signal. But after a lot of suggestions, I wanna use oscilloscope. However, if you have any idea, I am glad if ...
Best practices
0 votes
0 replies
0 views
Optimization strategies for deploying multi-modal emotion recognition models on Nuvoton M55M1 (Cortex-M55) with Ethos-U55 NPU
Even with aggressive compression, reducing a 2GB FP32 model to run on a Cortex-M55 MCU is generally unrealistic. The limitation is not only model storage but also the very limited SRAM available for ...
Best practices
0 votes
0 replies
0 views
Optimization strategies for deploying multi-modal emotion recognition models on Nuvoton M55M1 (Cortex-M55) with Ethos-U55 NPU
Your architecture (YOLO-based face detection + micro-expression classifier + 1D-CNN/LSTM for EDA signals) is conceptually strong, but the gap between PC inference and MCU deployment is extremely large....
Best practices
0 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
Do you mean, fully software side initial PWM emulation first?
Best practices
2 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
Use oscilloscope or logic analyzer - it is the only way to see waht you get
Best practices
0 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
Are they stepper motors in quadrature or analogue ones with a class D driver?
Best practices
2 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
You can use the input capture feature of a timer, either on the same microcontroller or a different one, to measure the pulse width and period of a PWM signal. The datasheet of the microcontroller ...
Best practices
3 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
"I want to write a test code" --> OK, sounds good. What troubles are you having in coding this up? Do you have access the the signals themselves such that an oscilloscope could measure ...
Best practices
4 votes
0 replies
0 views
How can I verify that multiple PWM signals are generated at the correct frequency in a bare-metal embedded system?
The best way would be to output them to a test point and measure with an oscilloscope. But if you want to perform some kind of self-test, you will need to route the output to some input and sample the ...
Advice
0 votes
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
Can you name any particular source for this information: The location counters are separate for each memory. I read the GNU linker manual but it only says that: The special linker variable dot `.' ...
Advice
0 votes
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
No I'm not. I tried clicking Delete but it does nothing and I can only edit the content but not delete the post itself. StackOverflow told me it couldn't post the question so I posted it again and now ...
Advice
0 votes
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
You can put as many sections in SECTIONS as you like. The relevant syntax element is the assignment to memory, as defined in MEMORY. In your case this is } > ram on the last line of a section ...
Advice
0 votes
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
Are you aware that you can edit your questions?
Advice
0 votes
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
StackOverflow acting up, the other post is waiting for deletion
Advice
1 vote
0 replies
0 views
How to properly add a new section in internal RAM without breaking this linker script?
You already posted the same question (with a different title). Why did you post it again ?
Best practices
0 votes
0 replies
0 views
What is the practice for managing firmware versions in STM32 internal Flash?
Thanks for your reply. The original solution was to store the firmware version in Flag and save it into RAM for retrieving the version before erasing. I'm going to look up the solutions you provided.
0 votes
Pi Pico Embedded Rust Always elf2uf2-r Always Produces Error: "Unrecognized ABI"
I've hit similar walls with embedded Rust toolchains (I'm using a Pico 2W RP2350) — that "Unrecognized ABI" error is particularly frustrating because it gives you almost nothing to go on. I ...
3 votes
STM32F401RE UART audio processing losing samples when sending WAV data from Python
You are running into multiple issues here. UART bandwidth is too low Your audio stream is: 16 kHz * 16 bit = 256 kbit/s raw data But you are not sending raw samples. You are sending ASCII numbers ...
Top 50 recent answers are included
Related Tags
embedded × 11229c × 4664
c++ × 1208
arm × 1126
stm32 × 1090
linux × 899
microcontroller × 791
embedded-linux × 395
gcc × 354
interrupt × 345
arduino × 307
cortex-m × 287
assembly × 284
avr × 263
pic × 240
linker × 200
freertos × 200
rtos × 192
rust × 187
uart × 184
usb × 177
spi × 176
serial-port × 174
python × 166
memory × 162