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

I2C IT RX callback with 2 slave address

I have 2 slave i2c interfaced with master , Im working with HAL_I2C_MasterRxCpltCallbackI want select the slaves based with slave address , then I using the register hi2c1.Instance->CR2 & I2C_CR2_SADD for select them :In the main I have :// slave 1H...

bfran.1 by Associate II
  • 874 Views
  • 1 replies
  • 0 kudos

Bugs in LL_RTC_DATE_Init

STM32Cube MCU package for STM32H7 v1.8.0Also exists in F7 version, probably others.To reproduce:enable RTC with LL code generationmake sure assert_param() isn't stubbed outSet a date in OctoberTry both BIN and BCD format, they both have slightly diff...

Remi.G by Associate II
  • 585 Views
  • 1 replies
  • 0 kudos

I can't program my STM32 through bootloader on a CAN Network, even though it works with a single target connected on the bus.

Hi all, I use 2 STM32F446RE boards. They communicate with a CAN bus.I get a little code that allows my boards to enter boot mode when it receives a frame with a specific ID.When one enters in boot mode, using a third board, I send a frame with ID 0x7...

Zephyr S by Associate II
  • 854 Views
  • 2 replies
  • 1 kudos

Accessing system memory in STM32G0

Hello,I am trying to enter the system memory at boot time with the STM32G030 MCU. It has the BOOT0 line shared with SWCLK functionality, which is new to me compared to the STM32F* devices. I always entered the system memory in other devices by settin...

0693W000008GgndQAC.png

NUCLEO-L552ZE-Q CDC Not working. USB C

I just go the NUCLEO-L552ZE-Q dev board. STM32Cube IDE Version: 1.5.1Build: 9029_20201210_1234 (UTC)Using 1.3.1 FirmwareThe base CDC code generated by the IDE does not seem to work. It does not enumerate and if I try to send something I get a hard fa...

USB Battery Charging (BC)

Hello,When using an MCU with USB FS capabilities, do I need an external IC to be able if an SDP, a DCP or a CDP was plugged in ? Or can the MCU do the job ? Apparently yes, but I struggle to find evidence of this, especially in the datasheets or in t...

STM32 USB Isochronus endpoint problem

Hello! I have a problem. I created a USB audio device project in CubeMX. Then I changed the descriptors and related functions to get a device like a microphone. The device is detected correctly in the Windows system. But there is a problem: DataIn en...