STM32F4 Enabling and Disabling SPI using Timer or DMA
Hello,
I'm using the STM32F469NiH6 to try and do a certain number of SPI transactions (let's say 12 bytes) at regular intervals without core intervention, using Timers and DMA. And I have a couple of questions concerning this (I have had a look into the RM, in particular the peripheral registers, but a second opinion would be useful in case I missed/misunderstood anything)
- Is there a way for any of the timers to enable/disable the SPI directly?
- Is it possible to use DMA (triggered by a PWM edge, for instance) to enable/disable a different peripheral (like SPI) by writing to its configuration register (setting the Enable bit) ?
If there's any help, official examples, community forum threads, or pointers to the Reference Manual, that definitively answer my questions above, that would be greatly helpful!
Thanks!
