cancel
Showing results for 
Search instead for 
Did you mean: 

stm32g031 problem DMAMUX module

RusikOk
Associate III

Good afternoon!

I have a problem with the operation of the DMAMUX module with synchronization from EXTI on STM32G031.

my task is as follows:

1) start reading SPI data after receiving EXTI event.

2) after SPI data reading is finished, start sending data via UART.

3) after sending data via UART to generate a pulse on the GPIO leg -> 0 -> 1

I tried to configure DMA_GENERATOR0 to then simultaneously run SPI1_RX / SPI1_TX via DMA. but my chip has the bug described in errata https://www.st.com/resource/en/errata_sheet/es0487-stm32g031x4x6x8-device-errata-stmicroelectronics.pdf

Please tell me which M0+ chip doesn't have problems with DMAMUX, DMA_GENERATOR0 and EXTI trigger

0693W00000WI0vfQAD.png

4 REPLIES 4
TDK
Guru

What errata specifically in that document do you think is affecting this? Shouldn't be any issue running SPI from DMA, or from starting that process in response to an EXTI interrupt.

If you feel a post has answered your question, please click "Accept as Solution".
RusikOk
Associate III

0693W00000WI67qQAD.png

Hi @RusikOk​ ,

Based on the errata sheet, the mentioned limitation is applicable only for STM32G0 rev Z devices. No such limitation for rev Y.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

But this does not solve the other problems with DMAMUX

0693W00000WIV0aQAH.png