System Workbench for STM32

Newbee in STM32+HAL is looking for Orientation and Tutorials

Hallo to all,

I plan to move to STM32 and now I am working on System Workbench + HAL + Cube MX. All works fine. My Problem: Where I can find information and/ or didactically well prepared tutorials, how to use the STM32?
Wenn you plan to use an GPIO Pin, then you have to configure the pin first, that is what I expected. In HAL Semantics it would be written like

int main(void)
where MX_GPIO_Init() is
static void MX_GPIO_Init(void)

GPIO_InitTypeDef GPIO_InitStruct;

/* GPIO Ports Clock Enable */

/*Configure GPIO pin Output Level */

/*Configure GPIO pin : B1_Pin */
GPIO_InitStruct.Pin = B1_Pin;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);

/*Configure GPIO pin : LD2_Pin */
GPIO_InitStruct.Pin = LD2_Pin;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(LD2_GPIO_Port, &GPIO_InitStruct);


Cube MX delivered the code.

How can I know, that I have surprisingly to enable someting_like_ CLK or somthing_like_SPEED in order to use a pin? And what, when I try to use different Timers, ADC, FPU?
Main Question:
Is there a documenation which explaines the usage of the STM32, that means how to use GPIO, Timers, ADC, FPU with Code Examples (for HAL), like a cook book? Maybe there is, i cant find in the Internet. How you did your first practice?

Thanks in advance for constructive answers

Maybe you should read some reference manuals or chip datasheets from st.com.
Each module in st mcu shuold open clk first,which is closed in default for reducing energy,so you must open it before using it.


Newest Forum Posts

  1. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  2. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  3. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  4. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  5. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  6. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  7. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21
  8. How to debug STM32f103c8t6 with stm link utility by jcliff, 2019-03-20 15:36
  9. PWM signal Output Malfunctionment by Michael zeinoun, 2019-03-19 11:20
  10. What different WINDOWS MAC OS by actionprog, 2019-03-19 06:08

Last-Modified Blogs