Methods and Devices for Detecting a Controller Area Network Connection On a Universal Serial Bus Port
AssigneeGeotab Inc.
InventorsOmar Barake, Daniel Bernal Dotu, Naim Hilal, Michael Pirruccio
Life of this patent
Estimating the term…
Abstract
A host electronic device that supports both Universal Serial Bus (USB) and Controller Area Network (CAN) connections is provided. The host electronic device drives at least one USB signal line and measures the voltage thereof. When the measured voltage indicates a USB connection from a peripheral device, the host electronic device determines that the peripheral device is a USB device. Otherwise, the host electronic device determines that the peripheral device is a CAN device.
Claims20
A method by a host electronic device that supports both a Universal Serial Bus (USB) protocol and a Controller Area Network (CAN), the method comprising:
- determining whether a peripheral electronic device connected to the host electronic device is using CAN or using USB;
- in response to determining that the peripheral electronic device is using CAN:
- causing a switch to pass at least one alternate mode signal to a CAN transceiver;
- and
- in response to determining that the peripheral electronic device is using USB:
- commencing communication using the USB protocol over a plurality of USB signal lines.
A host electronic device, comprising:
- a controller;
- a Universal Serial Bus Type-C(USB-C) connector;
- a controller area network (CAN) transceiver;
- a switch, coupled to the controller, the switch connecting the CAN transceiver with the USB-C connector;
- a USB-C port connected with a plurality of USB signal lines of the USB-C connector;
- an impedance detection circuit coupled to the controller and connected with the plurality of USB signal lines;
- and
- a memory coupled to the controller, the memory storing machine-executable programming instructions which, when executed by the controller, configure the host electronic device to:
- determine whether a peripheral electronic device connected to the host electronic device is using CAN or USB;
- in response to determining that the peripheral electronic device is using CAN:
- cause a switch to pass at least one alternate mode signal to a CAN transceiver;
- and
- in response to determining that the peripheral electronic device is using USB:
- commence communication using a USB protocol over a plurality of USB signal lines.
Dependencies are inferred from the claim text.