Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Weird performance for SPI comunication

Hello everyone

I am facing a weird problem with bluepill (stm32f103c8). I developed a code to control lead addressable stripe that uses SPI communication (APA102), and it worked nicely, then I tried to PWM on timer 2 beside SPI, and this made led stripe to make totally weird performance, like lighting a different led than the one I choose, ignoring other leds, etc...
the more strange thing, is that I created a new project and tested the original SPI code that worked nicely before I add PWM, and strangley same weird results!
I uninstalled STM32Cube, and installed it again, nothing changed.
I decided to start over and follow some tutorial over internet, and I followed this one here:
https://www.youtube.com/watch?v=XcDL2afLpNYQuestion
but it uses keil and not using HAL while using SPI transmit commands, so I modified his code a little bit ()my modified code is in attachements, so I can send using HAL, and I got a similar weird performance one more time. I changed everything, wiring, microcontroller, uninstalled the IDE and installed it again and nothing worked.
What could be missing? any suggesstions?

 

Newest Forum Posts

  1. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs