STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C Timeout Problem

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...

PGYUY.1 by Associate
  • 575 Views
  • 1 replies
  • 0 kudos

Problem with a timer counter.

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...

stm32 with 8 uarts and a small footprint

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.

Evan .1 by Associate II
  • 1694 Views
  • 7 replies
  • 0 kudos

I may have encountered a bug in SDMMC_GetCmdResp1 function.

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...

0690X00000D9jTIQAZ.png
OPoch by Associate
  • 1392 Views
  • 0 replies
  • 0 kudos

Simultaneous I2C DMA transfer

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...

STM32G070CB UCPD Pins pull-down

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...

STM32F103 is not fast enough

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...

parisa by Senior
  • 1811 Views
  • 14 replies
  • 0 kudos