If a microcontroller circuit is powered from a floating 3.3 V supply, what is a safe way to use an external instrument such as a signal generator to provide a square wave into the microcontroller's clock input? I'd like to be able to do this as a diagnostic and debugging method.
I connected a sig-gen (the wavegen feature of a Keysight EDUX1052G oscilloscope) to the GND and clock-input of the microcontroller, setting up the sig-gen to produce a 10 MHz square wave (0 V low level to 3.3 V high level, into a high-impedance load.) When the microcontroller's floating power supply is powered down (while the sig-gen still runs,) I noticed that the circuit has some continued sporadic activity. Turning off the sig-gen, too, stops this activity.
It's clear that the sig-gen is partially powering the microcontroller through its clock input and GND. This worried me, so I turned it off immediately.
Given that the sig-gen and the floating PSU have a common GND, am I likely to damage my microcontroller when the sig-gen is on while the PSU is off?
What's a better way to do this?
I suspect this might be immaterial, but the microcontroller in question is a Parallax Propeller P8X32A, which is normally operated at 3.3 V. I imagine its clock input is similar in nature to that of most other microcontollers.