I'm sending data in 254-byte packets. Occasionally (averaging 1 in 17000 packets) the host computer receives bad data. It is generally constrained to a single byte in the packet.
So I'm looking at the signals using a Tektronix TDS2025 O-scope (200 Mhz).
Most of the transitions look great:
But my low-tech eye diagram shows something unexpected:
I managed to trap one of the bad waveforms, which looks like this:
What might be causing this? I'm not sure where to start looking.
When I first plug in the device, the enumeration takes place successfully, and the eye diagram looks clean. But once I open the COM Port (using PuTTY, Hercules, or my custom java software), the glitches show up. I'm using a Lenovo Thinkpad with Windows 7.
Here is a picture of the layout:
The TVS IC is an NXP PRTR5V0U2F, and the Charger Detector is a TI BQ24392.
The USB traces travel about an inch on the back side of the board, then they come back up and connect directly to the microcontroller's USB pins. They are impedance controlled and appropriately length-matched to each other.
I'm probing from the USB connector's solder pads to the ground point which I've labeled on the picture. The probe had a short ground spring, not a long alligator clip.
If more data would help, please let me know. Also, this is my first USB device, and my first eye diagram test. If you see something wrong with my setup or assumptions, please let me know.
- Similar Topics
- Last post
x220 i bought a bluetooth 4.0 daughter card. while installing software update 'no bluetooth device was detected' error
Last post by GomJabbar « Sat Aug 04, 2018 10:57 amReplies: 4
Posted in ThinkPad X200/201/220 and X300/301 Series
- 4 Replies
- 1568 Views
Last post by GomJabbar
Sat Aug 04, 2018 10:57 am
- 0 Replies
- 565 Views
Last post by Blewatter
Tue Jun 19, 2018 6:20 pm
- 0 Replies
- 1258 Views
Last post by atreyu4055
Sun Mar 25, 2018 1:28 pm
- 2 Replies
- 1168 Views
Last post by mazzinia
Mon Apr 16, 2018 7:20 pm
Who is online
Users browsing this forum: No registered users and 8 guests