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

USB host, mass storage class - how to tell when memory stick has completed writes and is safe to power down.

I’m using the STM32L476 discovery kit to test an application where a battery-powered product powers up a USB memory stick, connects to it, writes some data, and then shuts the stick down again, removing power. I've used the STM32 Cube to generate the...

JGerb by Associate III
  • 654 Views
  • 1 replies
  • 0 kudos

Problem with VPC USB FS and STM32F103VET6 device.

Hello Community,I purchased a Cortex-M3 STM32F103VET6 board and trying to implement USB FS on it. I'm using CubeMX to generate code, the version is up to date and i'm using the latest firmware libraries (FW_F1_V1.6.1). After compile USB device doesn'...

How to "return" HAL_UART_Receive buffer?

I'm using the HAL_UART_Receive function for receiving strings and I need to check if the receiving strings matches with the strings that I want to receive.First I want to create the char for the string in heap:char *response = (char *)malloc(RN2483_M...

Tvan.7 by Associate
  • 1023 Views
  • 3 replies
  • 0 kudos

FreeRTOS - Adding MPU support for tasks

Hi..I am trying to test MPU support in FreeRTOS on STM32L476G-EVAL board.In addition to common files like tasks.c, queue.c etc., I added below files for MPU support to my project.1.) port.c (for ARM_CM4_MPU)2.) mpu_wrappers.c3) event_groups.cAnd ...

AChau.5 by Associate
  • 801 Views
  • 1 replies
  • 0 kudos

STM32Cube_FW_H7_V1.3.0: HAL_ADC_ConfigChannel refuses to configure an internal path on ADC3 if ADC1 or ADC2 is already enabled

Lines 2558~ of Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c does this.However, it's not certain if ADC3 belongs to the same group as ADC1 or ADC2. If not, the use of ADC_ANY_OTHER_ENABLED is too restrictive, as we are working here only for in...

How to communicate STEVAL-SPIN3202

Hello AllI'm using STEVAL-SPIN3202 to drive a BLDC. I used the 6-step code provided by STM32 to communicate with STEVAL-SPIN3202 from the computer and drive the BLDC. It went successfully. The question now is how to connect the STEVAL-SPIN3202 to an ...

ANahh by Associate II
  • 342 Views
  • 0 replies
  • 0 kudos

Resolved! Weird problem RTOS or compiler related

void app_SendBuffer (void *argument) { uint32_t dma_index; char Message1[26]; bool a; sprintf (Message1, "BufferSize_inBytes = %u\n", AdcHalfBufferSize_inByte); osDelay(5000); while (!USBD_Configured(0)) { osThreadYield (); } USBD_CDC_A...

B-L475E-IOT01A how to connect to AWS

Posted on February 10, 2018 at 12:44HiIs anyone using the B-L475E-IOT01A with the AWS from amazon as mentioned in the documentation?I have problems getting it to work. I have the same problem with the default firmware which has been delivered and th...