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

Resolved! Why HAL_I2C_Mem_Read returns only 0?

Hi,I am using stm32f1 and HUT21D sensor (Temperature and humidity sensor). The sensor use i2c for communication. I am using IAR and cubeMX.For cube: I used default setting for i2c.For IAR: I shared the main.c below.Can anyone help on why only get 0.#...

ATavo.1 by Associate III
  • 4205 Views
  • 12 replies
  • 0 kudos

Resolved! STM32f072R stuck at 16mhz (RESOLVED)

HI i got a problèm on an stm32f0.after a reset the µC is at 8mhz but i'm only able to climb to 16mhz when i want to go to 48MHZ , did someone have idea of where does the problem come from.the µc are not new because i work on protoboard and i cant cha...

Laxel.1 by Associate II
  • 1131 Views
  • 5 replies
  • 0 kudos

STM32G4 - HardFault on Voltage Drop

Hi!I currently am trying to investigate random hardfault errors if i connect some addon board to my current project. What is happening is: On connection, VCC drops to 1,8V minimum, while being under 2,5V for ~ 2us. The result of this is either a rese...

ToBi by Associate
  • 716 Views
  • 2 replies
  • 0 kudos

stm32f103 CAN send fail...

hi there.I'm trying to CAN transmit on my target board.my board is not to send CAN message on stm32cubeide . but I confirmed that my board send CAN message on mbed.Can I how to send CAN message on stm32cubeide?? I intended CAN baudrate 500kbps, sampl...

Slee.13 by Associate II
  • 568 Views
  • 0 replies
  • 0 kudos

Resolved! I'm new at STM MCUs and trying to develop a new board based on STM32G070RBT6. I have few questions like reset, program over UART, etc.

1) I've checked multiple schematics for blue pill, black pill, etc., and saw capacitor and resistor on reset button line. I've built a test (pinout) board and without any capacitor or resistor. I can reset it (NRST pin to ground). May this cause a ha...

Amad by Associate II
  • 1237 Views
  • 6 replies
  • 0 kudos

Does RTC 1Hz calibration align to 1 second boundary?

I'm trying to get an RTC timestamp from an external event down to the us. My plan is to output the 1Hz calibration from the RTC and externally tie that to TIM8-CH1 as an input capture (reset-on-capture). The external event would route to the RTC time...

DWann by Associate III
  • 709 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G030F, remapping PA11/PA12 to PA9/PA10 not working?

Hello, I use USART1 routed to PA9/PA10 (AF1 as per data sheet), so executing the line SYSCFG->CFGR1 |= (SYSCFG_REMAP_PA11 | SYSCFG_REMAP_PA12);should present the GPIOs PA9 and PA10 to pins 16 and 17 of the TSSOP20 package. Right?Well, pins 16 and 17 ...

The STM32G071RB generates spikes on the ADC channel 11.

Hi,I have a design where ADC channel 11 is used for sampling BLDC motor current via shunt resistor.If motor is stopped it can be observed a spikes with aplitude 200 mV directly on the MCU pin PB10 to which the ADC channel 11 is connected.The spikes h...

AljazKr by Associate
  • 581 Views
  • 1 replies
  • 0 kudos