Valeo Interview Question

two microcontrollers communicate with as SPI communication protocol, write a code and draw the schematic