keyboard_converter icon indicating copy to clipboard operation
keyboard_converter copied to clipboard

Small decoupling capcitor cuases MCU going mad

Open tmk opened this issue 11 years ago • 2 comments

I used 1uF for C1 of Rev.1 PCB instead of 10uF and experienced random MCU runaway, hang or reset(blown-out?).

In PS/2 converter with 1uF some keyboard(KBC Poker with PS/2 adapter) draws inrush current quite a bit and MCU cannot continue to run(during voltage is lowered?). If the keyboard is pluged in before the converter is connected to host the problem does not occur. But replug it while converter is on line MCU ocasionally go mad.

LESSON: Use 10uF for C1. Not sure 10uF is enough, though.

TODO: research how to decide propler value of decouple capacitor.

tmk avatar Dec 05 '13 07:12 tmk

A note on the USB spec: I'm pretty sure that devices are supposed to have no more than 10uF of total bypass capacitance. I don't have a citation handy, though.

thomasrussellmurphy avatar Dec 05 '13 14:12 thomasrussellmurphy

Thaks, good to know. I found USB 2.0 spec 7.2.4.1 Inrush Current Limiting, I'll read later.

tmk avatar Dec 05 '13 23:12 tmk