STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Using STM32IDE, is there any way to enter preprocessor defines, as currently when regenerating code from the 'Device Configuration Tool', any defines entered manually for the project appear to be deleted?

I'm thinking in particular about defines to influence the HAL library code e.g. USE_HAL_TIM_REGISTER_CALLBACKS.Adding user defines in MX just puts them in main.h and they are not seen by the library code.

EdGi by Associate III
  • 802 Views
  • 2 replies
  • 0 kudos

How can I add DMA to both cores on STM32H7 dual core MCUs

Hello Guys,I am using a STM32H755ZI and I learned a lot about this MCU the past last months. However I am struggling with DMA. I got DMA working on one core, but I would like to use DMA on the same peripheral on both cores. I got it kinda working, bu...

Mfail.1 by Associate II
  • 2137 Views
  • 10 replies
  • 0 kudos

SPI Half Duplex receive problem : No SCK

Dear all,I'm trying to perform a simple blocking SPI communication with a slave (TFT driver) on my STM32F769NI-disco board.I can transmit commands without any problem but I can't receiveHere is my init code called from main(): static void MX_SPI2_Ini...

STM32H742 rev V ADC BOOST bits

Hello,I use STM32H742 rev V. In contrast to rev Y register ADCx->CR has two bits BOOST. I set both, because I want the highest ADC speed. But reading ADCx->CR back, with the debugger or in the running program reports only BOOST 0 set. What is wrong t...

TIM1 Dead time not working according manual

I use TIM1 as 3 Phase PWM for motor control. I need to adjust the dead time. But the dead time is not according the manual.My code for dead time:  TIM_BDTRInitStruct.OSSRState = LL_TIM_OSSR_ENABLE;  TIM_BDTRInitStruct.OSSIState = LL_TIM_OSSI_DISABLE;...

franz2 by Associate III
  • 3124 Views
  • 6 replies
  • 0 kudos

Resolved! What is the clock configuration after leaving STOP mode?

Hello,I'm using a STM32L072CB with STOP mode and in section 32.9.3 in the user manual I stumbled over following information:"When exiting from Stop mode, the clock configuration is identical to theone after RESET. Consequently, the software must repr...