I am currently using a driver that uses latch and clock signals to send special commands before sending data. For the sending of the data the driver works as for an SPI but with the signal of clock. Here is the diagram.
To interact with this driver I am currently using the microcontroller pins in GPIO out and I generate the output signals without using the SPI device. The problem is that by doing this I block my application while if I used the device SPI I could do something else in parallel.
Because if I want to use my SPI port I will have to whenever I want to sent the start of the special command reconfigure the pins out and once the special command sent reconfigure the device SPI.
Is there a way to manage this kind of communication?
Thanks in advance !