STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CAN I use USB OTG_HS with internal FS PHY and get RX DMA?

In the FS mode the reference manual state that  USB RX DMA is only available in HS mode. In MXCube it seems that I can set USB OTG HS and set internal Phy to "device only". Does this activate the RX DMA? ​It also seems to change the pins assignment o...

MSimm.15 by Associate
  • 445 Views
  • 1 replies
  • 0 kudos

Interrupt problem

Without Interrupt signal STM32F207 print continuously.How to avoid it...void EXTI9_5_IRQHandler(void){ /* USER CODE BEGIN EXTI9_5_IRQn 0 */ /* USER CODE END EXTI9_5_IRQn 0 */   printf("\n\rInterrupt Occur\n\r"); /* USER CODE BEGIN EXTI9_5_IRQn 1 */ /...

Is USB mass storage available at STM32L152-EVAL?

I'm considering to use a STM32l1's family microcontroller at my project, so, as I will need to plug a flash drive at my device, I would like to validate my concept with a evaluation board that can do this. Does my MCU's choice seem right?Does this ev...

LFeli by Associate
  • 460 Views
  • 1 replies
  • 0 kudos

HAL SPI transmit/receive issues

I'm trying to use the HAL SPI driver to do a basic loopback test. I fill a buffer with incrementing values, and send that out while receiving into another buffer using HAL_SPI_TransmitReceive. I have 2 separate conditions both of which show odd behav...

Konami by Senior II
  • 2344 Views
  • 4 replies
  • 0 kudos

STM32 F334R8 HRTIM Comparator Blanking Function

Hi, I have a question about connecting Comparator with HRTIM. I am currently working on Buck Converter with Digital Peak Current Mode Control. In this kind of control I need to measure the current of the inductor and compare it with another current w...

KKr�? by Associate
  • 415 Views
  • 0 replies
  • 0 kudos

STM32CubeMX not preserving my user code

I'm running v1.26.1 of CubeMX and any code that I add between the /* USER CODE BEGIN.. and /* USER CODE END.. comments gets deleted every time I (re)generate the project. I have the 'Keep User Code when re-generating' option ticked. What am I missi...

p.walker by Associate
  • 628 Views
  • 2 replies
  • 0 kudos

STM32L0 I2C Slave, hotplug Issue

Hello,I'm working on a product where we will use the STM32L71 device containing an I2C Interface for servicing and control. I develop first parts of the firmware on a STM32L53 nucleo board. Since the device must be hot-pluggable, it is not allowed to...

Artur1 by Associate II
  • 1082 Views
  • 3 replies
  • 0 kudos

Question on PWM input mode

I'm trying to set Timer 2 (32 Bits) from Nucleo L432KC to measure input signals up to 1 kHz (for example). However, I'm confused about the selection of the prescaler and counter period. I read in a book:Another relevant condition is that the UEV freq...

xpp07 by Senior
  • 581 Views
  • 2 replies
  • 0 kudos