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

STM32F072 Timer Slave Mode Configuration

Posted on July 16, 2016 at 21:37 Hi, I need to measure the time a PWM signal spends high. I have the input capture side of this working fine, but with IC mode set to both edges, there are occasional issues with the signal measurement. ...

[STM32F042] I2C slave receive only address

Posted on October 19, 2015 at 13:48Hi,for last three days I try to communicate with my STM32F042 (working in slave mode) but it doesn't work correctly. There is no data in RXDR and busy flag is set after correct receive of address (ADDCODE flag is s...

HAL Interrupt Driven I2C OVR Error

Posted on July 13, 2016 at 23:05I am attempting to implement an interrupt driven I2C slave on the STM32L051. The problem is that I keep receiving the HAL_I2C_ERROR_OVR error in the HAL_I2C_ErrorCallback. The below code is just an example and is conf...

devin by Associate
  • 1100 Views
  • 1 replies
  • 0 kudos

HAL Code Quality

Posted on June 21, 2016 at 10:20Hello,while I'm trying to figure out, why a project with USB support is not working as expected, I have to debug a lot in the HAL source code.Nearly all HAL functions have a HAL_StatusTypeDef as return type. I check t...

torsten2 by Associate II
  • 636 Views
  • 2 replies
  • 0 kudos

HAL_Delay() and osDelay()

Posted on June 13, 2016 at 09:00If I want to run FreeRTOS with SDIO,I need to replace ''HAL_Delay()'' with ''osDelay()'' in source file ''stm32f1xx_hal_sd.c''.Otherwise,It will be blocked in HAL_Delay(). #hal_delay()-and-osdelay()

USB double buffered endpoint question

Posted on July 14, 2016 at 14:56Hello, I have a CDC working with a double buffered endpoint. Everything seems fine, but I was wondering about the following situation. When I transfer a block of data, and the last piece is <64 bytes, shouldn't the t...

srdjan by Associate II
  • 368 Views
  • 0 replies
  • 0 kudos

STM32F0xx HAL_I2C Driver - Slave Functions

Posted on July 14, 2016 at 01:38Hello - I am looking for clarification on why each of the HAL_I2C_Slave_xxxx() transmit and receive functions take a Size parameter.  If I were going to call HAL_I2C_Slave_Recieve() (after being write-addressed by the...

mrussell by Associate
  • 359 Views
  • 0 replies
  • 1 kudos

EVAL_AUDIO Codec Configuration STM32F4 Discovery

Posted on July 13, 2016 at 18:56Hi, I am working with the STM32F4 discovery board and I'm trying to use the built in codec. I am trying to configure it to play audio from 2 alternating buffers I create. I have set up my callback function to start pl...

epalaima by Associate II
  • 463 Views
  • 0 replies
  • 0 kudos