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

Resolved! Synchronize Timer 1 and Timer 8 on STM32F446RE

Hi,I'd like to run synchronous PWMs on TIM1 and TIM8 of an STM32F446RE. I use TIM2 to trigger both timers.My setup:Master: TIM2MSM bit is setTRGO = Enable bit (CNT_EN)Slaves: TIM1 and TIM8Slave mode = Reset modeTrigger source = ITR1I appended my Cube...

STM32F429 bank swap for OTA update

HiFor a project I am using a STM32F429ZITx and need to implement OTA functionality. With single bank chips I have previously put the update into the free part of the flash, then copied it over and restarted.With 2 banks I came as far as erasing the u...

CKnez.1 by Associate II
  • 490 Views
  • 0 replies
  • 0 kudos

STM32H755ZI SPI / Proper way to receive data

Hi everyoneI'm currently working with the STM32H755ZI SPI1 peripheral. I'm using low level driver to read 2 bytes of data. I'm transmitting 2 dummy data bytes (0xFF) in order to get some response from the SPI slaves. Most of the time, the receive wor...

DSchl.1 by Associate III
  • 4084 Views
  • 11 replies
  • 0 kudos

Hi i am using nucleo L073Rz board , how do we authenticate a user application bin file flashed in to a board from iap is the correct bin and move on to run.

The problem is crc used in iap for transferring the bin file is to only check for errors during the transfer process , however i dont want any random bin files to be flashed into the flash or executed from it, only certain signed bin files need...

svii by Associate III
  • 613 Views
  • 3 replies
  • 0 kudos

__disable_irq() in ISR possible?

Hello,I have a global variable, wich is accessed by multiple ISRs. Can I safely disable and re-enable the interrupts within an ISR using __disable_irq() and __enable_irq()?Or is there a more elegant way of protecting the variable access?best regards,...

STM32L4 serial communication doesnt work!

hey,i have an STM32L432KBU6 and i want to serial communicate with my chip. I connected the SWCLK, SWDIO and the SWO pin and followed a couple tutorial on youtube but i just cant get the Serial communication done. i just want to open serial monitor li...

OTosu.1 by Associate II
  • 502 Views
  • 2 replies
  • 0 kudos

I am unable to configure CAN in STM32L476VG Discovery board. I wanted to develop an application which sends CAN message and receives CAN message. I enabled 2 interrupts CAN1_TX_Interrupt, CAN1_RX0_Interrupt. I selected Normal Mode only .

When debugging I found that MX_CAN1_Init() is not getting initialized, inside this code HAL_CAN_Init() is blocked by a while loop.That blocking iteration is as follows/* Get tick */ tickstart = HAL_GetTick(); /* Check Sleep mode leave acknowledge */ ...

RahulR by Associate II
  • 659 Views
  • 2 replies
  • 0 kudos