Other Parts Discussed in Thread: ENERGIA
As per my last thread here: [Resolved] MSP430G2553: Parasitic Current Consumption When Serial Host Disconnected? - MSP low-power microcontroller forum - MSP low-power microcontrollers - TI E2E support forums I am having an issue with parasitic current from the host controller.
My current fix (no pun intended) is to add a 1 MΩ resistor in series with the ground connection between the two controllers. This limits the parasitic current to around 3 µA. In the future I plan on implementing either an optocoupler or a CMOS switch, but for the time being I am wondering if it might be better to just remove the ground connection completely? On the bench, this works fine (although I know it is not a best practice by any means). Another solution would be to temporarily disable the MSP430 UART pins, but that controller must remain active and I think a major program overhaul would be necessary to fix this via software.
The host controller operates at 3V3 and the MSP430 at 3 V. When I remove the ground connection, the serial communication works and the parasitic current disappears. This solution is not ideal because each MCU does not know the ground potential of the other. However, isn't this an issue I am also creating with the added series resistor on the common ground?
How is the resistor solution any better than the "no common ground" solution? Both systems are electrically isolated, so they both have a floating ground potential. Since that is the case, is having the 1 MΩ resistor in series slightly better because at least then the ground potentials of each controller will be "relatively" close?
Update: the 1 MΩ resistor WAS NOT a fix. I had a hidden ground connection in my test setup that was making everything seem like it was working.