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

To design STM32F051 as Slave.

To design STM32F051 as Slave.When receive the data from Mater, the STM32F051(Slave) can return data to the Master.Current design:(1) After the MCU is initialized, it will call HAL_I2C_Slave_Receive_IT() to set the I2C interrupt to the receiving stat...

Lweij.1 by Associate
  • 391 Views
  • 0 replies
  • 0 kudos

How to fix ST-Link Nucleo board unable to connect, where the target is not found and the st-link is showing chipid 0x0000

Hello I ordered two NUCLEO boards, to start some projects on the ST32G03 platform. I was using the board with out an issue and connected to am Ubuntu 20.04 sys, updated the firmware on both and now one is working and the other is not, here is an outp...

JMora.7 by Associate II
  • 1839 Views
  • 3 replies
  • 0 kudos

STM32F429's I2C cannot send data after calling HAL_I2C_Master_Transmit_DMA, Then both the SDA and SCL switch high level to low? it always return HAL_I2C_STATE_BUSY_TX.

HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size) { if(hi2c->State == HAL_I2C_STATE_READY) { if((pData == NULL) || (Size == 0)) { return HAL_ERROR; }   ...

Resolved! TIM3 Quadrature Encoder Mode Strangeness

I'm got a Nucleo-F746ZG connected to a DC motor, which I'm driving via PWM using TIM1.I'm using TIM3 in quadrature encoder mode to read the encoder on the motor. The problem I'm encountering is the TIM3 CNT register is not incrementing fast enough. T...

jerry2 by Senior
  • 2703 Views
  • 10 replies
  • 0 kudos

Resolved! Resetting the IWDG on wakeup using HAL STM32L011K4T

Hi all,I believe I am having a problem with the IWDG in my project. What's happening is that immediately after entering sleep mode the device wakes up again.From the research I have done, it looks like this is inevitable, and in order to deal with it...

LMill.2 by Associate
  • 968 Views
  • 2 replies
  • 0 kudos

STM32L071 Multiple channels ADC using DMA

Hey. I am trying to read multiple ADC channels using DMA but with no luck. My project settings:I have selected 4 channels and enabled Continuous conversion mode as well as DMA Continuous requests. I have also created a circular DMA for ADC : #include...

0693W00000LyK4lQAF.png 0693W00000LyK50QAF.png 0693W00000LyK5yQAF.png
LPetr.1 by Senior II
  • 1062 Views
  • 4 replies
  • 0 kudos

Compute cpu load for a STM32L0, a gpio and a voltmeter

Hello,At work we have developed firmware on a stm32l0 based on different time base with systick and counters of elapsed time (10ms, 100ms and 1s). Therefore, some function are executed periodically.The board is powered with 3.3V.In order to measure c...

SLE G.1 by Associate
  • 2785 Views
  • 7 replies
  • 0 kudos