STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1038 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
  • 697 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
  • 1181 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
  • 3078 Views
  • 8 replies
  • 0 kudos

CAN-BUS Rx callback triggered infinitely many times.

Dear community,I have setup a can-bus system between two devices where: the first transmits a message on button press using HAL_CAN_AddTxMessage, the other one receives the message using a callback interrupt. However, the following problem arises: on...

KMoe.1 by Associate
  • 315 Views
  • 0 replies
  • 1 kudos

HAL Library Migration to SPL Library

Dear All,Am converting one code from HAL Library to SPL Library.In same am using SPI BUS , for it one of function is used which is as mentioned below:-" HAL_SPI_Transmit(&_W25QXX_SPI,pBuffer,NumByteToWrite_up_to_PageSize,100); "Same i wanted to conve...

RKade.1 by Associate III
  • 505 Views
  • 3 replies
  • 0 kudos