Gents,
I have two microcontrollers that will need to share the same 4 SPI slaves. In one scenario, one microcontroller will access the slaves through SPI BUS. In another scenario, the other microcontroller needs to access slaves through same bus. Both masters will never try to access the SPI slaves at the same time. Can I simply connect both masters to the SPI bus? Or will it require some intelligence to remove one microcontroller from circuit as the other is working.
Thanks
I have two microcontrollers that will need to share the same 4 SPI slaves. In one scenario, one microcontroller will access the slaves through SPI BUS. In another scenario, the other microcontroller needs to access slaves through same bus. Both masters will never try to access the SPI slaves at the same time. Can I simply connect both masters to the SPI bus? Or will it require some intelligence to remove one microcontroller from circuit as the other is working.
Thanks