STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Receive multiple bytes of data using USART1_IRQHandler ().

Hello Community,I am new to ST MCUs.I want to receive multiple bytes of dat over UART. The size of the data can vary. So I want to use USART1_IRQHandler() when data is received by MCU over UART.I am able to get the interrupt correctly, But I can get ...

OLED interface with Rotary encoder

Hi ;I have worked with STM32F429i to generate square signal with various frequency. The value of frequency can be shown on OLED SSD1306. I configured I2C1 to connect with this display.When I connect just Rotary encoder, i can see the change of freque...

AAbed.1 by Associate III
  • 468 Views
  • 0 replies
  • 0 kudos

Multi channel ADC: am I sensing right?

Hello, I am using L031K6 with its board​I am trying to sense multi- adc port. One is ADC 1 channel 3, other one is ADC1 channel 7​I open example code of ADC_DMA and overwrite it, for making my MCU sense these ADC channels, CH 3 & CH 7​but problem is,...

DU2 by Associate II
  • 548 Views
  • 1 replies
  • 0 kudos

I Always have nan and -nan values on MFCC output

Hello Everyone,I try to extract MFccColumn from my microphones plug on stm32h7. But when I put my buffer output audio on my function for extracting the mfcc I always get nan or -nan on pOutColBuffer[NUM_MELS]. Does someone have idea? Thanks,Here the ...

IFaye.1 by Associate II
  • 623 Views
  • 0 replies
  • 0 kudos

Hidden Flash in STM32L431KB?

According to the datasheet the STM32L431KB has 128kb of memory. I forgot about this fact and in my linker script I added another section after  0x08020000 of 6 KB long. After debugging and testing my code I am sure that I can read/write on flash abov...

VChav.19 by Associate II
  • 639 Views
  • 2 replies
  • 0 kudos

High precision 1Hz resolution Timer on STM32F030K6T6

Hello,I know that it is possible to cross series two timers to achieve high resolution one. In my case, 32bit resolution is enough. As a result, I would use TIM1 and TIM3 in STM32F030K6T6 to reach desired high resolution frequency generator. Unfortun...

Aalex.1 by Associate II
  • 2636 Views
  • 13 replies
  • 0 kudos

Usart idle interrupt question

Hello,When I enable usart idle interrupt function on stm32g071rb, it fires the interrupt immediately even there is no communication on the bus.I debug use cubeide and IAR. The results are the same.When UE bit in USART_CR1set to 1, the IDLE bit in USA...

PZhou.1 by Associate II
  • 1668 Views
  • 6 replies
  • 0 kudos

STM32's SPI tries to receive 32 bits of data per 1 NSS.

STM32 and IC are connected by SPI.Tx is connected to SPI2, Rx is connected to SPI3, and communication is successful.However, since the IC outputs 1NSS per 32bits, the first 16bits can be received, but the latter 16bits are not.After receiving the fir...

0693W000003OaCmQAK.png
YHAN.1 by Associate II
  • 1244 Views
  • 5 replies
  • 1 kudos

Resolved! STM32F103C8 Trace: No Synchronization

Hello everyone, I hope you're well and safe. I'm working with the STM32F103C8T6(BluePill).ST-LINK V2 as programmer and hardware debugger. Keil µVision MDK-ARM V5.STM32CubeMX.I'm trying to debug a simple application with the printf() functionHere's t...

0693W000000W3vTQAS.png 0693W000000W3vOQAS.jpg 0693W000000W3wvQAC.png 0693W000000W3x0QAC.png