I need to use SPI without a clock, Cube MX won't let me do it.
It's a niche application. STM32H5 QFN
I need SPI2_MOSI to make a specifically shaped wave. SPI is works well for this. I do not need the SPI_CLK pin/function. I set Cube MX to SPI2 Transmit Only Master, and of course it applies the CLK pin because almost everyone would want that.
I would just not hook the CLK up but for two reasons:
1. I don't really want a wiggling pin hooked to nothing.
2. I want to use that pin for OCTOSPI_nCS (for QSPI). It is a valid function of that pin.
I know roughly in code what I would need to change to select that pin for that function. However, Cube MX either allows me OctoSPI using that pin for SPI2. I can't find the answer to what pins are required for a peripheral in the reference manual.
Is it possible to use SPI2 for only it's MOSI pin and use the pin that would be SPI2 CLK for OCTOSPI_nCS instead?
