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

STM32F4 - How do I switch a pin from ADC to normal GPIO mode?

Greetings all,I'm using the HAL libs to set a couple of pins for ADC use (one-shot).Later on during fw execution, i need to flip some of these pins back to normal GPIO mode.How do I do this?I've been looking over the programming manual, and HAL/LL li...

mwp by Senior
  • 1815 Views
  • 2 replies
  • 0 kudos

Microcontroller programming technology

Hello. Please tell us how the microcontroller programming process works. The controller can be programmed in two ways, fill the firmware through the bootloader and through the programmer.If in the first case there is microcode on the controller that ...

k.s.corp by Associate II
  • 2010 Views
  • 4 replies
  • 1 kudos

Resolved! Can't deference memory mapped qspi

I am using memory mapped mode of the QSPI peripheral on an STM32L452. I can see in the memory view at address 0x90000000 the bytes i expect. However, when dereferencing the pointer to that memory all i get is 0xFF's. In the attached photo you can see...

dan0 by Associate II
  • 2585 Views
  • 4 replies
  • 1 kudos

Create an i2c connection with Raspberry Pi.

Hi everyone. I'm a novice so have patience with me. I have a stm32f103c8 (blue phill) card connected to 8 HC-SR04 ultrasonic sensors. I use the STM32Cube IDE. I already have the program ready to read the distances in all the ultrasonic sensors. Now I...

VGonz.1 by Associate
  • 934 Views
  • 0 replies
  • 0 kudos

Fast correlation slower than regular?

Arm_correlate_fast_q31 takes almost twice as much time as arm_correlate_q31.Am i missing something? I measured the calculating time for arm_correlate_q31 for various block sizes and then simply inserted the "fast_" in the function call and it takes a...

RMcCa by Senior II
  • 1202 Views
  • 1 replies
  • 0 kudos

Hardware bug STM32F11 in Timer DMA mode (PWM Generation)

I wanted to generate PWM Waveforms with nucleo F411and found a severe bug in the hardware. Maybe it is described in the errata sheet, but I found nothing.bug:DMA is dependent on data send on DMA stream. Sometimes DMA transfer is not done. (DMA circul...

rzong.1 by Associate II
  • 2346 Views
  • 9 replies
  • 0 kudos

Resolved! How to receive stream through SPI using DMA ?

Hi, I am using an STM32F407VGx MCU and I am trying to receive data from SPI1 using DMA.STM32CubeIDE generated code for the SPI1 is the following:void MX_SPI1_Init(void) { LL_SPI_InitTypeDef SPI_InitStruct = {0};   LL_GPIO_InitTypeDef GPIO_InitStr...

simo zz by Senior II
  • 2036 Views
  • 1 replies
  • 0 kudos