3 ms·
I have one and the power supply lines (to the glitching CPU) seem stable with minimal noise. The CPU-integrated USB2 PHY also retains its connection even during
by fxtentacle 1y ago
I have one and the power supply lines (to the glitching CPU) seem stable with minimal noise. The CPU-integrated USB2 PHY also retains its connection even during the CPU glitch. A connected Linux workstation will not log any USB connection or disconnection events. And a CDC serial connection will remain open. The power levels to the stepper driver chips also remain stable during the glitch.
So to me, it looks like the glitching happens exclusively inside the CPU. It appears that I’m randomly experiencing the exact same issue that the PicoEMP in the original article can induce.
- nicman23 1y agoare you sure it is not just the nemas causing a under voltage situation?
- fxtentacle 1y agoYes. 1. Stepper and CPU use separate power supplies and are optically decoupled. 2. I’ve monitored min max voltage on the CPU caps and they are fine the entire time, even during glitches.
- nicman23 1y agooptical decoupled uart?
- fxtentacle 1y agoNo UART at all: Control flow is through USB directly into the CPU, so the serial interface there is purely virtual. And then from CPU to stepper drivers it's Enable, Direction, and Step pins, all of them optically decoupled. The stepper drivers then have their own power supply and caps so that they can't interfere with the CPU power circuitry.
- ddeck 1y agoJust a reminder to ensure that you have brownout detection enabled on the CPU/MCU (assuming it's available) and are checking for it in your firmware. Supply drops can be very brief.
- colechristensen 1y agoNext steps: EMI (near field) probes for your scope. https://www.rohde-schwarz.com/us/products/test-and-measurement/essentials-test-equipment/digital-oscilloscopes/understanding-emi-debugging_254516.html https://www.rohde-schwarz.com/us/products/test-and-measureme...
- fxtentacle 1y agoMy scope is a SDS1204X-E and I don't believe there are any EMI probes that will work with it out of the box. The scopes that can do EMI (in addition to all the other stuff) are $5000+ which is why I was wondering if there are any more affordable single-purpose EMI measurement devices. Amazon is full with devices claiming to measure EMI, but since they usually advertise with people wearing tinfoil hats, 5G shielding burkas, and copper capes, I don't think those are useful for science.