Hello,
I'm making a project where I want to bit-bang the JTAG protocol. According to the AN4666 provided by ST, DMA + GPIO can achieve high speeds in bit-banging synchronous protocols.
I want to:
- Generate N PWM pulses (the CLK signal).
- With the falling edge of each pulses, I want to set some GPIO with DMA.
- With the rising edge, I want to read from the GPIO using DMA.
What is the best way to achieve these specs using HAL?