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

Why would SPI send 16 bits instead of 8?

I have configured my STM32G071 SPI peripheral to transmit 8 bits with the following code:void spi_config(void) { RCC->APBENR2 |= RCC_APBENR2_SPI1EN; //Enable SPI Clock   //Configure for SPI mode (not I2S mode) SPI1->I2SCFGR &= ~SPI_I2SCFGR_I2...

SHobb.1 by Associate II
  • 5000 Views
  • 7 replies
  • 0 kudos

I2C strange signals form

I am now dealing with the work of I2C. As a device, I connect an Eeprom AT24 chip. There are 10K Ohm pull-up resistors. There are no other devices on the bus and nothing else is connected to the boards. Transmission rate 400 kHz.When I connect Eeprom...

0693W00000NssQXQAZ.jpg 0693W00000NssR6QAJ.jpg
ADoro.2 by Associate III
  • 1018 Views
  • 5 replies
  • 0 kudos

How to generate an arbitrary signal using DMA? (F446RE)

Hi everyone,In my project, I try to create a TTL signal generator, and I found a useful function that uses DMA on PWM signal (HAL_TIM_DMABurst_MultiWriteStart), so that I can create arbitrary rectangle signal that I want. I am using a timer frequency...

0693W00000NsnFeQAJ.png
YSall.1 by Senior
  • 843 Views
  • 5 replies
  • 0 kudos

[SOLVED] STM32G070 TIM Encoder mode

Dear,I currently trying to used the timer in encoder mode.It seems to working fine whatever the mode configured.I useing the timer interrupt (Capture Compare) to read the number of step (Counter (CNT)).In mode 1 and mode 2, the CNT is decrement by 2 ...

YDann.7 by Associate III
  • 2370 Views
  • 5 replies
  • 1 kudos