STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1739 Views
  • 4 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
  • 902 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
  • 1535 Views
  • 11 replies
  • 0 kudos

Why can not change DBGMCU->CR in STM32F103

I'm use STM32F103C8T6. I use DBGMCU->CR = DBGMCU_CR_TRACE_IOEN to change the value of DBGMCU->CR, but the operation is failed after POR, the register is alway read 0.I suspect that the cause of this problem is the the debug component is not be powere...

Bpan.1 by Associate
  • 973 Views
  • 3 replies
  • 0 kudos

Resolved! Slow ADC with DMA

Hi guys,I'm using STM32F767 nucleo with STM32Cubeide. I've configured an ADC to operate with DMA at a sample rate of 1.8Msps. I've calculated this sample speed by:HCLK = 216MHzPCLK2 = 108MHzPrescaler of 4 : ADCCLK = 27MHzResolution (12bits + 3)Theref...

CDyer.1 by Senior
  • 1050 Views
  • 7 replies
  • 0 kudos

obtain the data from camera for cmsis-nn

Hi, I want to do a computer vision application on stm32f407VG discovery board. I have an CNN code with cmsis-nn library. My challange is that Using the camera datas as an input. But i need rgb data as 1 dimentional array. How can save the image in a...

FÇeli.1 by Associate
  • 272 Views
  • 0 replies
  • 0 kudos