STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Trigger SPI DMA transfer from Timer directly

Hey there, at the moment I am stuck with the following problem: I need to trigger a SPI DMA Transfer precisely at each Timer overflow. NVIC Timer interrupts are not an option, because the jitter is way too high when I have to jump into code each time...

JKram.1 by Associate II
  • 5866 Views
  • 11 replies
  • 1 kudos

HAL_SPI_Transmit Timeout problem

I am trying to implement a driver for an EEPROM. I created as follows: typedef struct { uint16_t address; uint16_t size; uint8_t *data; } test_t; And create a structure array as: test_t test[] = {{0x0000, 50, NULL}, {0x00AB, 70, NULL}, {0x0A...

SPI3 Clock not working on NucleoU575

Hello all, I want to use a NucleoU575 board to test an accelerometer sensor.I have written the driver for this accelerometer and currently, without having it connected to the Nucleo, I am trying to check whether my SPI3 Clock is working.This is the c...

_legacyfs_online_stmicro_images_0693W00000dDPOjQAO.png
KKots.1 by Associate II
  • 422 Views
  • 2 replies
  • 0 kudos

SPI communication on STM32G4

OS : Ubuntu 22.04.2 LTSSTM32CubeIDE : 1.12.0 Build: 14980_20230301_1550 (UTC)Firmware : STM32Cube FW_G4 V1.5.1Working on interfacing Nucleo-G491RE to EVAL-AD5592R-PMDZ evaluation board using SPI interface (SPI2). Befor...

Resolved! SPI transmit with interrupt not work

Hello to everybody,I have program for stm32f103 mcu. Now I want to do my SPI transmit routine using interrupt.Before:HAL_StatusTypeDef status = HAL_SPI_Transmit(&afe_spi, (uint8_t*) pData, 4,100);Now I tried this (and many variants also):HAL_StatusTy...

0693W00000aJKXCQA4.png 0693W00000aJKXWQA4.png 0693W00000aJKXqQAO.png
EBurk.1 by Associate II
  • 897 Views
  • 7 replies
  • 0 kudos

STM32F103C8T6 + MAX30003

I'm using STM32F103C8T6 controller and I want to connect MAX30003 breakout board. Which preferences it's better to use for the best performance (STMCubeMX)? Can I communicate it with an SPI slave using the UART1 synchronous mode (configured with Cube...

MGGd.1 by Associate II
  • 336 Views
  • 1 replies
  • 0 kudos