STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

CMSIS with Keil

Hi, I have created a project with Keil compiler (v5.17 )and I'd like to use the CMSIS driver for SPI.When I selected CMSIS in RTE, it tells me that I need CubeMX for configuring the HAL.I used CubeMX for generating the code, but there are many errors...

LBern.5 by Associate II
  • 872 Views
  • 5 replies
  • 0 kudos

STM32H7 SPI6 with BDMA

Hi,I have a project with an IOC configuring an STM32H733. In the IOC I configured the SPI6 in Full-Duplex Master. I also configured the BDMA channel 0 to serve requests of SPI6_TX. The project is pretty old and when I configured it like this I only e...

ANeam.1 by Associate II
  • 874 Views
  • 4 replies
  • 0 kudos

Resolved! Failed STM32 Cube HAL for OLED SSD1306 with SPI

I'm configuring a STM32F205RET for SPI: hspi1.Instance = SPI1; hspi1.Init.Mode = SPI_MODE_MASTER; hspi1.Init.Direction = SPI_DIRECTION_2LINES; hspi1.Init.DataSize = SPI_DATASIZE_8BIT; hspi1.Init.CLKPolarity = SPI_POLARITY_LOW; hspi1.Init....

0693W00000Bci7QQAR.jpg 0693W00000Bci6wQAB.png 0693W00000Bci7BQAR.png

STM32F401 FT811-Q REG_ID 0x7C READING PROBLEM

I am trying to use STM32F401 and FT811. I still can't read REG_ID for about 1 month. I usually get values 0x42 and 0xFF when I try to read. As I do not have a Logic Analyzer, it is not possible for me to check the lines at the moment. I can't underst...

0693W00000WIvobQAD.png 0693W00000WIvoWQAT.png 0693W00000WIvoRQAT.png 0693W00000WIvoMQAT.png
MKoca.1 by Senior
  • 456 Views
  • 3 replies
  • 0 kudos

Resolved! Possible erroneous CubeMx code generation

I noticed that CubeMx (version 6.6.1 and earlier) when generating the code, may place the MX_DMA_Init() function after other ***_init functions that configure DMA registers. The problem is that those registers cannot be accessed 'before' enabling the...

GZini.16 by Associate
  • 375 Views
  • 2 replies
  • 0 kudos

stm32l0xx _ll_ spi.h not generating in my project

Hi all,I have just started working with stm32 and i am trying to port some example code from stm32f0 to stm32l0 board.When i configured my project on L073rz board with same configs in F0 series i am getting errors for some api's available in stm32l0x...

BChav.1 by Associate III
  • 500 Views
  • 2 replies
  • 0 kudos