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

calculate time interval (stm32f405 rgt6)

My work on stm32f405 just started last month. It means I don't know very much about it, and I have been working on other C/C++ applications development. The stm32 MCU board I have is given in snapshots.I have been working on time interval's computati...

0690X000009joQFQAY.jpg 0690X000009joQKQAY.jpg
Zy by Associate
  • 538 Views
  • 0 replies
  • 0 kudos

Resolved! How to get printf() float / double support working on F7

I've been fighting with this too long and can't figure it out. I've added uart communication for use with printf() by implementing the following in syscalls.c:__attribute__((weak)) int _write(int file, char *ptr, int len) { HAL_StatusTypeDef statu...

Michael B by Associate III
  • 3740 Views
  • 11 replies
  • 0 kudos

Resolved! Synchronising I2S reception with LSE

This is probably more of a wish list item than a question that can be solved - I'm using an STM32L4 chip's SAI to interface to an I2s microphone (SPH0645lm4h Knowles microphone). It works well. But things would be even better if the I2s reception cou...

gregstm by Senior III
  • 895 Views
  • 5 replies
  • 0 kudos

Resolved! STM32F103C8T6 TIM1 in ENCODER MODE GPIO Pins

Hi, I am using stm32f103c8t6 connected to a rotary encoder using SPL. I was planning to use TIMER 1 in encoder mode, but probably I had made a mistake by connecting channel A of encoder to PB13 (T1C1N) and channel B to PB14(T1C2N) - this se...

Vin1947 by Associate
  • 1119 Views
  • 2 replies
  • 0 kudos

STM32G070CB: What are Flash Zones A and B?

The HAL Manual for the STM32G070xx mentions OB_WRPAREA_ZONE_A and OB_WRPAREA_ZONE_B. The Reference Manual mentions Zone A and Zone B. But there is no mention of the difference between the two or when to use one vs the other. There are 64 pages of Fla...

DBroo.1 by Associate III
  • 588 Views
  • 1 replies
  • 0 kudos

STM32F051K8, I2C and UART Communication Issue

Hi,I am trying to receive voltage from an external ADC, MCP3421 using I2C. These values are then transmitted over USART to be viewed by the user ranging from (-2.048 to 2.048). The MCU I am using is STM32F051K8.The problem that I am facing is that th...

Shirish by Associate II
  • 685 Views
  • 3 replies
  • 0 kudos

Has a problem when using STM32F405 spi + dma as a slave

Use STM32F405's SPI + DMA as a slave, circular mode, DMA 16bytes interrupt, but every time send 16bytes to master, the first byte is always the byte that last frame's last byte , it looks like spi tx register is not clear, always contain the last by...

CJi by Associate II
  • 1853 Views
  • 11 replies
  • 0 kudos

STM32F7 Timer Event Generation Register Wrong address?

Hello I'm using a STM32F769 discovery board. I was trying to use timer2channel2 to trigger the ADC conversion. I am setting registers manually and wanted to turn on event generation on channel 2 match. TIM2->EGR |= TIM_EGR_CC2G_Msk;However when I ran...