STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

STM32H747XI Timer Input Capture Not Working

Hello,I'm trying to use a timer to measure the frequency of an input signal using the callback function:HAL_TIM_IC_CaptureCallBack(TIM_HandleTypeDef*htim)The function never seems to be called when a voltage is applied to the input pin. Here is the ti...

AWats.4 by Associate II
  • 1116 Views
  • 3 replies
  • 0 kudos

Invalid usbd_conf.c generated by STM32Cube v6.3.0

Output in the usbd_conf.c file when generating code for a CDC device. Code is using USE_HAL_PCD_REGISTER_CALLBACK for HAL_PCD_MspInit and HAL_PCD_MspDeInit instead of USE_HAL_PCD_REGISTER_CALLBACKS (note the final 'S'), which was there in previous ve...

0693W00000DqNvGQAV.png
pbk by Associate
  • 711 Views
  • 4 replies
  • 0 kudos

Is it possible to use the internal OPAMP from the STM32G4 series with only the VINPx pin assigned to a physical pin? Configured as non-inverting, negative feedback with a gain.

I would like to implement a current sensing using a grounded shunt resistor. Therefore I would like to use the build-in OPAMP from the STM32G491 Series. But I'm not satisfied with the CubeMX configuration.In AN5306 I found a configuration under 4.4.1...

MWält.2 by Associate II
  • 878 Views
  • 3 replies
  • 1 kudos

Resolved! How do I report an error in Cube initialization code?

I am using stm32L412CBU microcontroller and I am using both ADC units. The code generation generates this line of code:PeriphClkInit.AdcClockSelection = ADCCLockSelection; which is incorrect according to the structure RCC_PeriphCLKInitTypeDef for th...

MKass.1 by Associate II
  • 583 Views
  • 2 replies
  • 0 kudos

Same pin as timer input and GPIO input

If I configure a pin as a timer input capture channel input, can I also read the state of that pin as a GPIO input?I'd like configure the timer channel as an input capture channel, and I'd like to capture both rising and falling edges. But when the e...

AJame.1 by Associate II
  • 1847 Views
  • 3 replies
  • 1 kudos

Why time input capture does not work continiously?

Hello everyone. I am working on a project that measures the duty cycle of the signal. I've initialized timer 1 as an input capture mode to measure the pulse width of a signal. Both input capture 1 and input capture 2 are used to signal the rising and...

AKhor.1 by Associate II
  • 968 Views
  • 5 replies
  • 0 kudos

I am trying to use NUCLEO 1444 H7 LEGACY to config and run ethernet LWIP from the 1.8.0 version of the STM32H7 firmware at STM32Cube_FW_H7_V1.8.0 and the 6.0 version of the CubeMX.But it cannot work. We also run demo code ,it is ok.

Hi,there. I am trying to run LWIP on the Nucleo-H723ZG development board and cannot get any response to ping.  If I attach the debugger, STM32 can receive ARP requests and cannt send out ARP responses. When I use computer ping STM32 attarchin...

KJame.1 by Associate II
  • 407 Views
  • 1 replies
  • 0 kudos