STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STPackCreator Insert Code Snippets into main.c

Hi all!Thanks again for the help so far.Just another question, is it possible (or normal?) when creating a pack to have it insert snippets of code into main.c just like the code snippets that get inserted by the cube when you change peripherals etc? ...

pywtk by Associate II
  • 86 Views
  • 1 replies
  • 0 kudos

CubeMX setting GPDMA1 in UART repeats init members

 Lines 19 and 26 are repeated. Mode is set to normal (0x0000) twice. The structure is already initialized to `={0};` it doesn't need to be overwritten once, let alone twice.Initialized for STM32H563.usart.c  /* GPDMA1_REQUEST_USART1_TX Init */ DMA...

MBC by Associate III
  • 58 Views
  • 0 replies
  • 0 kudos

Resolved! about STM32 clock config

hello,I have a very simple question, I have asked a FAE,but not solved.I am using STM32CubeMX to config a project. I used an external 32.768khz crystal. I want to set the RTC clock to the external crystal. below is my setting.I think i have enabled H...

dqsh06_0-1721636102046.png dqsh06_1-1721636238355.png
dqsh06 by Associate II
  • 232 Views
  • 7 replies
  • 2 kudos

How to install x-cube-eeprom on STM32Cube?

Hello, I have downloaded en.x-cube-eeprom_v4.0.0.zip but I do not know how to install it on STM32Cube. It should have been a package installed "from local" and selected the zip in STM32Cube MX? Or what I need to do is copy all the files for my projec...

FCOST.1 by Associate II
  • 2920 Views
  • 9 replies
  • 4 kudos

Delay between SPI transfers on STM32U5

I have to interface an STM32U575 microcontroller with a very specialized SPI device for which the market offers no alternatives. According to the spec sheet, the chip select must be pulsed between every 2 bytes, for at least 154 ns. I have to read 34...

_legacyfs_online_stmicro_images_0693W00000biFzAQAU.png _legacyfs_online_stmicro_images_0693W00000biFx5QAE.png
CWill.12 by Associate II
  • 1555 Views
  • 9 replies
  • 0 kudos

Can install packages only as root (Ubuntu 22.04.1)

I was able to successfully install and launch CubeMX. However, I cannot download the packages. In my case I need the STM32CubeG0 firmware packages. When I download it manually and select "From Local" I get "Failed to create temporary directory". In ~...

MMett by Associate III
  • 374 Views
  • 2 replies
  • 0 kudos

Pin naming export

Hello,I tried exporting the symbol for STM32F733IET6 along with the pin naming through stm32cubemx(V6.10.0) but all i get is empty boxesI am using kicad v7. It's not a kicad problem because i've imported symbols recently with no issues.  Am i doing s...

cube.png kicad.png
abdullaq by Associate
  • 459 Views
  • 5 replies
  • 1 kudos