STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Can a Timer Capture Compare be skipped if needed?

I'm using a Timer (TIM8) in a capture compare application for measuring timing between signals. In some cases I don't need the value so I have been skipping the read of the CCRx register. I'm using a HAL command as the code below shows:The HAL_TIM_R...

BTrem.1 by Senior II
  • 483 Views
  • 2 replies
  • 0 kudos

How to read VBATT Voltage from ADC

I Am using STM32F303CB.I want to read the VBATT voltage from ADC1_IN17 as VBATT is connected to ADC1 channel 17.Here my Code:void ADC1_Init(){   RCC->CFGR2 |= RCC_CFGR2_ADCPRE12_DIV1;   RCC->AHBENR |= RCC_AHBENR_ADC12EN;   RCC->AHBENR |= RCC_AHBENR_G...

Structure in bit band region

Hi, I have this very simple code that sets generic flags to the desired value:struct GenFlgStr{ uint8_t F1 : 1; uint8_t F2 : 1; uint8_t f3 : 1;};struct GenFlgStr GenFlg;main{ GenFlg.F1=1; GenFlg.F2=0;}----------------------------------------...

Resolved! DALI Interface for STM32G MCU

Hi,I am planning to implement DALI on STM32G MCU, I have looked at the documentation but all the example projects are with STM32L1 or STM32F1 and the library provided by STM is based on IAR workbench. My questions are Can I implement DALI Slave on ST...

KPras.1 by Associate
  • 1023 Views
  • 1 replies
  • 0 kudos

STM32F4 SDRAM & NOR FLASH READ WRITE PROBLEM

I am troubling to write and read data from external SDRAM & NOR Flash in our custom made hardware which has STM32F429 controller.Thread is disconnecting while debugging & writing & reading operation not succeed.Can you please explain the all steps in...

SGupt.5 by Associate II
  • 285 Views
  • 0 replies
  • 0 kudos