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! F042K6 - stuck in CAN receive interrupt

Hello,I am trying to set up CAN communication on my F042K6 using the HAL library. I have followed the stm guide (attached). I got most of the functionality working, however if i try to use the Rx interrupt using "void HAL_CAN_RxFifo0MsgPendingCallbac...

retro by Associate III
  • 3952 Views
  • 12 replies
  • 0 kudos

Resolved! STM32F411CEU6 "Black Pill" USB virtual COM port code not working, but working on STM32F4 discovery

Hello,I'm using STMCubeIDE, with firmware version: STM32Cube FW_F4 V1.25.0I am trying to implement a USB virtual COM port. My code is working on the STM32F4 discovery board. I then created a new project for the STM32F411CEU6 "Black Pill", but the U...

Gbeau.1 by Associate
  • 5680 Views
  • 1 replies
  • 0 kudos

STM32F76XXX Bootloader Activation

Hi! I'm new to the STM32F76, and I'm attempting to flash the MCU through either a serial/USART connection or USB (DFU mode). I have been unsuccessful and would appreciate any advice.Here's what I've tried:* I've read through AN2606 and have gathered ...

BB.2 by Associate
  • 609 Views
  • 2 replies
  • 0 kudos

ADC_CHANNEL_10: Wrong query during code generation

I use STM32CubeMX (5.6.1) with a STM32F373. When creating the hardware initialization with CubeMX there is an error in the "stm32F3xx_hal_adc_ex.c" file. When querying the channel used, an equals sign is missing for both "sConfig" and "sConfigInjecte...

0693W000001rjdrQAA.png 0693W000001rje6QAA.png
CWres by Associate
  • 367 Views
  • 0 replies
  • 0 kudos

Unexpected restart, NUCLEO-L432KC

Hello,I want to use a NUCLEO-L432KC as an interface card on a computer.The L432KC reboots when it is plugged into the USB port of my computer in Windows 10.These restarts occur randomly after a few minutes.These restarts also occur if I supply it wit...

MBASL.1 by Associate
  • 504 Views
  • 1 replies
  • 0 kudos

FATfs library for QSPI flash

is there any library available to handle FATfs file management system over QSPI flash, I've checked it is available for SD card, may be some part of it can be used but if its available for QSPI flash which directly can be used.

AShel.1 by Associate III
  • 1390 Views
  • 8 replies
  • 0 kudos

Resolved! SPI slave and SSI bit

Hi there,Lets say my device is configured as an SPI slave device with a software NSS pin. The STM32 HAL API doesn't use the SSI bit from CR1 register at all. I was wondering, what actually happens to the SPI peripheral when I manually set or clear th...

NUCLEO-L552ZE-Q PD Issue

I've a problem to setup the NUCLEO-L552ZE-Q as PD Sink.The debugger always disconnect at the following line (void HardFault_Handler(void)):CHECK_CAD_FUNCTION_CALL(USBPD_CAD_Init(USBPD_PORT_0, (USBPD_CAD_Callbacks *)&CAD_cbs, (USBPD_SettingsTypeDef *)...

TG..1 by Associate II
  • 1726 Views
  • 5 replies
  • 0 kudos