STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 4156 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
  • 1224 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
  • 841 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
  • 1391 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
  • 3463 Views
  • 8 replies
  • 0 kudos