STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! I ran the following code to reconfigure the SPI running on an STM32F103, but the DMA settings do not seem to be updated. Is there any solution?

// SPI_HandleTypeDef *hspi // DMA_HandleTypeDef *hdmatx   hspi->Init.DataSize = SPI_DATASIZE_16BIT; hdmatx->Init.MemInc = DMA_MINC_DISABLE; hdmatx->Init.MemDataAlignment = DMA_MDATAALIGN_HALFWORD; hdmatx->Init.PeriphDataAlignment = DMA_PDATAALIGN_HAL...

Takeshi by Associate II
  • 634 Views
  • 4 replies
  • 0 kudos

Data Buffer for serial and spi

hi hope have good dayi need to buffer data for save on every 1ms for serial and spi i use dma to receive datafor example hal_uart_receviveDMA on this function must set buffer size ...i test one example :50Hz send to mcu data each time 1000 and 1001 ...

MacLaren by Associate III
  • 1294 Views
  • 10 replies
  • 0 kudos

STM32H743 runs in debug mode only

Hi, I have several boards with same issue. After weeks of tests when flashing boards using STLink suddenly the micro is not running except in SWD debug mode. Flash is properly programmed but the micro is not running. A complete flash erase (all sec...

DGall by Associate II
  • 1417 Views
  • 3 replies
  • 0 kudos

Error working with stm32f030?

In a project I need to use an eeprom, I download st-s eeprom library for stm32f0xx ( AN4061 ). The provided example in keil mdk v4 had no errors however after I imported the eeprom.h and .c file in my own project in keil mdk v5 I started having probl...

AJava.5 by Associate
  • 400 Views
  • 0 replies
  • 0 kudos

STM32F030C8 I2C1 in BUS_BUSY after first start pulse.

First I thouht that problem in code generation from Cube, rewrote all in CMSIS, but nothing changed. I2C using only as a "slave", but after generation "start" and sending addres (0x70) + write no interrupt flags is set. Where my mistake?Initialisatio...

Wanderer by Associate
  • 407 Views
  • 1 replies
  • 0 kudos