Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi!I'm using mpu6050 and Nucleo-f103RB without MXCUBEi got problem with I2C communication.LED is blink in infinity../* Wait until SB flag is set */ if(I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, tickstart) != HAL_OK) { return...
I set a timer to count 500us ticksTIM_InitStruct.Prescaler = (uint16_t)40000-1; //SYSCLK = 80Mhz – 80Mhz/40000 = 500us TIM_InitStruct.CounterMode = LL_TIM_COUNTERMODE_UP; TIM_InitStruct.Autoreload = 0xFFFFFFFF; //TIM2 – 32-bit c...
I'm searching for a stm32 with 8 uarts for io-link. But there is no way I can search for peripherals. So any suggestions, preferably in LQFP-48 or something similar small.Thanks.
Hello!I have a trouble with Timout delay in SDMMC_GetCmdResp1. I invoke HAL_SD_Init from freertos task. Now SD card isn't connected to board. Timout deleay take approximately 30 seconds, but Timout is 5000 ms.static uint32_t SDMMC_GetCmdResp1(SDMMC_T...
Hi,I'm trying to replicate the Hands-on Flash memory Technical training for the STM32L4 (https://www.youtube.com/watch?v=ZMtsR0nZjt4) but i'm having some issues when changing the BOR level and specially in the debugging. The instruction "HAL_FLASH_...
Hi community I'm using Nucleo-L011K4 board ADC to read analog level. Adjusting analog input to any value different that 0 works flawlessly but when I adjust input level to something <50mV ADC_GetValue return a digital value of 64 even if I wire ADC i...
I need to control 16 RGB addressable LEDs (48 channels). The only drivers which fit my needs are 24 channel I2C drivers (unfortunately, I couldn't find any suiting SPI drivers ), so I need to use two of them. Since both LED banks will create a common...
HiI am having quite a strange problem with the STM32G070CB.A couple of months ago I start the development of a new product using the STM32G070CB and was having some issue with some pins, and even open up a thread in the forum.https://community.st.com...
Hello,Here is my code,#include <stdio.h> #include <string.h> void GPIOSYS(void){ GPIO_InitTypeDef GPIOSt; RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO,ENABLE); //GPIO_PinRemapConfig(GPIO_Remap_SWJ_Disable,ENABLE); GPIO_PinRemapConfig(GPIO...