Skip to main content

New answers tagged

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 ...
Zubeyir's user avatar
  • 432
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/...
Gabriel Staples's user avatar
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 ...
akoluaciklinux's user avatar
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 ...
實驗室哈哈哈's user avatar
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....
李承恩's user avatar
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?
Zubeyir's user avatar
  • 432
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
0___________'s user avatar
  • 72.7k
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?
Martin Brown's user avatar
  • 3,895
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 ...
David Grayson's user avatar
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 ...
chux's user avatar
  • 159k
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 ...
Eugene Sh.'s user avatar
  • 18.7k
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 `.' ...
singleaspringle's user avatar
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 ...
singleaspringle's user avatar
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 ...
the busybee's user avatar
  • 13.3k
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?
the busybee's user avatar
  • 13.3k
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
singleaspringle's user avatar
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 ?
wohlstad's user avatar
  • 37.3k
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.
Zoe Ji's user avatar
  • 1
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 ...
Carlos Daniel Perdomo's user avatar
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 ...
Maximilian Gerhardt's user avatar

Top 50 recent answers are included