USB Archives - Engineers Garage https://www.engineersgarage.com/tutorials/usb/ Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News Sun, 01 Jun 2025 14:07:43 +0000 en-US hourly 1 https://www.engineersgarage.com/wp-content/uploads/2019/08/cropped-eg-favicon-32x32.png USB Archives - Engineers Garage https://www.engineersgarage.com/tutorials/usb/ 32 32 Controller Chip Selection for Developing USB Enabled Device (Part 6/6) https://www.engineersgarage.com/controller-chip-selection-for-developing-usb-enabled-device-part-6-6/ https://www.engineersgarage.com/controller-chip-selection-for-developing-usb-enabled-device-part-6-6/#respond Tue, 20 May 2025 10:29:38 +0000 http://engineersgarag-main/controller-chip-selection-for-developing-usb-enabled-device-part-6-6/ In this series, every possible detail about the USB system including its architecture, protocols, requests and descriptors as well as signaling and encoding has been already discussed. Wrapping up the series, selection of the controller chip for the development of a USB enabled device is discussed here.

The post Controller Chip Selection for Developing USB Enabled Device (Part 6/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/controller-chip-selection-for-developing-usb-enabled-device-part-6-6/feed/ 0
Signal and Encoding of USB System (Part 5/6) https://www.engineersgarage.com/signal-and-encoding-of-usb-system-part-5-6/ https://www.engineersgarage.com/signal-and-encoding-of-usb-system-part-5-6/#respond Tue, 20 May 2025 10:28:37 +0000 http://engineersgarag-main/signal-and-encoding-of-usb-system-part-5-6/ In this series, USB requests and descriptors have been already discussed. With the knowledge of USB requests, descriptors, transfer types and transactions it is now easy to understand how data is communicated over USB interface.  Another aspect of the USB communication is line states and encoding, which is generally ignored by the system designers as a USB device can be designed without knowing the Signaling and Encoding schemes. The signaling and encoding schemes are implemented at the lower levels (usually on the controller IC) and usually gets abstracted during system designing. However, understanding the terms related to bus states and encoding would help in getting comprehensive view of the USB System.

The post Signal and Encoding of USB System (Part 5/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/signal-and-encoding-of-usb-system-part-5-6/feed/ 0
USB Requests and Stages of Control Transfer (Part 4/6) https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6/ https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6/#respond Tue, 20 May 2025 10:27:29 +0000 http://engineersgarag-main/usb-requests-and-stages-of-control-transfer-part-4-6/ In the previous article of this series, USB Descriptors were discussed. When a USB peripheral is connected to a host device, the host sends queries in the form of requests. The peripheral responds by sending Descriptors. The Descriptors contain the information required for identifying and configuring the peripheral device, implementing the interfaces and setting endpoints. The device descriptor is the first descriptor sent to the host and it helps in configuring the peripheral with respect to the host. The subsequent descriptors implement the functioning, the peripheral is meant for. The Control Transfer is the only transfer type which is supported even when the device is yet not configured. That is the reason, it is used for sending requests and obtaining the descriptors. The default endpoint is endpoint 0 which is bidirectional and used for control transfers.

The post USB Requests and Stages of Control Transfer (Part 4/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6/feed/ 0
USB Descriptors and their Types (Part 3/6) https://www.engineersgarage.com/usb-descriptors-and-their-types-part-3-6/ https://www.engineersgarage.com/usb-descriptors-and-their-types-part-3-6/#respond Tue, 20 May 2025 10:26:50 +0000 http://engineersgarag-main/usb-descriptors-and-their-types-part-3-6/ Now that we have discussed the basic details of USB including its features, architecture, and protocol, the next topic in the series is USB Descriptors. In context to USB interface, Descriptors are formatted blocks of information, through which, the host device learns about the peripheral. It helps in identifying and configuring the peripheral device.A Descriptor contains information like type of the device, Vendor ID, Compliant USB Version, number of configurations device supports, number of endpoints, etc. The USB peripheral must respond with descriptors when requested by the host. During enumeration, the host uses control transfer to request the device for descriptors.

The post USB Descriptors and their Types (Part 3/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/usb-descriptors-and-their-types-part-3-6/feed/ 0
USB Protocol: Types of USB Packets and USB Transfers (Part 2/6) https://www.engineersgarage.com/usb-protocol-types-of-usb-packets-and-usb-transfers-part-2-6/ https://www.engineersgarage.com/usb-protocol-types-of-usb-packets-and-usb-transfers-part-2-6/#respond Tue, 20 May 2025 10:25:12 +0000 http://engineersgarag-main/usb-protocol-types-of-usb-packets-and-usb-transfers-part-2-6/ After discussing the features and architecture of USB, let’s move on to its protocol. A USB interface has several layers of protocol. Most of the time the lower level layers are single handled by host controller IC while the end designer needs to work on higher level layers. Every communication protocol involves the exchange of packets. Same is the case with USB. These packets encapsulate information in a standard-defined organized manner. These packets generally contain information related to- Controlling the data exchange, Data exchange in the form of actual payload, and Error detection and correction through the status check up. In USB the LSB of the packet is transmitted first. A USB packet contains different fields.

The post USB Protocol: Types of USB Packets and USB Transfers (Part 2/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/usb-protocol-types-of-usb-packets-and-usb-transfers-part-2-6/feed/ 0
Introduction to USB: Advantages, Disadvantages and Architecture (Part 1/6) https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6/ https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6/#respond Tue, 20 May 2025 10:23:20 +0000 http://engineersgarag-main/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6/ Universal Serial Bus (USB) is the de facto interface for computer peripherals to communicate with the personal computers. The interface that saw the light of day around the mid-1990s was a joint effort of seven companies - Compaq, DEC, IBM, Intel, Microsoft, Nortel, and NEC. These companies were aiming to replace the then parallel ports and the external power chargers with a universal communication standard that could simplify data exchange and could double duty to supply power as well.Nowadays, USB is the standard and must-have interface on almost all motherboards, single board computers and the embedded microcontroller boards and almost every digital peripheral from regular computer peripherals like keyboard, mouse and joysticks to smart digital devices.

The post Introduction to USB: Advantages, Disadvantages and Architecture (Part 1/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6/feed/ 0
Diodes video switch supports high-speed connectivity for automation infotainment and ADAS https://www.engineersgarage.com/diodes-video-switch-supports-high-speed-connectivity-for-automation-infotainment-and-adas/ https://www.engineersgarage.com/diodes-video-switch-supports-high-speed-connectivity-for-automation-infotainment-and-adas/#respond Wed, 01 May 2024 19:55:46 +0000 https://www.engineersgarage.com/?p=81027 Diodes Incorporated has introduced the PI3WVR14412Q, an automotive-compliant* 20Gbps 1:2 video switch for in-cabin infotainment and advanced driver assistance systems (ADAS) applications. This device features a space-saving design and is qualified for elevated temperatures. The switch has four high-speed lanes with a 10GHz bandwidth to handle DisplayPort 2.1, HDMI 2.1, MIPI DPHY/CPHY, USB 3.2, and…

The post Diodes video switch supports high-speed connectivity for automation infotainment and ADAS appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/diodes-video-switch-supports-high-speed-connectivity-for-automation-infotainment-and-adas/feed/ 0
Innoscience introduces 700 V integrated GaN HEMT IC family for USB-PD applications https://www.engineersgarage.com/innoscience-introduces-700-v-integrated-gan-hemt-ic-family-for-usb-pd-applications/ https://www.engineersgarage.com/innoscience-introduces-700-v-integrated-gan-hemt-ic-family-for-usb-pd-applications/#respond Mon, 26 Feb 2024 19:10:04 +0000 https://www.engineersgarage.com/?p=80648 Innoscience announced a family of four new integrated devices that combine power GaN HEMT, driver, current sense, and other functions within a single, industry-standard QFN 6x8mm package. The 700V ISG610x SolidGaN devices cover the range from 140mΩ to 450mΩ and save PCB space and BOM count while increasing efficiency and simplifying design for applications including…

The post Innoscience introduces 700 V integrated GaN HEMT IC family for USB-PD applications appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/innoscience-introduces-700-v-integrated-gan-hemt-ic-family-for-usb-pd-applications/feed/ 0
How to read input from USB keyboard on Arduino https://www.engineersgarage.com/arduino-usb-keyboard-usb-host-shield/ https://www.engineersgarage.com/arduino-usb-keyboard-usb-host-shield/#respond Wed, 19 Oct 2022 00:56:15 +0000 https://www.engineersgarage.com/?p=77404 Generally, Arduino boards can only serve as USB slaves. They cannot operate as USB hosts. That is why it is impossible to connect USB devices like a USB keyboard or mouse directly to Arduino. These generic USB devices can be a lot useful in many applications. For example, in some applications, a 4X4 keypad might…

The post How to read input from USB keyboard on Arduino appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/arduino-usb-keyboard-usb-host-shield/feed/ 0
STMicroelectronics offers port-protection IC for STM32 MCUs with USB-C dual-role power https://www.engineersgarage.com/stmicroelectronics-offers-port-protection-ic-for-stm32-mcus-with-usb-c-dual-role-power/ https://www.engineersgarage.com/stmicroelectronics-offers-port-protection-ic-for-stm32-mcus-with-usb-c-dual-role-power/#respond Mon, 08 Nov 2021 18:18:43 +0000 https://www.engineersgarage.com/?p=65243 STMicroelectronics‘ TCPP03-M20 USB Type-C port-protection IC is tailored for dual-role power (DRP) applications, simplifying the design of products that can act as a power source for connected devices, as well as accepting power from other USB-C sources. When used as a companion chip with STM32G0*, STM32G4, STM32L5, and STM32U5 microcontrollers that contain ST’s UCPD (USB…

The post STMicroelectronics offers port-protection IC for STM32 MCUs with USB-C dual-role power appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/stmicroelectronics-offers-port-protection-ic-for-stm32-mcus-with-usb-c-dual-role-power/feed/ 0
Introduction to USB: Advantages, Disadvantages and Architecture (Part 1/6) https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6-2/ https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6-2/#respond Fri, 16 Apr 2021 10:09:21 +0000 http://engineersgarag-main/?p=922344 Universal Serial Bus (USB) is the de facto interface for computer peripherals to communicate with the personal computers. The interface that saw the light of day around the mid-1990s was a joint effort of seven companies - Compaq, DEC, IBM, Intel, Microsoft, Nortel, and NEC.

The post Introduction to USB: Advantages, Disadvantages and Architecture (Part 1/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/introduction-to-usb-advantages-disadvantages-and-architecture-part-1-6-2/feed/ 0
USB Requests and Stages of Control Transfer (Part 4/6) https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6-2/ https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6-2/#respond Fri, 16 Apr 2021 09:09:21 +0000 http://engineersgarag-main/?p=922308 In the previous article of this series, USB Descriptors were discussed. When a USB peripheral is connected to a host device, the host sends queries in the form of requests. The peripheral responds by sending Descriptors. The Descriptors contain the information required for identifying and configuring the peripheral device, implementing the interfaces and setting endpoints. The device descriptor is the first descriptor sent to the host and it helps in configuring the peripheral with respect to the host. The subsequent descriptors implement the functioning, the peripheral is meant for. The Control Transfer is the only transfer type which is supported even when the device is yet not configured. That is the reason, it is used for sending requests and obtaining the descriptors. The default endpoint is endpoint 0 which is bidirectional and used for control transfers.

The post USB Requests and Stages of Control Transfer (Part 4/6) appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/usb-requests-and-stages-of-control-transfer-part-4-6-2/feed/ 0
A look at USB Type-C in power-only applications https://www.engineersgarage.com/a-look-at-usb-type-c-in-power-only-applications/ https://www.engineersgarage.com/a-look-at-usb-type-c-in-power-only-applications/#respond Thu, 19 Nov 2020 19:00:17 +0000 https://www.engineersgarage.com/?p=62405 Having been around for more than two decades, USB connectors are one of the most popular and well-recognized interconnect components in electronic designs. From Type A to Type-C, USB has gone through an array of changes both in terms of the physical connector as well as their associated standards. USB Type-C is the most advanced…

The post A look at USB Type-C in power-only applications appeared first on Engineers Garage.

]]>
https://www.engineersgarage.com/a-look-at-usb-type-c-in-power-only-applications/feed/ 0