STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Simulate a quadrature encoder on STM32F446RE

Noob here.  Using HAL and as much generated code as possible.   Ive run into an issue on how to self learn,  I've identified what I believe is the solution but nowhere( that I can figure out) in the reference document does it point to this in what I ...

Swyftfeet by Associate II
  • 1008 Views
  • 6 replies
  • 5 kudos

I2C master quarter clock pulse

I am working with an STM32F405 and have the I2C1 peripheral set up as a master in standard mode with a clock speed of 100 kHz.  The i2c bus has about 5 devices attached to it, none of which are capable of running in master mode.  I'm using the HAL_I2...

runt_pulse.jpg
JW.4 by Associate II
  • 324 Views
  • 0 replies
  • 0 kudos

H7 migration, send SPI without using HAL

Hello dear community!I've migrated from F7 to H7, everything fine so far.To save CPU time I don't want to use HAL for sending two SPI bytes.My F7 transmit SPI code was very simple and perfectly working :SPI6->DR = byte_0; SPI6->DR = byte_1;But on the...

jean by Senior
  • 2421 Views
  • 10 replies
  • 3 kudos

Resolved! Flash erase and program

HI,I cannot delete page 15, or other pages, of the STM32C031K6T6 flash chip. HAL_StatusTypeDef status; EraseInitStruct.TypeErase=FLASH_TYPEERASE_PAGES; EraseInitStruct.NbPages=1; EraseInitStruct.Page=15; status = HAL_FLASH_Unlock(); status = HAL_FLAS...

Stefano1 by Associate
  • 352 Views
  • 1 replies
  • 0 kudos

STM32U5 USB device under FreeRTOS

Hi, We want to implement a USB-C functionality to our customized board (based on a STM32U5G9).  The software uses FreeRTOS environnement.  Is there an existing USB (Device) example, tutorial or library that could be compatible with our project?regard...

S_D by Associate
  • 874 Views
  • 3 replies
  • 1 kudos

Resolved! STM32F401C TIM2 Interrupt

Hello, I try to use a TIM2 Interrupt to toggle a LED. I use a STM32F401C controller. If I toggle the LED inside the while loop with delay, it works fine.       while (1) { HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_15); HAL_Delay(1000); }       ...