STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Configuring ITM on STM32U5

We use ITM, locally configured by the embedded code at startup, for our trace output.  We have code for this that works with STM32F4 (see below), as advised by Segger; this advice doesn't seem to have changed since we adopted it. Using the same code ...

Resolved! Problem in usb mass storage device

Hello ,I have to implement USB mass storage device im my current project I have done some configuration and generate code but it seem have some problem1)usb mass storage device is showon in device manager2)In my computer also show that drive is conne...

STM32F446RE - 10KHz -PWM- TIM1 -STM32cubeide

I Have coded my STM32F446RE for 10KHz PWM using TIM1 In STM32cubeide. i am getting pulse but the pk-pk voltage is not 3.3v it is around 150mv.need help. Code :  /* Initialize all configured peripherals */MX_GPIO_Init();MX_DMA_Init();MX_TIM1_Init();/*...

IMG20240413224003.jpg

STM G4 FIFO and DMA questions

- Use MCU :  STM32G473VET- Use connectivity : SPI 3  -> Mode : Full-Duplex Slave 1. It it possible to clear Tx FIFO??"FTLVL" It's not '0' value. how to make '0'? The code used is :1)if(spi3_cs_low == true){HAL_SPI_Transmit_DMA(&hspi3, aTxBuffer, 11);...

MartinK by Associate
  • 1059 Views
  • 1 replies
  • 0 kudos

STM32U535NEY6Q: STOP Mode

For going to sleep with STM32U535NEY6Q with the following example: ``` cint main(void) {    HAL_Init();    SystemClock_Config();    MX_GPIO_Init();    // ^ // Configure GPIO pin : INT_BUTTON_Pin    // | GPIO_InitStruct.Pin = INT_BUTTON_Pin;    // | G...

Ed_ by Associate
  • 1137 Views
  • 1 replies
  • 1 kudos

HAL_ADC_Start_DMA from HAL_ADC_ConvCpltCallback

Hi :)I would like to acquire n samples from one channel of the on-board ADC (set at 4MHz) every time my EXTI line gets a rising edge (about 25Hz). I am on a STM32L496 on its Nucleo board.I am using ADC1 IN8 single-ended and I am using Regular Convers...