STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to sample improve ADC speed?

My application senario: sample the sensor signal every second, and transmit through UART. to save power supply, I select ADC single mode, and used average as filter.void ConfigureADC(void) { ADC1->CFGR1 |= ADC_CFGR1_AUTOFF; ADC1->CFGR2 = (ADC1->CFGR2...

STM32L09 by Associate II
  • 48 Views
  • 6 replies
  • 3 kudos

Floating ADC value even when pin is connected

Hello !I have to admit that I am stumped on this problem, I've been trying to make it work for the past few days.My issue is with an STM32F301K8T6 (LQFP32) and its ADCs : I have two reflective optical sensors (ITR8307) that are connected to ADC_CHANN...

what if PA2=5V in analog mode?

I can c in RM0033 (Rev9) Figure 18, that PA2 is connected with low impedance to a diode to V_DD, if PA2 is configured as analog input...In Doc ID 15818 Rev 9 I see that R_ADC is at least 1.5kR...If I connect PA2 in analog mode directly to 5V: Would I...

RRIDDICC by Associate II
  • 24 Views
  • 2 replies
  • 0 kudos

UART RX DMA Implementation Issue

Hello,I am using STM32F030C8T6 to implement Modbus RTU protocol which uses UART and RS485 as physical layer.I have already implemented the complete protocol with UART's RXNE and TCIE interrupts.Now I am trying to implement through DMA by which I will...

Anesh by Associate III
  • 25 Views
  • 0 replies
  • 0 kudos

BOR in STM32U083

Hello,I found some discrepancy in BOR configuration for STM32U083CCT6 processor between reference manual [1] and HAL implementation [2]. It concerns BOR_LEV[0:2] bits (bits 10:8) in FLASH_OPTR register. The RM [1] talks of four levels (000: 1.7 V, 00...

KSzcz.2 by Associate II
  • 49 Views
  • 2 replies
  • 0 kudos

Interrupt Vector Table

Hello,As per CM4 guide and TRM of Nucleo f446re,interruot vector table is array of function pointers and each pointer holds the entry address(initial address) of each IRQ_handler, Where interrupt IRQ_number is used for indexing.While debugging I fail...

Screenshot 2025-05-14 222309.png Screenshot 2025-05-14 222359.png Screenshot 2025-05-14 222411.png

T bit confusion

Hi,1.As it is mentioned in CM4 user guide and also explained in tutorial, 0th bit of PC is directly loaded to T bit.And CM4 supports only thumb state ISA.To execute/decode instructions in Thumb state 0th bit of PC should be 1 which means PC should al...

Screenshot 2025-05-23 141117.png Screenshot 2025-05-23 141211.png