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

How to config the IO pin in Zephyr?

I am trying to porting Zephyr to my own board which is designed on stm32f429i_disc1.So I copy the folder zephyr\boards\arm\stm32f429i_disc1 for my porting.​A problem comes up when I am configuring the IO pin for I2C2.​In stm32f429i_disc1.dts, the i2c...

RTang.1 by Associate
  • 851 Views
  • 1 replies
  • 0 kudos

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
  • 316 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
  • 3167 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...