STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Code stuck in SD_FindSCR Function

Hello,I use stm32f765BITx processor and SDMMC (SD 4 bits Wide bus ), sometimes code is stopping at SD_FindSCR function in stm32f7xx_hal_sd.c library. This event is happening random.Exactly, the place where code stopped at SD_FindSCR function,while(!_...

LDesa.1 by Associate II
  • 2208 Views
  • 6 replies
  • 0 kudos

Resolved! Setting up TIM1 in Encoder Mode

Hi,I am trying to setup the TIM1 of the STM32F410CBT microcontroller so that TIM1->CNT can measure Channel A and Channel B of a Quadrature Encoder Interface of a motor (the Encoder's datasheet is here, and it came attached with this motor here). I ha...

0693W000007DhROQA0.jpg
RrW1 by Associate III
  • 4703 Views
  • 4 replies
  • 0 kudos

Resolved! STM32G070RB Vbat Data sheet error

According to the data sheet, sec 3.13.3 says the VBAT voltage is measure by the ADC as VBAT/3, or one third Vbat.using : uint64_t volt = (uint64_t)(((uint64_t)3300U*adc_result)/(uint64_t)4095U);I get 2/3 VbatChanging to uint64_t volt = (uint64_t)(((...

MEder by Associate III
  • 1405 Views
  • 6 replies
  • 0 kudos

Code does not execute until ST board manually reset.

I wrote a simple LED blink program using STM32F767zi board. It works properly when I use STLink debugger. but the problem is when I remove the STLink and connect the board directly to an external power source, the code does not execute until I manua...

KMale.1 by Associate II
  • 946 Views
  • 5 replies
  • 0 kudos

Nested interrupts STM32L4

Hello,I have an interrupt driven I2C which is working fine. I know that this is not very clean design but I need to execute few I2C transactions from a button interrupt handler (EXTI9_5_IRQn). I have set the priority of the EXTI9_5_IRQn 1 and the pri...

dpn by Associate II
  • 1586 Views
  • 6 replies
  • 0 kudos

Resolved! STM32L151CCT6 nRST is floating ?!

Hello developers, I have three custom pcbs. The heart of all pcbs is the STM32L151CCT6 µC in LQFP48 Package. I connected all supply pins (VLCD, VDDA, VDD_x to 3.3V; VSS_x to ground). The BOOT0 pin is connect to gnd with an 20k pull-down resistor. The...

TJ1999 by Associate II
  • 3897 Views
  • 8 replies
  • 0 kudos