Archive for the ‘MCU’ Category.

Universal USB port adapter with regulator

Many micro-controller circuits are powered from the USB port. Supply voltage is usually less than USB five volts. Supply circuit has adjustable output voltage with few jumpers. Some circuits require two supply voltages, one for digital part and second for analog part. Jumpers and resistors are selected such that when no jumper is inserted, the output voltage will be at minimum level. This prevents electronic circuit from damage when jumpers are forgotten. It’s shown in schematic:

usb_proto_napajanje.jpg

Continue reading ‘Universal USB port adapter with regulator’ »

STM32L Discovery and ULINK2

ST have implemented the JTAG adaptor on the STM32L-DISCOVERY board. It’s very cheap board: ~12€ at farnell_logo.jpg (67×24). Detailed information is available via ST web page. On-board is a STM32L152RBT6 microcontroller featuring 128 KB Flash, 16 KB RAM, 4 KB EEPROM, in an LQFP64 package. On-board ST-Link/V2 is connected to “local” microcontroller. By removing two jumpers ST-LINK could be used to program external microcontroller.

ULINK+STM32L.jpg

Continue reading ‘STM32L Discovery and ULINK2’ »