Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello,We use the CubeIDE generator for most of the code initialization. Therefore the HAL is also inizalized. The function HAL_Init(); is executed and TIM1 is started.The Hal ticks work fine.Now I want to use the Chanel 1 of Timer1 for a PWM signal o...
Hi,I'm trying to create multicore communication. I want to call interrupt in the second core. Firstly I thought that I can somehow make hardware semaphore release interrupt in the second core. But then I found something better in the CubeIDE:It looks...
Hi there. I am developing a bootloader application in IAR EWARM environment on my STM32f415 card. I'm having trouble uploading it to my stm32 card when I want to debug the bootloader code.Bootloader code starts from 0x08000000 and application code st...
/* USER CODE BEGIN 2 */ // CS pin should befault high HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12, GPIO_PIN_SET); uint8_t TX_Data[13] = "Hello World!"; uint8_t RX_Data[13]; /* USER CODE END 2 */ while (1) { /* USER CODE END WHILE */ ...
I'm writing code for the STM32F411 and STM32F103 MCUs using the ST HAL library. The firmware reads an IDR directly using the HAL function HAL_GPIO_Read_Pin. The function is called 2 to 3 times in main(), that is, the IDR register is 'polled' more tha...
In my application I need to design a multi purpose digital input which can operate in 3 modesON/OFF detectionFrequency measurement andPulse CountingI can do the last 2 using HW Timers in Input Capture mode and configuring it for both edges. In the al...
In this Tutorial, TM1637 LED driver is interfaced using STM32 microcontroller. The steps of building the interface from scratch and the used hardware are explained in details.Tutorial video:https://youtu.be/hrVOO_k5FOIAll codes and documents are shar...
In Standby mode it is given like this.... (1.2 V domain powered off).All 1.2 V domain clocks OFFwhat does this means?