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

HAL_I2C_Master_Transmit(..) Wrong return value?

I have a question concerning the stm32f4xx_hal_i2c.c. In the function HAL_StatusTypeDef HAL_I2C_Master_Transmit(..) there is the following code sequence.uint32_t tickstart = 0x00U; /* Init tickstart for timeout management*/ tickstart = HAL_GetTick();...

MWebe.12 by Associate
  • 483 Views
  • 0 replies
  • 0 kudos

Programming firmware on STM32F412.

We need to be able to program a new board with firmware as well as update the firmware...both using USB. What do BOOT0 and BOOT1 need to be? We currently have BOOT0 low to boot from system memory. If updating firmware, how do we get the bootloader...

JDrei by Associate
  • 589 Views
  • 2 replies
  • 0 kudos

USB Host unplug with RTOS stop system

Hi, I'm trying to save data into a usb with and STM32F7I have no problems doing it till I try to unplug the usb, if i do that (even not saving or with the closed file) the cpu is just stuck there, and i cannot debug cause it doesn't seem to be dead a...

MMand.9 by Associate
  • 297 Views
  • 0 replies
  • 0 kudos

Hi, I have a STM32F401CBU6 custom board configured as USB host and connected to APC UPS HID device. My custom board is identical to the Disco411 kit.

When connected and detached the APC UPS device, my STM32 code is able to trigger the HOST_DEV_ATTACHED and HOST_DEV_DISCONNECTED events.After HOST_DEV_ATTACHED and HOST_ENUMERATION events, In HOST_CHECK_CLASS, I have added code to sent a character to...

PSaba by Associate
  • 327 Views
  • 0 replies
  • 0 kudos