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

Are the USART*_TX pins configured as push-pull outputs when in system memory mode from the beginning or only after selection of the USART interface (0x7F received)?

Hi,AN2606 (STM32 microcontroller system memory boot mode) states e.g. for the STM32F301, that in system memory boot mode both USART_TX pins (USART1_TX & USART2_TX) are used as outputs. Is the TX pins really configured as outputs as soon as the system...

Resolved! calculating checksum of struct

Hello, I need to calculate checksum over a struct I have defined. Can anyone please help me with this? The data is structured as below: typedef struct eeprom_struct {   // char serial_number[5]; float detector_comp_ch0; float detector_comp_ch1; fl...

VYoun by Associate III
  • 3196 Views
  • 10 replies
  • 0 kudos

Interrupts Management

I am trying to understand the priorities, subpriorities and priority grouping in my stm32f407-Discovery.I would like to have 3 external LEDS (LD_A, LD_B, LD_C) and 3 interrupts (IT_A, IT_B, IT_C) with. IT_A has a highest priority, IT_C has the lowest...

Resolved! Problem with STM32H743 backup ram access with 16 Bit

We use the STM32H743BI.We have a problem with writing the Backup-RAM if the mapped variables size is not multiple of 32 Bit.According to the reference manual (rev. 7) the backup RAM is accessible in 32-bit, 16-bit or 8-bit data mode. (RM0433 Rev 7, p...

roland23 by Associate II
  • 1121 Views
  • 5 replies
  • 0 kudos

SPI Communication with DMA transfer

Hello, i'm working with the STM32F746G-DISCO development kit. I need to use 3 SPI in reiceive only master mode (each SPI have the same clock). The data comming from the SPI are clocked at 4[MHz]. I need to use DMA to transfer data from the SPI periph...

BRémy.1 by Associate
  • 683 Views
  • 3 replies
  • 0 kudos

Reading flash and sending to UART

Hello,I'm currently struggling to setup flash reading launched from a PC.I've used the example code for simple write and read with HAL from STM32 Cube SW.The example show a reading of an uint32_t after writing a uint64_t.Here is my code:Writing flash...

SSchm.5 by Associate III
  • 1569 Views
  • 4 replies
  • 0 kudos

Triggering ADC1 from TIM2 CH2 on stm32F767

Hi guys, I've searched the forum and found a handful of posts with a similar issue but the search doesn't seem to be very good for seeing previous posts... Anyway, I've got a PWM output from TIM2 CH1 (200us perioud, 25% D.C.) and I have another PWM f...

0693W000001sMM6QAM.png 0693W000001sMM1QAM.png
CDyer.1 by Senior
  • 973 Views
  • 3 replies
  • 0 kudos

LPTIM1 vs TIM6 - low power

According to STM32L052K8 datasheet in table 39 page 72 of this document:https://www.st.com/resource/en/datasheet/stm32l052k8.pdfThose timers consume uA/MHz:Peripheral | Range 1 | Range 2 | Range 3 | Low-power sleep and runLPTIM1: 10, 8.5, 6.5, 8TIM6:...

godmode2 by Associate II
  • 983 Views
  • 3 replies
  • 0 kudos