STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 2541 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
  • 490 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
  • 370 Views
  • 3 replies
  • 0 kudos

Localisation of program in Flash memory

Hi everyone,I wonder how to know from which address start a program when we debug it into the flash memory and the finish address is easy to find if we know the start address.according to the map of flash memory of the STM32F413 given by the link bel...

idrissmc by Associate III
  • 239 Views
  • 0 replies
  • 0 kudos