Ask questions, find answers, and share insights on STM32 products and their technical features.
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)(((...
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...
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...
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...
I am working with the STM32F769 microcontroller and I need several timers. I think it's too risky to use the hardware timers extensively so I decided to use ONE hardware timer in its simplest form and then do more processing in software. However, the...
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...
HiI'm using a STM32H753 with external SDRAM connected to FMC.I'm working with Keil and the compiler is armclang.This is my MPU configuration for the SDRAM (base address is 0xC0000000) :MPU_InitStruct.Enable = MPU_REGION_ENABLE; MPU_InitStruct.BaseAdd...
Hello,I want to trig the ADC using the PWM timer,The ADC would be triggered in the first event of the PWM "counter start".How to wait for the ending conversion using a while loop in the PWM isr.Could I read the ADC without using the DMA bus?I am usin...
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...