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


Beginner projects & where to begin

Hi guys

I will give a quick run down so you can gauge my ability, as well as how you can help - which I would very much appreciate

equipment I am using:
Nucleo F030R8
ST-Link v2
STM32CubeMX
Keil uVision5

I started using the Nucleo recently, and it has been a big step up . In the past I used the Arduino comfortably. I made an app for the iphone to control LED lights connected to a Teensy(Arduino adaptation in simple) via bluetooth. I also touched upon the ESP8266 and hosted a webpage.

Since stepping up to the Nucleo I have struggled. I use the STM32CubeMX and downland to Keil. I have done a basic ‘Hello World’ program which is to light up LD2 on my Nucleo. Success (link I used- http://www.instructables.com/id/STM32F103-Blink-LED/).Question However, I feel stuck and unsure of what to do now. I do not know the commands to do things. When the code was downloaded to Keil there is a line that reads:

HAL_GPIO_TogglePin(LD2_GPIO_Port,LD2_Pin);

My understanding is this sets off the light when the button is pressed. However, how do I know what all the other commands are?
If I want to turn on the light, what do I do. and to turn off?
If I wanted turn on for 2 seconds, turn off for 1, how would I do that?

Then to advance, if i wanted to light up an external led on a breadboard, how would I go about that? and finally are there any projects you recommend I do to get stuck in?

Many thanks in advance, and I will reply as soon as I can


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs