SPI DMA transfer triggered by LPTIM
I'm trying to set up SPI transfer via DMA which is triggered by LPTIM1 on STM32H745IIK6. Unfortunately for some reason, no SPI activity is present regardless of the config register values, which seem to be correct. Here's the LPTIM1 and DMA1 config:


And I'm starting the timer with:
HAL_LPTIM_Init(&hlptim1);
HAL_LPTIM_Counter_Start(&hlptim1, 190);
HAL_LPTIM_PWM_Start(&hlptim1, 190, 95);And trying to initialize DMA with:
HAL_SPI_TransmitReceive_DMA(&hspi1, (uint8_t*)&spi_tx_buffer, (uint8_t*)&spi_rx_buffer, 1);LPTIM1 output works, I can see it on the PD13, but as I said, no activity on any of the SPI pins.
Can you give me some pointers regarding the initialization of automatic SPI DMA transfer which is triggered by LPTIM1? I have tried to follow a few examples from this forum which use direct writing to registers but none of them work?
