2022-09-04 12:36 AM
Is there a possibility to fire DMA transfer on a positive edge on the GPIO pin (PA3) ?
Solved! Go to Solution.
2022-09-04 04:25 AM
As I already wrote above - according to the chip errata it doesn't work. So you should either connect the PA3 to any free pin being a timer input or use EXTI interrupt to achieve the similar functionality with approx. 20..30 clock cycles delay (DMA typically has 5..12 cycle delay).
UPDATE: it should be fixed in rev. Y of the chip, it didn't work in rev. Z.
2022-09-04 12:50 AM
It's possible only if the pin is a timer input - see the errata. It should be possible in G0 via DMAMUX but it's not due to the implementation problem. Other families equipped with DMAMUX support this functionality correctly - L4+, H7.
2022-09-04 01:48 AM
unfortunately, the pcbs are already produced, can't change pinout
[[ It should be possible in G0 via DMAMUX ]]
using CR0CR.SYNC_ID and RG0CR.SIG_ID ?
2022-09-04 04:25 AM
As I already wrote above - according to the chip errata it doesn't work. So you should either connect the PA3 to any free pin being a timer input or use EXTI interrupt to achieve the similar functionality with approx. 20..30 clock cycles delay (DMA typically has 5..12 cycle delay).
UPDATE: it should be fixed in rev. Y of the chip, it didn't work in rev. Z.