CarbonWerkes
New member
- Mar 15, 2006
- 62
Hello
I have an application that involves several microcontrollers and a number of peripherals on the same PCB. The MCUs leverage I2C to communicate with each other and with the peripherals (real time clocks, flash/EEprom, etc). Normally, one would use a CPU supervisor chip to just hold the MCU reset pins in 'reset' until the bus voltage stablized, but this can leave the peripherals in an unknown state- which is particularly bad with I2C if you are mid communication when a brownout happens.
Is there any reason why I should not just implement a p channel mosfet between the power supply and the bus, and have the CPU supervisor manage that? In this way, the entire bus would be powered down/up at the same time, emulating the normal power-up cycle. I cant see any problem with this, but there are few if any notes I can find on this approach.
Regards,
R
I have an application that involves several microcontrollers and a number of peripherals on the same PCB. The MCUs leverage I2C to communicate with each other and with the peripherals (real time clocks, flash/EEprom, etc). Normally, one would use a CPU supervisor chip to just hold the MCU reset pins in 'reset' until the bus voltage stablized, but this can leave the peripherals in an unknown state- which is particularly bad with I2C if you are mid communication when a brownout happens.
Is there any reason why I should not just implement a p channel mosfet between the power supply and the bus, and have the CPU supervisor manage that? In this way, the entire bus would be powered down/up at the same time, emulating the normal power-up cycle. I cant see any problem with this, but there are few if any notes I can find on this approach.
Regards,
R