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

STM32F30x DMA configuration

I'm implementing two channels of DMA in my STM32F302x using Timer 2 in input capture mode. Do I really need the HAL_DMA_RegisterCallback callback function? I'm using DMA interrupt mode so each channel has a DMA1_Channelx_IRQHandler that performs the ...

BTrem.1 by Senior II
  • 428 Views
  • 1 replies
  • 1 kudos

STM32F3 Comparator Interrupt not Generating

HI All,I Have the STM32F302R8. I am using comparator 2. What I want to do is have DACH1 feed a value to the inverting input and have PA7 connected to the non inverting input. For now, I am just wanting to generate an interrupt to get things working ...

glenn0010 by Associate III
  • 1720 Views
  • 5 replies
  • 0 kudos

I am using an NUCLEO-F429Zi to read a sensor over I2C. The application works correct. When the ST-Link is removed (cut away) from the board, the I2C connectivity fails. Any idea how to prevent this?

I am using an NUCLEO-F429Zi to read a MPU over I2C ( 2C1, PB8, PB9). The applications works correct. The sensor returns the correct values. When the ST-Link is removed (cut away) from the board, the power supply Vin , the I2C connectivity fails. It ...

ISant.1 by Associate II
  • 1054 Views
  • 5 replies
  • 0 kudos

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
  • 969 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
  • 552 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
  • 1590 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
  • 373 Views
  • 1 replies
  • 0 kudos