STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Stm32f103 adc stable conversion

I am making a ntc thermometer with stm32f103c8 (by writing over registers without using state library). The code works as it is,I did the adc conversion in 7.5 cycles. I used the calibration register and ran the adc in continuous conversion mode. but...

Bicer by Associate II
  • 1108 Views
  • 3 replies
  • 0 kudos

Faster way to do a 1/x operation ?

Hi All,This is not really a specific STM32 question I suppose, so please excuse what might seem like a simple maths question for some of you. How can I do a 1/x operation to a FLT number without using the VDIV command?VDIV takes 14 clock cycles to ...

RMyer.1 by Associate III
  • 1834 Views
  • 6 replies
  • 0 kudos

Why is DMA state READY when I want to abort DMA?

Hi!I'm doing SDADC and I think there is some issues with the DMA for SDADC in STM32CubeIDE 1.7.0.First, I have enabled DMA for SDADC1, SDADC2, SDADC3 and I have selected InjectedConversion = ENABLE. Then I run this function. volatile static int16_t S...

0693W00000D1qX6QAJ.png 0693W00000D1qXBQAZ.png
DMårt by Lead
  • 553 Views
  • 0 replies
  • 0 kudos

Resolved! STM32F405 SPI Transmit using DMA not working

I have a problem transmitting a byte with SPI using DMA and asking for your help to solve this issue.Used uC: STM32F405RGT6Target: Display ST7789Project generated with STM32CubeIDEToolchain/IDE: Keil uVisionSPI 2 used/configured as "transmit only, ma...

dimkyy by Associate II
  • 1402 Views
  • 6 replies
  • 0 kudos

STM32L475RC glitch in fixed timer PWM

Hello, I have a power converter device controlled by a STM32L475RC. One part of the control requires a constant PWM of 70kHz of 300ns (Ton). Although this pwm is never modified,and doesn't use interrupts or DMA modules, periodically it produces a gl...

Random signals on I2C Communication?

Using Nucleo-L476RG board with I2C. Using a logic analyzer i'm getting meaningless signals as seen in the image. SDA AND SCL are connected to pins PB11 and PB10 respectively and are connected directly to the logic analyzer block directly to monitor t...

0693W00000D1dPiQAJ.jpg
ZHama.1 by Associate II
  • 1263 Views
  • 9 replies
  • 0 kudos

Resolved! I am using a chinese STM32F407 board. I am trying to use DMA to generate a wave signal through the DAC1 channel. Without DMA DAC y works, but I have not be able to generate the signal using DMA.

It is like DMA never starts.Any ideas?below is the code./* USER CODE END TIM6_Init 0 */ TIM_MasterConfigTypeDef sMasterConfig = {0}; /* USER CODE BEGIN TIM6_Init 1 */ /* USER CODE END TIM6_Init 1 */ htim6.Instance = TIM6; htim6.Init.Prescaler = 42-1;...

AVALE.1 by Associate II
  • 1062 Views
  • 6 replies
  • 0 kudos