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

TIMER2 interrupt not working .

I am trying to blink an led on stm32l476rg nucleo board using CMSIS core and startup file in Keil.I am able to run the Timer2 ,it runs untill it overflows .After overflowing I am trying to clear the SR register in the Timer2 interrupt but after the t...

0690X00000ARAVoQAP.png

UART1 issue with STM32F303

Hi All,I am trying to receive data on USART1 but I am not getting data on USART1. Apart from USART1 USART2 & 3 is working fine.As per datasheet USART1 pins are showing on (PE1, PE0 or PC5 & PC4). When I am use PE1 & PE0 that time USART1 is not workin...

ASaxe by Associate II
  • 730 Views
  • 2 replies
  • 0 kudos

adc example on stm32f407vg

i am using stm32f407vg board and trying to run a adc example (adc with dma ) from stm32f4 discovery board examples (en.stsw-stm32068) and when i run this example and try to debug the variable adcconverted value and conversionvalue i am getting a valu...

Vtrai by Associate II
  • 471 Views
  • 0 replies
  • 0 kudos

erasing flash stm32f779ii

I'm trying to erase sectors 11,12 in the STM32F779II, I have been running into that problem for one week without a solution.So Right now I'm trying to check if there is ANY write protection on sectors 11,12. But There is NO write Protection error.How...

SPI Rx double buffered DMA triggered from a GPIO

Using an STM32H743Zi I'm trying to receive 32bits of data from two SPI interfaces triggered at the same time from an external GPIO at a fairly high rate e.g. ~200kHz. Trying to use double buffered DMA receive.I started by trying to get an external GP...

NPato by Associate III
  • 2574 Views
  • 10 replies
  • 0 kudos

Why the current measured form the microcontroller(Stm64 Nucleo L433RC- LPSleep mode) differ from the current value written in the datasheet?

I am using STM32L433RC -p microcontroller for current measurement. The current in the microcontroller was measured using X Nucleo LPM01A module.I was doing current measurement for Low Power Mode(Low Power Sleep Mode).The current value given in the da...

jojo8276 by Associate
  • 562 Views
  • 0 replies
  • 0 kudos

How can I use i2c to communicate two STM32F103

I want to i2c to communicate two STM32F103. one of them will be a slave and other will be master. But program is stop on this : void SendI2CByteData (I2C_TypeDef* I2Cx, uint8_t SlaveAddr, uint8_t Data){ __IO uint8_t temp = 0; I2C_GenerateSTART(I2Cx, ...

STM32F412 SPI DMA data bit-shifted

Hi.First of all, the essence of my problem is already described here - https://community.st.com/s/question/0D50X00009XkiXu/spi-dma-data-corruption?t=1567119350874In my case bug happens randomly and not very often. It could be one corrupted transactio...

0690X000009akJJQAY.png 0690X000009akJTQAY.png
ohmjke by Associate II
  • 3365 Views
  • 15 replies
  • 0 kudos

Resolved! STM32G0, DAC, DMA, TIM2

Would like to generate a 100 Hz sine signal using DAC1, channel 1 (PA4, G071 NUCLEO @ CN8.3).Would like to use TIM2 to trigger the DAC and DMA to feed the DAC.But am not successful. TIM2 is running, but DAC is not fed.Please have al look at the (bare...

JuM by Senior
  • 1523 Views
  • 7 replies
  • 0 kudos