zlacker

[parent] [thread] 7 comments
1. echoan+(OP)[view] [source] 2024-10-07 21:03:07
Can someone explain why the EMI would cause a Bitflip and not always a high read? Why would a pulse invert the signal that’s read? Don’t the voltages effectively get added?
replies(3): >>amengh+q1 >>missin+42 >>james_+H51
2. amengh+q1[view] [source] 2024-10-07 21:11:05
>>echoan+(OP)
It depends on how the analog signal is encoded. In some protocols, a 1 is encoded as high-then-low and 0 is encoded as low-then-high.
replies(1): >>echoan+23
3. missin+42[view] [source] 2024-10-07 21:15:26
>>echoan+(OP)
You need to think of EMI as having a magnitude and a direction. Half the time you are adding a negative voltage.
replies(1): >>echoan+k3
◧◩
4. echoan+23[view] [source] [discussion] 2024-10-07 21:22:44
>>amengh+q1
Ah good point, I was assuming simple TTL where signal level is the bit that’s transferred, RAM is probably using something more complex
◧◩
5. echoan+k3[view] [source] [discussion] 2024-10-07 21:24:44
>>missin+42
Since he’s using a Piezo lighter, shouldn’t it be just a single DC pulse like discharging a capacitor?
replies(2): >>missin+e6 >>james_+T51
◧◩◪
6. missin+e6[view] [source] [discussion] 2024-10-07 21:48:00
>>echoan+k3
I was confused on the lighter type so I deleted that part of my response. I think you're correct but I can't say for sure.
7. james_+H51[view] [source] 2024-10-08 09:04:30
>>echoan+(OP)
Sign matters as well as magnitude. The pulse created will have both a positive and negative part - waveform sort of like --^v-- and so you can get either direction bit flip. It's not equivalent to connecting a battery to the pin; EMI's more like AC in that it goes both directions.
◧◩◪
8. james_+T51[view] [source] [discussion] 2024-10-08 09:07:21
>>echoan+k3
Even your example of discharging a capacitor can end up with a pulse both directions, caused by the inductance of the wires.

In this specific situation, there's no common reference level, and so the induced pulse will go both directions. You can think of this as being about the edges of the pulse being the parts that actually cause radio to be transmitted, and there's both a positive-going edge and a negative-going edge on a pulse.

[go to top]