STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F030 ADC external resistor

I need to measure a signal that arrives on the board through a 100K resistor. I am trying to avoid having to add an operational amplifier to buffer it before the ADC input. I could use a bit of help understanding what the data sheet says about the ...

martincho by Associate II
  • 2815 Views
  • 10 replies
  • 0 kudos

I am trying to read in serial data using scanf through USART. The serial data is being sent by MATLAB. Here's the code that I have so far. printf works just fine. Scanning is the problem. Any suggestions are greatly appreciated!

int USART2_Write(int ch){ //wait for TX buffer empty while (!(USART2->SR & USART_SR_TXE)) {} USART2->DR = ch; return 0; }   int USART2_Read(void) { while (!(USART2->SR & USART_SR_RXNE)) {} return USART2->DR; }   #ifdef __GNUC__ #define PUTCHAR...

JWolf.3 by Associate II
  • 851 Views
  • 3 replies
  • 0 kudos

Help with getting PDM Microphone running via SAI.

Dear Readers,I got a lot of problems getting a PDM microphone (IM69D130) via SAI running on an STM32L431. I connected it as specified in app Note AN5027 (Select --> HIGH; Clock --> SCK_A; DATA --> SAI_SD_A);SAI_1 has 32 MHZ.Sai_init:hsai_BlockA1.Inst...

Flash Erase operation

Hi I'm usiing STM32F746 controller, I am erasing sector 7 using HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *SectorError).Erase operation is successfull but the Controller functionality is not working i.e it is not taking any input...

VKuma.10 by Associate II
  • 932 Views
  • 5 replies
  • 0 kudos

Watchdog and erasing Flash

I'm trying to use the watchdog on a STM32F401.The watchdog initialization is as follows: hwwdg.Instance = WWDG; hwwdg.Init.Prescaler = WWDG_PRESCALER_8; hwwdg.Init.Window = 127; hwwdg.Init.Counter = 127; hwwdg.Init.EWIMode = WWDG_EWI_DISABLE;In norma...

EGonc.1 by Associate II
  • 939 Views
  • 2 replies
  • 0 kudos

Hi, I'm looking for info about the performances of the FMAC coprocessor in STM32G4 series. Surprisingly enough, I couldn't find any specification on the subject neither in the datasheet, nor in the reference-manual.

I suppose FMAC uses AHB clock. I would like to know, if possible, how many clock cycles are required to perform a multiply-and-accumulate step in a FIR or IIR filter.Thank you for your help

GZini.16 by Associate
  • 307 Views
  • 0 replies
  • 0 kudos

STM32L4 Fault Power (over current)

Hi,my dear STM32L4 (BL475E-IOT01A) was working until yesterday, but for an unknown reason today it does not work anymore.When i connect the micro usb to the ST-LINK the LD7 is turned on and remains red. the datasheet says it is a Fault Power. The con...

0693W00000AMDCdQAP.jpg 0693W00000AMCy8QAH.png 0693W00000AMD4yQAH.png
Doc97 by Associate
  • 837 Views
  • 4 replies
  • 0 kudos