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

Resolved! Problem using DMA with ADC triggered by Timer

Hi everyone,I am using an STM32L412KB chip and I currently have an ADC channel configured to trigger a conversion on the rising edge of TIM15. I have the timer setup to be a 1kHz square wave. In the ADC interrupt handler I toggle an LED on my board, ...

TRuss.2 by Associate II
  • 984 Views
  • 2 replies
  • 0 kudos

Resolved! STM32L031K6 Nucleo and DWT?

I have a STM32L031K6 Nucleo Board...I want to use the DWT.. but I become this errors:../Core/Src/../Inc/stm32_delay.h:35:30: error: 'DWT' undeclared (first use in this function) uint32_t clk_cycle_start = DWT->CYCCNT;How can I Use DWT or Enable it...

Sany by Associate III
  • 1620 Views
  • 5 replies
  • 0 kudos

STM32L072RB LPUART not working

Hi, I'm not being able to make LPUART work.What I tried:Use HAL drivers.Clock LPUART with LSE.Use different board.I also configured PB11 as output and it toggles normally.PB11: TX(output)PB10: RX(input)This is my code:LL_IOP_GRP1_EnableClock( LL_IOP_...

Can STM32F303 be programmed in multi-drop?

We have a system that uses hundreds of modules. Each module has 4 STM32F303 MCU's. Within a single module we would like to have one programming interface. Is there a means to program 4 MCUs with one programming interface?

BTrem.1 by Senior II
  • 554 Views
  • 3 replies
  • 0 kudos

WRITING TO FLASH WITH UART

Hi everyone,I can write to flash of STM32F103, max value of uint32 variable 4294967294.It is possible to write when you write it to flash directly.But I want to write it to flash with uart receiving. But when I put the rows (which is writed Bold in c...

UUrcan by Associate II
  • 2802 Views
  • 9 replies
  • 0 kudos

HAL_UART_Receive Timeout

Hello,I'm trying to understand: When will the HAL_UART_Receive function return HAL_TIMEOUT ?Will it happen only when the "Timeout" value has passed ?/** * @brief Receive an amount of data in blocking mode. * @note When UART parity is not enable...

skon.1 by Senior
  • 3092 Views
  • 5 replies
  • 0 kudos

J14 on STM32H745IIK6 - VDD or VSS

There's an error either in the datasheet and CubeMX or in the IBIS and BXL files.In the datasheet and CubeMX, J14 pin on STM32H745IIK6 (UFBGA 176+25) is labeled as VSS, but in the BXL file (Altium SchLib) and in the IBIS file, it is labeled as VDD.Co...

DTomi.1 by Senior
  • 504 Views
  • 1 replies
  • 1 kudos

Resolved! X-CUBE-AWS demo project on B-L4S5I-IOT01A does not run

I'm trying to run the aws_demos project from X-CUBE-AWS on the B-L4S5I-IOT01A development board. I've successfully programmed and run the provisioning image. I've successfully built the aws_demos project, and have the "B-L4S5I-IOT01_aws_demos.sfb" an...

CAN Bus DATA IS NOT GETTING RECEIVE NOT BY POLLING NOR Rx NOTIFICATION INTERRUPT ITS STUCKs IN TO "HAL_CAN_GetRxMessage(&hcan1,CAN_RX_FIFO0,&Rx_Header,Rx_Data);" if this receive API we are using polling mode instead of interrupt one

As per CAN new API i have implemented as followed sequence:-MX_CAN1_Init();CAN_filterConfig(); if (HAL_CAN_Start(&hcan1) != HAL_OK) { Error_Handler(); } if (HAL_CAN_ActivateNotification(&hcan1, CAN_IT_RX_FIFO0_FULL |CAN_IT_TX_MAILBOX_EMPTY) != HAL_O...

Why Flash is not erased Properly using HAL API? What would be the flash value after erasing? should it return 0xFF?

I am working on STM32H743 series, and I want to do Write operation continuously. When the flash is erased by STM32CubeProgrammer it returns 0xFF, but after erasing with HAL API (HAL_FLASHEx_Erase()), I got the value other than 0xFF (i.e previously fl...

STura.1 by Associate II
  • 614 Views
  • 2 replies
  • 0 kudos