2022-11-10 05:36 AM
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
2022-11-10 03:23 PM
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.
2022-11-11 01:14 AM
2022-11-16 02:02 AM
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.
2022-11-16 02:12 AM
But this does not solve the other problems with DMAMUX