Hi I am using spi to communicate with a sensor. The problem is that I am using an optocoupler, but the turn on time and turn off time of this particular optocoupler is too slow. Even dividing the clock by 128, the spi is too fast for the optocoupler.
Is there anyway to slow the SPI clock even more?
Is this communication be directional ? Please show the schematic which includes your Arduino board, the opto-coupler and the sensor (with part numbers).