What is your preferred small footprint, low pin count USB microcontroller? I am thinking about a gadget that can be controlled in my KVM tree and dims an IKEA USB-powered LED lamp. That means the thing needs only USB and a single PWM output. Please refrain from suggesting BGA, CSP or QFN parts.
Candidates (you can add your own:)
* PIC16F1455 in TSOP-14 or SO-14
* ATmega16U2 in TQFP-32
* STM32F042F6P6 in TSOP-20
* Anything else?
Edit: Some additional features I may or may not implement: a full synchronous rectifying buck front end to drive the LED lamp, and ADC feedback resistors for output voltage and current sensing. The intention is to implement digital feedback control to make the light output predictable and calibratable. Should I implement those features those components would be added regardless of MCU:
* A SO-8 complimentary power MOSFET pair AO4606,
* An 1210 power inductor,
* A SOT-23-5 op amp LMV321,
* Four 0603-size resistors,
* One 1812 current sense resistor.