SPI with two MOSIs for SWD and SPMI protocol implementation?
Hello,
I need to implement the SWD protocol in a STM32 microcontroller. SWD as many other protocols has one bidirectional line that is driven push-pull. I am implementing the protocol using bit banging and 3 output and 1 input.
1 output is for the output data (MOSI)
1 output is to turn the output driver off/on and turn the output line in Hi-Z. (MOSI2?)
1 output is CLK
1 Input is for data in (MISO)
Is there any possibility to use some of the features from the STM32 SPMI module (quad SPI?) or something in order to speed up this? instead of bit banging.
I have read that the Quad sPI can be configured as two MOSI lines, but… what about the MISO? Still there is one? or two?
Best regards,
Jose