STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Synchronize 2 STM32 micro using UART and DMA

Hello,I am trying to synchronize 2 STM32 microcontroller's using UART and DMA. System clock is 80MHz. Timer1 is set to interrupt at 1ms with 1us resolution. Synchronization logic is executed every 1ms, Serial Transmission at master/slave side is ever...

HDevi.1 by Associate II
  • 3279 Views
  • 13 replies
  • 0 kudos

Resolved! stm32f0 adc dma multi channel problem

1.  ADC setting hadc.Instance = ADC1;  hadc.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;  hadc.Init.Resolution = ADC_RESOLUTION_12B;  hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT;  hadc.Init.ScanConvMode = ADC_SCAN_DIRECTION_FORWARD;  hadc.Init.EOC...

superK by Associate II
  • 654 Views
  • 2 replies
  • 0 kudos

hello. i am working on a project using two stm32g431rb nucleo boards. i need to make a connection between these mcu's so i choose I2C as the connection protocol.

the problem is when the master micro wants to tell the slave to send some data, after a random time the i2c connection disrupts and i will get HAL_ERROR Message. i wrote the below codes for master and slave:Master code:  while (1) {  /* USER CODE END...

sabd.1 by Associate II
  • 869 Views
  • 6 replies
  • 0 kudos

error in working with SD card using SPI in STM32F4

Hello, I want to work with SD card using SPI in STM32 but it is not working. I tried many things but it didn't work. It was working fine when I tried it 4-5 months ago. What is the problem now? I am referencing sample code from here: https://controll...

Errors in UART baud rate sections of Reference Manuals

USART baud rate related stuff has a long history of errors in both the STM32 documents and sample code. Looks like in the past 4 years some of the problems were corrected but there are still some strange and incorrect pieces.STM32F10x manual, RM0008 ...

0693W00000Ly9r8QAB.png 0693W00000Ly9rhQAB.png
gbm by Lead III
  • 809 Views
  • 0 replies
  • 1 kudos