STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Best way to stop a PWM signal?

I am wondering which is a faster way to stop PWM generation. Would it be through HAL_TIM_PWM_Stop or by setting __HAL_TIM_SET_COMPARE to zero? I'm getting SPI commands via a raspberry pi and then based on those values, I start or stop the motors. The...

STM32F4 i2c DMA blocking

Hi,I've looked through the HAL code, and it looks like the DMA path blocks waiting for a ack response from the slave. Am I right in thinking that if i'm using the HAL to communicate with i2c then I will still be bottleknecked by the maximum speed of ...

APate.7 by Associate II
  • 351 Views
  • 0 replies
  • 0 kudos

Specify RAM regions in the linker script

Dear Support, i wold like to distinguish in the linker script, the DCTRAM from the other RAM in order to explicitly allocate some buffer, in my code, in the DCTRAM. So i changed the STM32F765VGTx_FLASH.ld from this (original version form CubeMX):/...

raffin by Associate III
  • 3332 Views
  • 3 replies
  • 0 kudos

HAL_I2C_Mem_Read_DMA problem

Hey guys.Im using cubemx for i2c initiallization and i have a problem while using this HAL_I2C_Mem_Read_DMA function.When i call it in while(1) it works one time and after that it returns error or busy. while (1) { HAL_Delay(1000); HAL_I2C_Mem...

STM32H723ZG- Nucleo SPI3 Bootloader ( System Memory ) acknowledgment issue. Facing issue in receiving ACK from STM32H7 controller over SPI3 port.

Hello. I have STM3H723ZG Nucleo, by pulling boot pin high and providing reset condition, Nucleo stays in system bootloader mode. With Slave select low, I am send sync byte ( 0x5A) connections made over SPI3 port of STM32H7 controller form my Host con...

VTaya.1 by Associate III
  • 617 Views
  • 1 replies
  • 0 kudos