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

Timer for generating 1us tick

I'm using STM32F108RG on 48MHz clock configuration.I need to generate a 1 micrososeconds timer tick on it, for driving an output pin interfaced with a 3rd party device. Using PWM is not an option available.I tried configuring TIM3 with following para...

SShid by Associate III
  • 4949 Views
  • 10 replies
  • 0 kudos

stm32 IAP Binary problem

I am getting this error while debugging "Break at address "0x20004000" with no debug information available, or outside of program code". I am attaching main and linker file. How to solve this? Thanks in advance..

STM32L0 ADC voltage calculations

I have been trying to calculate voltage of the battery connected to ADC_IN7 of STM32L010K8. I have connected a battery to it via voltage divider. When I read the ADC I get raw values of 1948 for applied voltage of 3.7V. After going through the datash...

ARai by Associate II
  • 2149 Views
  • 4 replies
  • 0 kudos

Resolved! STM32L475VG DAC configuration issue: no signal observable on GPIO?

I'm trying to get a very simple example working with the DAC on the STM32L475VG in the B-L475E-IOT01A development board. I've generated the code below with STM32CubeMX for use in STM32CubeIDE. I can see the DAC register values changing, and LD1 blink...

BHM by Associate II
  • 1285 Views
  • 5 replies
  • 0 kudos

SPI DMA Stream Seems to Eventually Freeze

Hi,I'm using CubeMX generated HAL drivers to use SPI in DMA mode. In my particular situation, we are sending a small amount of data (3 bytes) very often over the SPI interface. The data transmission works fine most of the time, but sometimes (as litt...

Drew M by Associate II
  • 1096 Views
  • 4 replies
  • 0 kudos

Hello everyone, I am using stm32f207zg with usb ttl converter with ftdi chip. I want use the usart1 for communication with PA9 e PA10 pins as TX and RX of usart1. I use as virtual terminal, termite, and when i play the program, appear weird characters.

#define RCC_CFGR *((long*)0x40023808)#define RCC_CR *((long*)0x40023800)#define RCC_AHB1ENR *((long*)0x40023830)#define GPIOC_ODR *((long*)0x40020814)#define GPIOA_MODER *((long*)0x40020000)#define GPIOA_OTYPER *((long*)0x40020004)#define GPIOA_AFRL ...

FCa.1 by Associate II
  • 1929 Views
  • 11 replies
  • 0 kudos