STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32U575 incorrect timing

I am testing the functions of STM32U575 and found the following issue.I simply wrote this in main(): while(1){ for(i=0;i<160;i++); HAL_GPIO_TogglePin(GPIOC, GPIO_PIN_11); } where i is defined as uint32_t.HCLK is set to 160MHz by using PLLCLK with...

TIMER Interrupt and Other Interrupt

Hello All, I am progressing toward my goal. I am bit banging a GPIO port every 2 uS based on a Byte buffer. I can not use SPI because I need to send a predefine number of bit that is not 8 aligned. So I use a timer and every UIF event I reset the GPI...

vbesson by Senior
  • 997 Views
  • 8 replies
  • 1 kudos

Resolved! Code is stuck in XSPI_WaitFlagStateUntilTimeout

I am currently trying to write to an external Flash via QSPI (SST26VF064B). So far I have been able to successfully configure the chip as required and I have also been able to read some configuration registers in the flash so I know I can communicate...

Screenshot 2024-08-22 at 1.45.39 AM.png
Kwame by Associate II
  • 815 Views
  • 4 replies
  • 0 kudos

Resolved! COMP4 to TIM2 capture to TIM3 slave

My configuration is that I use TIM2 CH1 to capture the time between COMP4 edges. This works ok. Now I would like to use TIM3 to generate some ISRs on several channels, I would like to let TIM3 to reset based on TIM2 capture ch1. I set TIM2 TRGO to "u...

CyberNerd by Associate III
  • 370 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F4 microcontroller: instructions cycle number

I'm working with an STM32F4 microcontroller, a ChipWhisperer, and the SimpleSerial library, trying to track the execution of instructions. During this process, I noticed that the number of CPU cycles I measured doesn't match what I expected based on ...

Resolved! IWDG minimum reload in STM32L452

Hello community!I'm working with the independent watchdog with a STM32L452 MCU in the Nucleo-L452RE board and I'm facing a problem trying to set low values in the reload register. When I try to set the reload register to values lower than 5 cycles (I...

miguelvp by Associate
  • 1210 Views
  • 4 replies
  • 1 kudos

BKIN input for multiple fault events

Hi As i am using one of TIM8 input for external BKIN pin, to detect fault for PWM shutdwon.But How to prevent this on multiple fault events.Like any cycle by cycle protection is there.

sag by Associate III
  • 232 Views
  • 0 replies
  • 0 kudos