smithmat
Newbie level 4
- Joined
- Mar 23, 2013
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,326
Hello all,
I'm designing a system in which two peripherals are interfaced to a MCU via SPI communication. These devices (a memory IC and a wifi module) will be used rarely (roughly 6x/ea per month), so in an effort to minimize power consumption, separate rails providing power to each device will be enabled only during use to forego quiescent current in ~enable modes. So I suppose my first question is whether this is a good idea.
Assuming this scheme is workable, my question is how the mosi/miso/clk lines will impact a device not being powered. As an example, there may be instances when the wifi shield is used while the memory IC rail is disabled, causing shared data lines to drive pins on the unpowered device. Is this an issue or do SPI devices take this scenario into account?
To correct this potential problem I have included a series resistor and connected to each shared data line a Schottky between the pin and the respective rail. Is this an acceptable way to handle it?
Thank you for your input.
I'm designing a system in which two peripherals are interfaced to a MCU via SPI communication. These devices (a memory IC and a wifi module) will be used rarely (roughly 6x/ea per month), so in an effort to minimize power consumption, separate rails providing power to each device will be enabled only during use to forego quiescent current in ~enable modes. So I suppose my first question is whether this is a good idea.
Assuming this scheme is workable, my question is how the mosi/miso/clk lines will impact a device not being powered. As an example, there may be instances when the wifi shield is used while the memory IC rail is disabled, causing shared data lines to drive pins on the unpowered device. Is this an issue or do SPI devices take this scenario into account?
To correct this potential problem I have included a series resistor and connected to each shared data line a Schottky between the pin and the respective rail. Is this an acceptable way to handle it?
Thank you for your input.