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

problem with usb device cdc in hal library

Posted on September 26, 2017 at 17:56Hello, allI recently learn to use stm32 usb deviceI think it's easy to build a CDC example with HAL library in CubeMX,And I put the code into stm32f429-discvoery, it's the HS pin, but actually use FS speedI'm suc...

ctc.ctc by Associate II
  • 1253 Views
  • 4 replies
  • 0 kudos

STM32 Error Driver HAL_StatusType Def not found

Posted on September 26, 2017 at 17:43Hello,I am experiencing some problems when I set up the STM32L432KCU6 NUCEO-L432KC wiith FreeRTOS. The driver files containing HAL are causing compilation errors (see attached screenshots) when used in eclipse.Wh...

F K by Associate II
  • 1593 Views
  • 4 replies
  • 0 kudos

18-bit SPI

Posted on September 25, 2017 at 15:27I'm trying to use two AD7690 (18-bit ADC) http://www.analog.com/media/en/technical-documentation/data-sheets/AD7690.pdf (page 20)But when I accept the data, I get a mistake  HAL_ERRORHowever, I'm getting some dat...

Hard Fault jumping to System Memory

Posted on September 22, 2017 at 19:42Hi,I am testing some code in a STM32F446 to jump to the system memory from my firmware. I am using this code:void JumpToBootloader(void){    void(*SysMemBootJump)(void);    volatile uint32_t addr = 0x1FFF76DE;   ...

Resolved! ST32L476RG dfu bootloader bug via USB?

Posted on September 23, 2017 at 15:43I have a firmware.dfu and firmware.hex file generated for the STM32L476RG. When I use dfu-util and upload the file the system doesn't work, if I use my segger jtag interface and uses SWD to upload the firmware.he...

Resolved! GCC bug or FreeRTOS bug?

Posted on September 21, 2017 at 13:19 I spent 3 hours debugging this. I'm using STM32L051 with FreeRTOS (initial code generated by STM32CubeMX v4.1). GCC version is the one that's coming with Ubuntu 04 by default: ~$ arm-none-eabi-gcc --versio...

Resolved! Stm32CubMx usb

Posted on September 21, 2017 at 15:18Unable to configure USB_DEVICE on STM32F070F6PX in STM32Cubemx.STM32CubeMx version 4.22.1Attempting to build a Virtual com.Created cube project, configured USB port and Uart.Added USB_DEVICE virtual com Middlewar...

unknown type name 'ADC_HandleTypeDef'

Posted on September 20, 2017 at 23:41Hi,I am trying to add the ADC handles into a struct that is in a seperate header file. For some reason I cannot get the ADC handles' typedef to be located after including  stm32f4xx_hal.h.My struct looks is as fo...