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

How to enable PWM using interrupt

Hi I'm new to STM32 and I am exploring this MCU. I have the STM32F103C8T6 MCU. I just want to ask some help how to enable PWM using interrupts. I am using TIM2 CH1 and set them on the CubeMX. Now I use PA6 as input switch to enable and disable th...

RSy.1 by Associate III
  • 825 Views
  • 3 replies
  • 0 kudos

Problem about Transmitting different ATcommands according to response of previous command inside HAL_UART_RxCpltCallback

Hello,I am using AT command for ESP8266. First, I am sending AT\r\n in main.c and receiving with interrupt Rx. After receiving first response, I am going on to transmit second AT command inside HAL_UART_RxCpltCallback. Everything was good with this m...

G_A. by Associate II
  • 647 Views
  • 0 replies
  • 0 kudos

DFU for STM32L optimized to not program pages containing 0x00?

As the STM32L flash is erased the memory cells are set to 0x00 (not 0xFF). Is there a DFU tool that can optimize firmware upgrade that skips programming of blocks already containing 0x00? The DfuSe Demo only has "Optimize Upgrade duration (Remove som...

MSipo by Senior II
  • 453 Views
  • 1 replies
  • 0 kudos

How to turn on a LED modyfing registers directly?

Hi to all,I'm trying to use the Nucleo F446RE board to switch on an external LED. by using directly the registersIN particular, I have connected the pin PA5 in series with a resistor, a LED and finally with the GND of the board.The code uses is shown...

FGiai.1 by Associate II
  • 2104 Views
  • 13 replies
  • 0 kudos

STM32f030 SPI DMA Problem

Hi i wrote sample code to transfer data by spi and use dma i test my code in 3 stepwhen dma transfer complete interrupt disable, when dma half transfer interrupt enable, and without interruptthis is my code ,just i comment interrupt cmd function for ...

0690X00000BvlYSQAZ.png 0690X00000BvlYXQAZ.png 0690X00000BvlYNQAZ.png
eittinfo by Associate II
  • 658 Views
  • 2 replies
  • 0 kudos

2019 STM32 Code example wish list

Here is an attempt to collect wishes for Cube application code examples:What peripheral(s)What the code should demonstrate functionality in details (and how it can be reused/modified)Should the example runs on a reference board? Any specific HW compo...

S.Ma by Principal
  • 1103 Views
  • 6 replies
  • 3 kudos

Implementation of Flow Control in STM32F427VI

Hello everyone.I have an issue with the communication between STM32F427VI to Gemalto PLS-W.The uart that is configured as the following:void MX_USART3_UART_Init(void) {   huart3.Instance = USART3; huart3.Init.BaudRate = 230400; huart3.Init.Word...

As.51 by Associate III
  • 718 Views
  • 3 replies
  • 1 kudos