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

UPGRADE FIRMWARE stm32l072kztx

Olá pessoal, estou tentando atualizar o micro firmware usando stm32 cubeIde stm32l072kztx. Já tentei usar os comandos AT^SISS e baixar o arquivo .HEX compilado via FTP, já tentei usar os comandos AT^SNFOTA, mas não funcionou. Baixando via FTP consigo...

STM32 MCUs

Hi,I want to use input capture mode using TIMER2 feature of Stm32f730vbt6 microcontroller. I am receiving a pulse signal from the oscilloscope and I want to remove it via STM using the timer's input capture mode. What should I use in the code for thi...

Leylifer by Associate II
  • 887 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F756 Alternate function

Hi there, i come across AN4760 p55, configuring GPIOB with alternate functions :GPIOB->AFR[0] = 0x0A000900;  where does this 0A000900 come to config PB2 n PB6 to QSPI alternate function?GPIOB->AFR[1] = 0x00000000; ....GPIOF->AFR[0] |= 0x9900000000;  ...

StanJerm by Associate III
  • 4790 Views
  • 4 replies
  • 0 kudos

Resolved! Timer compare function interrupt not triggered sometimes

Hi everyone, I meet a problem and I'm not sure it's MCU issue or I program not proper.I meet this issue both on the STM8 and STM32 MCUs.I enable TIM_2 Ch1 as input to capture the signal and TIM_2 Ch2 as output to do the compare function. void init_TI...

Joey_Duh by Associate II
  • 4763 Views
  • 11 replies
  • 3 kudos

Resetting DMA memory pointer for USART TX

Hi,I'm using USART with DMA to transmit a fixed sized packet message from master to slave, and have the slave send back a fixed size response.   I have a freeRTOS enabled.  I have DMA setup in circular mode, and set the buffer size to twice the size ...

LMorr.3 by Senior II
  • 1383 Views
  • 2 replies
  • 0 kudos

Using HAL_UART_Transmit outside main.c cause hardfault

Hello, I got a problem on 'HAL_UART_Transmit' function. I wrote a simple line to create and define unsigned char of 10 then send it through 'HAL_UART_Transmit' on different .c file.unsigned char A[10] = { ...... 10 value ......};HAL_UART_Transmit(&hu...

taoybb by Associate II
  • 1521 Views
  • 7 replies
  • 0 kudos

STM32F401RCT6 Schematic issues

Hello, I am creating a sensor using the STM32F401RCT6 and eight SPI ADCs. Because the MCU doesn't have that many SPI ports, I am planning on adding a 3 to 8 decoder in order to handle the Hardware Slave Select (NSS) of the ADCs and daisy chaining the...

Screenshot 2023-09-13 at 5.44.49 PM.png
gapple12 by Associate
  • 1945 Views
  • 5 replies
  • 2 kudos

HAL I2C no HAL_TIMEOUT Status when Timeout Reached

After inspecting blocking I2C functions from HAL libraries I found that apparently I2C blocking functions don't return "HAL_TIMEOUT" status if timeout is reached during I2C transfer. The following function does the work of verifying whether timeout w...

lgacnik97 by Associate III
  • 2380 Views
  • 2 replies
  • 2 kudos