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

hi guys, I'm having trouble trying to change a specific pin.

i can switch between all pin but this one is static, pin PC14 (I call it olcl).I think maybe one of the peripheral units in the card is catching it to me.this is the code and the setup.sbs_pol_Pin is swiching states properly. while (1) { HAL_GPIO_Wr...

0693W000001cfPCQAY.png 0693W000001cfP2QAI.png
Gbasi.1 by Associate II
  • 903 Views
  • 7 replies
  • 0 kudos

Resolved! ADC DMA using HRTIM as trigger don't have any values

I am using NUCLEO-G474RE as my hardware.STM32CubeIDE V1.3.1 and STM32G4 Fw V1.2.0.I am using ADC2 with 4 channels triggered by HRTIM CH B Compare 4 Injected.So these 4 channels are triggered interleaved, meaning that every HRTIM-CH-B Compare 4 only o...

0693W000001pKu0QAE.jpg 0693W000001pKuKQAU.jpg 0693W000001pKwkQAE.png

How to use SPI DMA on slave

Hi, I would like use the DMA functionality for SPI on my STM32F4. But all examples I have found are calling the SPI DMA Transmit Receive function in a while loop. But what would be a better way? I think that if I call the Transmit Receive function ...

KR51K by Associate III
  • 483 Views
  • 2 replies
  • 0 kudos

Cannot get the SPI pins to toggle.

I'm using the project "SPI_FullDuplex_ComPolling_Master" in P-Nucleo-WB55.Nucleo/Examples_MIX/SPI in FW version 1.6.0. Works fine on the nucleo board. I've ported it to my board which uses pins PB5, PB4, and PB3. I'm using a crystal on my board. I di...

BMart.2 by Associate II
  • 1444 Views
  • 13 replies
  • 0 kudos

My board burnt or something else?

While trying to read ADC value over voltage divider I accidentally connected not divided voltage to ADC pin. That was about 10V and with burnt smell I promptly intervene and cut the connection. The board was hot but I could touch it. After that I pu...

SSone.1 by Associate III
  • 332 Views
  • 1 replies
  • 0 kudos

How to generate three level pwm for power converters?

Hello everyone, I have medium level in stm32 mcu's like using adc's, timers and also HRTIM peripheral in 32f334 and G4 series but I can't figure out the optimum way to generate three level spwm waveforms for using with NPC inverter that I'm designing...

AAlHa.1 by Associate II
  • 1543 Views
  • 7 replies
  • 1 kudos

Resolved! STM32F7 SDRAM testing via FMC

Hi, I am developing a product which has a LCD. So I am using STM32F767zit6 MCU and MT48LC4M32B2 SDRAM on my custom board. I want to know is there any tutorial or example there which i can referrer to generate code form cubemx and test my SDRAM. I hav...