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

Have you seen the source code to the MFX?

Hi All,Some of the grander Evaluation/Discovery boards use an STM32L152 as a slave Multi Function eXpander with an I2C interface. It's pre-programmed with firmware that provides access to some of the peripherals on the board.As it happens, I'm about ...

DOsbo by Senior
  • 499 Views
  • 0 replies
  • 1 kudos

How to get 4 channel input capture values from stm32f407 ?

uint32_t IC2Value,Frequency,miliseconds; float DutyCycle;     static void TIM2_Config(void) { GPIO_InitTypeDef GPIO_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; TIM_ICInitTypeDef TIM_ICInitStructure; /* TIM2 clock enable */ RCC_AP...

isar� by Associate II
  • 865 Views
  • 4 replies
  • 1 kudos

how to count time

I want to measure the time from GPIO low level to high in RC circuit,how to count the timeuse rtc or tim?

0690X000009Yr9iQAC.png

Resolved! Modbus slave RTU/ASCII

HiI want to implement Modbus slave RTU/ASCII protocol on STM32F103VET6. I have read many forums about Modbus and examined several libraries, but unfortunately I couldn’t do it and I’m disappointed. In this blog: https://blog.naver.com/eziya76/2209703...

Hghas by Associate II
  • 3343 Views
  • 4 replies
  • 0 kudos

Resolved! GPIO strange issue

I have this code that works and i can turn an LED on:#include "stm32f10x.h"   void RCC_Init(void){   RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; }   void GPIO_Init(void){ GPIOC->CRH |= GPIO_CRH_CNF13_0 | GPIO_CRH_MODE13_0 | GPIO_CRH_MODE13_1; }   int main(vo...

ADC with DMA cracks the system

Hey, I just have a simple code, relevant parts are attached belowuint32_t dataADC = 0 ; // globally definedHAL_ADC_Start_DMA(&hadc1, &dataADC, 1); // after cubemx automatic initsand that is all; in the while(1) loop, there is only a delay and toggle ...

YAkse by Associate III
  • 690 Views
  • 3 replies
  • 0 kudos

STM32G071RB Nucleo board - Cannot write to TIM3->EGR

Cannot write to TIM3->EGR, Writes to EGR are stored in SR.stm32g071xx.h definitions are correct.Assembler output also shows correct addresses and offsets.;;;1157      TIM3->DIER |= TIM_DIER_UIE;0000b8 4608             MOV     r0,r10000ba 68c0        ...

JuM by Senior
  • 463 Views
  • 3 replies
  • 0 kudos