WO2023054886A1 - 유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법 - Google Patents

유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법 Download PDF

Info

Publication number
WO2023054886A1
WO2023054886A1 PCT/KR2022/011794 KR2022011794W WO2023054886A1 WO 2023054886 A1 WO2023054886 A1 WO 2023054886A1 KR 2022011794 W KR2022011794 W KR 2022011794W WO 2023054886 A1 WO2023054886 A1 WO 2023054886A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
eusb
signal
repeater
external device
Prior art date
Application number
PCT/KR2022/011794
Other languages
English (en)
French (fr)
Inventor
김신호
홍상민
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to EP22876661.4A priority Critical patent/EP4318252A1/en
Priority to US17/889,103 priority patent/US12001378B2/en
Publication of WO2023054886A1 publication Critical patent/WO2023054886A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0012High speed serial bus, e.g. IEEE P1394
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Definitions

  • Various embodiments relate to an electronic device that communicates with an external device through a universal serial bus (USB) interface and an operating method thereof.
  • USB universal serial bus
  • USB2 Universal Serial Bus 2.0
  • the Universal Serial Bus 2.0 (USB2) protocol is an interface developed to standardize communication between a host computer and peripheral devices communicatively coupled to the host computer.
  • the USB2 protocol is widely used in a number of applications in addition to data communication between a host computer and peripheral devices, such as storage communication, Bluetooth communication, touch sensor communication, camera, and Wi-Fi (wireless fidelity).
  • Embedded USB 2.0 (eUSB2) is an interface to supplement the specifications of USB2, and was specified through the USB org in 2014, and the specific eUSB standard based on type-C USB was released in 2018. eUS2 enables USB2 to operate at a lower voltage of about 1V or about 1.2V instead of about 3.3V, which increases power efficiency and improves performance related to system-on-chip (SoC) process node and interface controller integration.
  • SoC system-on-chip
  • eUSB2 is an operating mode related to operating speed and can support HS (high speed), FS (full speed), and LS (low speed) modes that were supported by USB2.
  • an eUSB device supporting eUSB is a transceiver for HS mode and a single-ended transceiver for FS/LS mode.
  • An eUSB device can communicate with an external device through a direct USB2 signal connection or can be connected to a USB2 device through a separate eUSB2 repeater.
  • the eUSB2 repeater can convert a single-ended eUSB2 FS/LS signal to a USB2 FS/LS signal as well as a level shift to the approximately 3.3V physical interface of USB2. Any speed USB2 connection can be supported by routing a chip from a host or external device with an eUSB2 interface to the USB connector through an eUSB2 repeater.
  • the signal between the eUSB device and the eUSB repeater also depends on the operating mode of the external device. By operating in the FS/LS mode, unnecessary power may be consumed.
  • a method for transmitting and receiving a HS signal between an eUSB device and an eUSB repeater regardless of an operating speed of an external device and an electronic device for the same are provided.
  • an electronic device may include an application processor including a first eUSB device that performs an embedded universal serial bus (eUSB) function and a processor that controls the first eUSB device; and a repeater electrically connectable between the first eUSB device and an external device, wherein the processor monitors to detect connection (eg, coupling) of the external device to the electronic device, and Transmitting and receiving a signal between the first eUSB device and the repeater in high speed (HS) mode based on determining a mode related to the operating speed and determining that the mode is a full speed (FS) mode or a low speed (LS) mode configured to control.
  • HS high speed
  • a method of operating an electronic device may include monitoring to detect a connection of an external device to the electronic device; checking a mode related to the operating speed of the external device; and a first eUSB device that performs an embedded USB (eUSB) function included in the electronic device based on whether the mode is identified as a full speed (FS) mode or a low speed (LS) mode, and the first eUSB device. and an operation of transmitting and receiving a signal in a high speed (HS) mode between the repeater electrically connectable between the external device and the repeater.
  • HS high speed
  • the method may include, by an electronic device, monitoring to detect a connection with an external device through a confirmation terminal included in a connector of the electronic device; receiving a signal having a pattern based on a specific protocol and synchronization (SYNC) pattern from the external device; A pattern corresponding to the mode of the external device from the electronic device to the external device in response to the confirmation that the mode related to the operating speed of the external device is either a full speed (FS) mode or a low speed (LS) mode.
  • SYNC protocol and synchronization
  • Receiving a SYNC signal and an end-of-packet (EOP) pattern having configuring, by the electronic device, an operating mode so that an embedded USB (eUSB) device operates in the HS mode in response to receiving a reset signal; converting, by the electronic device, the received HS mode signal into an FS mode signal or an LS mode signal; and transmitting the FS mode signal or the LS mode signal to the external device by the electronic device.
  • EOP end-of-packet
  • a circuit included in the electronic device may be simplified by allowing the electronic device to transmit/receive data between the eUSB device and the USB repeater in the HS mode.
  • unnecessary current consumption in the electronic device can be reduced by allowing the electronic device to transmit and receive data between the eUSB device and the USB repeater in the HS mode.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • FIG. 2 is a diagram illustrating an internal block configuration of an electronic device connected to an external device through a connector according to various embodiments of the present disclosure.
  • 3A is a diagram showing a physical circuit configuration of a general eUSB2 device specified in the eUSB2 standard.
  • 3B is a diagram illustrating circuit configurations of an eUSB device included in an application (AP) processor in which an FS/LS transceiver 320 is omitted and an eUSB2 device in a repeater according to an embodiment.
  • AP application
  • FIG. 4 is a diagram illustrating a configuration of a USB repeater of an electronic device according to various embodiments.
  • FIG. 5 is a flowchart illustrating an operating method in an electronic device according to various embodiments.
  • FIG. 6 is a flowchart illustrating a detailed operating method in an electronic device according to various embodiments of the present disclosure.
  • FIG. 7 is a flowchart illustrating a detailed operating method in an electronic device according to various embodiments.
  • FIG. 8 is a diagram illustrating a transmission period of a signal transmitted in the HS mode in an electronic device according to various embodiments.
  • FIG. 9 is a diagram comparing a transmission period in which a signal is transmitted in the HS/FS/LS mode in an electronic device according to various embodiments and power efficiency thereof.
  • FIG. 1 is a block diagram of an electronic device 101 within a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into a single component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • processor 120 transfers instructions or data received from other components (e.g., sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • the secondary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function.
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the memory 130 may include volatile memory 132 or non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user may perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : a local area network (LAN) communication module or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low latency
  • -latency communications can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an internet of things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a diagram illustrating an internal block configuration of an electronic device 201 connected to an external device 202 through a connector according to various embodiments.
  • an electronic device 201 includes an application (AP) processor 210, a repeater 220, an identification circuit 230, a memory 250 (eg, the memory 130 of FIG. 1), and a connector 260 (eg, a connection terminal 178 of FIG. 1 ) to be connectable to the connector 270 of the external device 202 .
  • AP application
  • the external device 202 includes a USB device 280
  • the USB device 280 includes a USB2 device 281 that operates according to the USB2 protocol and a controller 282 that controls the USB2 device 281. ).
  • the connectors 260 and 270 may transfer power into or out of the device or transfer analog and/or digital data.
  • the connectors 260 and 270 may be connectors that support USB type-C, and the electronic device 201 and the external device 202 may be USB type-C connectors 260 and 270 data can be passed between them.
  • connectors 260 and 270 may be other than USB Type-C, including USB Type-A, USB Type-B, and/or combinations and/or pluralities thereof.
  • the electronic device 201 may recognize the physical connection of the external device 202 as the connector 270 of the external device 202 is connected through the connector 260 .
  • the electronic device 201 receives a signal through at least one pin among a plurality of signal pins included in the connector 260, for example, an identification terminal (eg, a configuration channel (CC) pin).
  • the identification circuit 230 eg, CC IC (integrated circuit)
  • the electronic device 201 and/or the external device 202 connected through a USB type-C connector is connected to the electronic device 201 and the external device 202 based on information recognized through a CC pin.
  • the electronic device 201 and/or the external device 202 may determine whether to operate as a host device or a client device. That is, when the electronic device 201 is referred to as a host device, the external device 202 may be referred to as a client device, and vice versa. Also, the external device 202 may be referred to as an accessory device connectable through a connector 260 of an electronic device. For example, when the external device is an audio output device, it may correspond to a speaker, headphones, or earphones.
  • Rp pulse-up
  • a high and low signal may be detected in a toggle form.
  • a high signal is detected in one device through the identification terminal of the electronic device 201, and the other device A low signal can be detected in According to an embodiment, a high or low signal is output in a toggle form until the connector 260 and the connector 270 are connected, and after the connection, the electronic device 201 operating as a host generates a low voltage through a CC pin. level is maintained, and in the case of the external device 202 operating as a client, a high voltage level may be maintained. This state may be maintained until separation, and when the connector 270 is separated from the connector 260, a signal may be detected in a toggle form in which a high or low signal is repeated again.
  • AP processor 210 may be configured to include a processor 211 (eg, processor 120 of FIG. 1 ) and an eUSB2 device 212 .
  • the AP processor 210 may control the operation of the electronic device 201 and/or signal flow between blocks of the electronic device 201, and may perform a data processing function of processing data.
  • the AP processor 210 may be formed as a single core processor or a multi-core processor.
  • the memory 250 is electrically connected to the AP processor 210 and may store various information and programs for data transmission and reception according to various embodiments.
  • the program includes a routine for detecting the connection of the external device 202 through the connector 260, a routine for identifying the type of the external device 202 when the external device 202 is connected, and the identified external device. It may include a routine for setting to perform various operations corresponding to (202).
  • the eUSB device 212 performs operations according to the eUSB2 protocol and may be configured in the form of a system on chip (SoC) having logic.
  • SoC system on chip
  • the eUSB device 212 may transmit and/or receive signals in the HS mode based on the repeater 220 and the eUSB2 protocol.
  • the eUSB device 212 may receive a synchronization (SYNC) signal of the external device 202 through the repeater 220 and determine whether the operation mode of the external device 202 is the HS mode or the FS/LS mode.
  • SYNC synchronization
  • the electronic device 201 determines the operation mode of the external device 202 based on the pattern of the SYNC signal received from the external device 202. can judge When it is determined that the external device 202 operates in the HS mode, the eUSB device 212 may operate according to the eUSB2 standard, and when it is determined that the external device 202 operates in the FS mode or LS mode, the eUSB device 212
  • the SYNC signal and the end-of-packet (EOP) pattern of the pattern corresponding to the operation mode of the external device 202 are repeatedly transmitted through the HS transmission/reception unit (eg, the HS transmission/reception unit 330 of FIG.
  • eD+ maintains a constant voltage
  • eD- transmits a toggle signal as a SYNC signal according to a predetermined pattern
  • the external device 202 enters the LS mode
  • a toggle signal may be transmitted as a SYNC signal to eD+ according to a predetermined pattern while maintaining a constant voltage in eD-.
  • the eUSB device 212 may transmit a control message for allowing the eUSB2 device 222 of the repeater 220 to operate in the HS mode and set the operation mode of the eUSB device 212 to the HS mode.
  • a CM.reset message according to the eUSB2 standard may be used as the control message.
  • the eUSB device 212 may transmit and/or receive an FS/LS mode signal with the external device 202 through the repeater 220 after the operation mode is set to the HS mode.
  • the repeater 220 includes the eUSB2 device 222 and the USB2 device 223, and the controller 221 that controls the eUSB2 device 222 and the USB2 device 223, and converts between the eUSB2 protocol signal and the USB2 protocol signal.
  • the repeater 220 converts the HS mode data signal (eD+/eD-) of eUSB2 received from the eUSB device 212 into an FS/LS mode data signal (D+/D-) conforming to the USB2 protocol and output to the external device 202 through the connector 260.
  • the repeater 220 converts the USB2 FS/LS mode data signal (D+/D-) received to the external device 202 through the connector 260 into an eUSB2 HS mode data signal (eD+/eD-). It can be converted to and transmitted to the eUSB device 212.
  • the repeater 220 may exchange signals of a pattern based on a SYNC pattern and a prescribed protocol with the external device 202 .
  • a signal input from the external device 202 may be transmitted to the eUSB device 212 through the repeater 220 .
  • Signals of different patterns may be transmitted according to the operation mode of the external device 202 .
  • the electronic device 201 may operate according to the eUSB2 standard, and when the operation mode of the external device 202 is the FS/LS mode, the eUSB device 212 A signal of a pattern corresponding to an operation mode of the external device 202 and an end-of-packet (EOP) signal may be received and transmitted to the external device 202 through
  • EOP end-of-packet
  • eD+ maintains a constant voltage
  • eD- transmits a toggle signal according to a predetermined pattern
  • the external device 202 switches to the LS mode.
  • a toggle signal may be transmitted as a signal to eD+ according to a predetermined pattern while maintaining a constant voltage in eD ⁇ .
  • the signal output from the eUSB device 212 is input to the eUSB2 device 222 of the repeater 220, and the repeater 220 transmits the signal received through the eUSB2 device 222 to the repeater 220.
  • the repeater 220 transmits the signal received through the eUSB2 device 222 to the repeater 220.
  • the repeater 220 may receive the control message transmitted from the eUSB device 212 through the eUSB2 device 222 .
  • a CM.reset message according to the eUSB2 standard may be used as the control message.
  • the eUSB2 device 222 of the repeater 220 may be reset to the HS mode.
  • the operation mode of the USB2 device 223 of the repeater 220 may be maintained the same as the operation mode of the external device 202 .
  • the repeater 220 receives the HS mode signal received from the eUSB device 212 from the eUSB2 device 222 of the repeater 220 after the operation mode is set to the HS mode, and the UTMI (USB transceiver macrocell interface) + protocol Based on this, the corresponding data is transmitted to the USB2 device 223, and the controller 221 can control the corresponding data to be changed according to the FS/LS mode.
  • the repeater 220 may transmit the converted FS/LS mode signal to the external device 202 through the USB2 device 223 .
  • the eUSB device 212, the repeater 220, the identification circuit 230, and the processor 211 may be implemented as a single IC chip, and at least some of the components may be implemented as separate IC chips. can be configured.
  • the electronic device 201 includes a processor (eg, the processor 211) and a memory 250 electrically connected to the processor, and the memory 250, when executed, the processor, an identification terminal Monitoring to detect the connection with the external device 202 through, determining that the external device 202 is connected and operating in FS / LS mode, signal between the USB device 212 and the repeater 220 in HS mode may store instructions for transmitting and/or receiving.
  • a processor eg, the processor 211
  • a memory 250 electrically connected to the processor
  • the memory 250 when executed, the processor, an identification terminal Monitoring to detect the connection with the external device 202 through, determining that the external device 202 is connected and operating in FS / LS mode, signal between the USB device 212 and the repeater 220 in HS mode may store instructions for transmitting and/or receiving.
  • a low or high signal according to toggling occurs in a state in which the signal is fixed to high or low. It can be set to monitor to detect a connection with the external device 202 by identifying whether it is detected.
  • the instructions may be configured such that the processor receives a signal input from the external device 202 and determines whether the operation mode of the external device 202 is the HS mode or the FS/LS mode.
  • the instructions include a processor confirming that the operation mode of the external device 202 is the FS/LS mode, and a SYNC signal of a pattern corresponding to the operation mode of the external device 202 and end-of- packet) signal.
  • the instructions include the processor sending a control message for causing the eUSB device 212 and the eUSB2 device 222 of the repeater 220 to operate in the HS mode, and the eUSB device 212 and After setting the operation mode of the eUSB2 device 222 of the repeater 220 to the HS mode, it may be set to transmit and receive signals between the eUSB device 212 and the repeater 220 in the HS mode.
  • At least some of the operations of the electronic device may be implemented as instructions stored in a storage medium in the form of a program module (eg, firmware).
  • a program module eg, firmware
  • monitoring is performed to detect connection with the external device 202, and when the operation mode of the external device 202 is FS/LS, the eUSB device 212 and the repeater 220 in the electronic device 201 )
  • the processor 211 controls transmission and reception of signals in the HS mode between them has been described as an example, but the controller included in the eUSB device 212, not the processor 211, controls the operation (shown not) may be.
  • 3A is a diagram showing the configuration of a physical circuit 300 of a general eUSB2 device specified in the eUSB2 standard.
  • the physical circuit 300 of a typical eUSB2 device includes an HS transceiver 310 for transmitting and/or receiving HS mode signals, and an FS/FS mode/LS mode for transmitting and/or receiving signals. It may include an LS transceiver 320 and a pull-up/pull-down resistor Rpd.
  • the HS transceiver 310 includes an HS transmitter 311 for transmitting an HS mode signal, an HS receiver 312 for receiving the HS mode signal, and a squelch detector for determining the validity of the received signal. detector) (313).
  • the HS transceiver when an external device (eg, the external device 202) connected to an electronic device (eg, the electronic device 201) operates in the HS mode, the HS transceiver is controlled by the processor.
  • the FS/LS transmission/reception unit 310 may operate under the control of the processor.
  • Figure 3b is a diagram showing the configuration of the circuit 301 of the eUSB2 device 222 in the eUSB device 212 and the repeater 220 according to an embodiment.
  • the eUSB2 device 222 in the eUSB device 212 and the repeater 220 does not include the FS/LS transceiver 320 of FIG. 3A, and transmits and / or it may be composed of a receiving HS transceiver 330 and a pull-up / pull-down resistor (Rpd).
  • the HS transceiver 330 may include a HS transmitter 331, a HS receiver 332, and a squelch detector 333.
  • the eUSB device of the AP processor and the eUSB2 device of the repeater transmit the HS signal through the HS transceiver 330 under the control of the processor. It can operate to transmit and/or receive.
  • the repeater's USB2 device is configured as shown in FIG. 3A, and therefore, a signal output from the repeater's USB2 device to an external device can be transmitted in HS mode or FS/LS mode according to the operation mode of the external device.
  • FIG 4 is a diagram illustrating a configuration of a repeater 220 of an electronic device (eg, the electronic device 201) according to various embodiments.
  • the repeater 220 may include an eUSB2 device 421 , a USB2 device 422 , and a controller 423 .
  • the eUSB2 device 421 is communicatively coupled to a data line (eD+/eD-) connected to the eUSB device (eg, the eUSB device 212 of FIG. 2 ) and may support the eUSB2 protocol.
  • the circuit of the eUSB2 device 421 may be configured to include a HS transceiver and a pull-up/pull-down resistor without including an FS/LS transceiver as shown in FIG. 3B.
  • the USB2 device 422 is communicatively coupled to a data line (D+/D-) connected to an external device and may support the USB2 protocol.
  • the controller 423 may control the operation of the eUSB2 device 421 and the USB2 device 422 according to a control signal input from the eUSB device 212 through the data lines eD+/eD-. According to one embodiment, the controller 423 may set the operation mode of the eUSB2 device 421 to the HS mode based on the protocol message input from the eUSB2 device 212, and the HS input through the eUSB2 device 421 The eUSB2 device 421 may be controlled to convert the mode signal into the FS/LS mode corresponding to the operation mode of the external device.
  • the controller 423 converts an FS / LS mode signal input from an external device through the USB2 device 422 into an HS mode signal and transmits it to the eUSB2 device 212 through the eUSB2 device 421 there is.
  • the eUSB2 device 421 and the USB2 device 422 may be configured to transmit and/or receive signals based on the UTMI+ protocol.
  • the eUSB2 signal received from the eUSB2 device 421 under the control of the control unit 423 is converted into a USB2 signal and transmitted to the USB2 device 422, and the USB2 device 422
  • the USB2 signal received from may be converted into an eUSB2 signal and transmitted to the eUSB2 device 421 .
  • the electronic device 201 may include an application processor including a first eUSB device that performs an embedded universal serial bus (eUSB) function and a processor that controls the first eUSB device; and a repeater electrically connectable between the first eUSB device and an external device, wherein the processor performs monitoring to detect connection of the external device to the electronic device, and a mode related to an operating speed of the external device. and control to transmit/receive signals between the first eUSB device and the repeater in high speed (HS) mode based on whether the mode is identified as full speed (FS) mode or low speed (LS) mode .
  • HS high speed
  • FS full speed
  • LS low speed
  • the repeater includes a second eUSB device connected to the first eUSB device and a USB device connected to the external device, and the processor is configured to establish a communication between the first eUSB device and the second eUSB device. and transmits and/or receives signals in the HS mode, and transmits and/or receives signals between the USB device and the external device in the identified FS mode or LS mode.
  • the processor converts the HS mode signal transmitted from the first eUSB device to the repeater into the identified FS mode or LS mode signal and transmits the signal to the external device, and the identified FS
  • the repeater may be configured to control the repeater to convert a signal received from the external device into the HS mode signal based on the mode or the LS mode and transmit the converted signal to the first eUSB device.
  • the processor converts an HS mode signal transmitted from the first eUSB device to the repeater to the identified FS mode or LS mode signal based on a USB transceiver macrocell interface (UTMI) + protocol and converting the FS mode or LS mode signal received from the external device into the HS mode signal and controlling the repeater to transmit the converted signal to the first eUSB device.
  • UTMI USB transceiver macrocell interface
  • the USB device includes a first transceiver for transmitting and/or receiving the FS mode or the LS mode signal and a second transceiver for transmitting and/or receiving the HS mode signal,
  • Each of the first eUSB device and the second eUSB device may be configured to include the second transceiver without including the first transceiver.
  • the processor determines whether the FS mode or the LS mode is the identified FS mode or LS mode from the first eUSB device to the external device through the repeater, based on whether the mode is identified as the FS mode or the LS mode. It may be configured to transmit a synchronization signal corresponding to.
  • the processor is configured to transmit a sync signal corresponding to the identified FS mode or LS mode from the first eUSB device to the external device through the repeater using the second transceiver It can be.
  • the processor may be configured to identify a mode related to an operating speed of the external device based on a pattern of a synchronization signal received from the external device.
  • the processor transmits a prearranged control message to the first eUSB device and the repeater based on whether the mode is identified as the FS mode or the LS mode, thereby controlling the first eUSB device and the repeater. It may be configured to transmit and receive signals in the HS mode.
  • the HS mode may be a mode in which data is transmitted during a first period in which data is transmitted and operates in a power saving mode during the remaining periods except for the first period.
  • FIG. 5 is a flowchart illustrating a method 500 of an operation in an electronic device (eg, the electronic device 201) according to various embodiments.
  • the method 500 may include operations 501 to 517.
  • Each operation of the method 500 of FIG. 5 includes an electronic device (eg, the electronic device 101 of FIG. 1 and the electronic device 201 of FIG. 2 ), and at least one processor of the electronic device (eg, the electronic device 101 of FIG. 1 ).
  • the electronic device 201 may monitor to detect a connection with the external device 202 through an identification terminal included in a connector of the electronic device 201. According to an embodiment, the electronic device 201 detects a connection with the external device 202 and identifies whether a low or high signal is detected due to toggling in a state where the signal is fixed to high or low, thereby detecting the external device ( 202) can be monitored.
  • the electronic device 201 receives a signal of a pattern based on a synchronization (SYNC) pattern and a prescribed protocol input from the external device 202 and determines whether the operation mode of the external device 202 is the HS mode or the FS/FS mode. You can check if it is in LS mode.
  • a signal input from the external device 202 may be transmitted to the eUSB device 212 through the repeater 220 . Signals of different patterns are transmitted according to the operation mode of the external device 202, and therefore, the electronic device 201 determines the operation mode of the external device 202 based on the pattern of the signal received from the external device 202. can do.
  • the electronic device 201 may operate in accordance with the eUSB2 standard. Therefore, in the following, exemplary embodiments of the present disclosure indicate that the external device 202 operates in the FS mode. Alternatively, it will be described assuming an operation in the LS mode.
  • the electronic device 201 confirms that the operation mode of the external device 202 is the FS/LS mode, via the HS transmission/reception unit (eg, the HS transmission/reception unit 330 of FIG. 3B) of the eUSB device 212.
  • a SYNC signal of a pattern corresponding to the operation mode of the device 202 and an end-of-packet (EOP) pattern may be repeatedly exchanged and set to a prescribed operation mode (speed mode).
  • eD+ maintains a constant voltage
  • eD- transmits a toggle signal as a SYNC signal according to a predetermined pattern
  • the external device 202 enters the LS mode
  • a toggle signal may be transmitted as a SYNC signal to eD+ according to a predetermined pattern while maintaining a constant voltage in eD-.
  • the signal output from the HS transceiver (eg, the HS transceiver 330 of FIG. 3B) of the eUSB device 212 is input to the eUSB2 device 421 of the repeater 220 and the eUSB2 device 421 ) can be transmitted to the USB2 device 422 of the repeater 220 through the HS transmission/reception unit (eg, the HS transmission/reception unit 330 of FIG. 3B).
  • the HS transmission/reception unit eg, the HS transmission/reception unit 330 of FIG. 3B
  • the electronic device 201 transmits in the FS/LS mode through the FS/LS transmission/reception unit of the eUSB2 device 421 of the repeater 220 (eg, the FS/LS transmission/reception unit 320 of FIG. 3A).
  • a signal may be transmitted to the external device 202 and a signal received from the external device 202 may be received.
  • the signal may include a synchronization pattern and start-of-packet (SOP)/EOP determined according to a protocol standard for each operating mode (speed mode) according to each USB operating speed.
  • the electronic device 201 may transmit a control message from the eUSB device 212 to the eUSB2 device 421 of the repeater 220 to operate in the HS mode.
  • a CM.reset message according to the eUSB2 standard may be used as the control message.
  • the electronic device 201 may set the operation modes of the eUSB device 212 and the eUSB2 device 421 of the repeater 220 to the HS mode.
  • the operation mode of the USB2 device 422 of the repeater 220 may remain the same as that of the external device 202 .
  • the HS mode signal may be transmitted from the eUSB2 device 421 of the repeater 220 to the eUSB device 212 after the operation mode is set to the HS mode.
  • the electronic device 201 may transmit and/or receive an FS/LS mode signal with the external device 202.
  • the eUSB device 212 may transmit the HS mode signal to the eUSB2 device 421 of the repeater 220.
  • the repeater 220 may convert the HS mode signal input to the eUSB2 device 421 to the FS/LS mode based on the UTMI+ protocol and transmit the converted signal to the USB2 device 422.
  • the repeater 220 may transmit the converted FS/LS mode signal from the USB2 device 422 to the external device 202.
  • FIG. 6 is a flowchart illustrating a method 600 of operating an electronic device 201 according to various embodiments.
  • the electronic device 201 can operate in the HS/FS/LS mode by supporting the eUSB2 protocol, and the external device 202 connected to the electronic device 201 operates in the HS mode or the FS/LS mode.
  • the external device 202 connected to the electronic device 201 operates in the HS mode or the FS/LS mode.
  • can work as In FIG. 6 an operating method 600 of the eUSB device 212 when the external device 202 operates in the FS/LS mode will be described as an example.
  • Method 600 may include operations 601 through 613 .
  • Each operation of the method 600 of FIG. 6 includes an electronic device (eg, the electronic device 101 of FIG. 1 and the electronic device 201 of FIG. 2 ) and at least one processor of the electronic device (eg, the processor of FIG. 1 ). 120 or at least one of the processor 211 in FIG. 2) or an eUSB device (eg, 212 in FIG. 2) under the control of a controller (not shown) included in the eUSB device (212 in FIG. 2). can be performed
  • the electronic device 201 may monitor a connection with the external device 202. According to an embodiment, the electronic device 201 detects a connection with the external device 202 and identifies whether a low or high signal is detected due to toggling in a state where the signal is fixed to high or low, thereby detecting the external device ( 202) can be monitored.
  • the electronic device 201 receives a SYNC pattern input from the external device 202 and a signal of a pattern based on a prescribed protocol, and in operation 605, determines whether the operation mode of the external device 202 is the HS mode. Alternatively, you can check whether it is in FS/LS mode.
  • a signal input from the external device 202 may be transmitted to the eUSB device ( 212 in FIG. 2 ) through a repeater ( 220 in FIG. 2 ). Signals of different patterns are transmitted according to the operation mode of the external device 202, and therefore, the electronic device 201 determines the operation mode of the external device 202 based on the pattern of the signal received from the external device 202. can do.
  • the electronic device 201 may operate according to the eUSB2 standard, and in FIG. 6, it is assumed that the external device 202 operates in the FS mode or the LS mode to explain.
  • the electronic device 201 confirms that the operation mode of the external device 202 is the FS/LS mode, via the HS transceiver (eg, the HS transceiver 330 of FIG. 3B) of the eUSB device 212.
  • a SYNC signal of a pattern corresponding to the operation mode of the device 202 and an end-of-packet (EOP) pattern may be repeatedly exchanged and set to a prescribed operation mode (speed mode).
  • eD+ maintains a constant voltage
  • eD- transmits a toggle signal as a SYNC signal according to a predetermined pattern
  • the external device 202 enters the LS mode
  • a toggle signal may be transmitted as a SYNC signal to eD+ according to a predetermined pattern while maintaining a constant voltage in eD-.
  • the electronic device 201 may transmit a control message for allowing the eUSB2 device 222 of the repeater 220 to operate in the HS mode.
  • a CM.reset message according to the eUSB2 standard may be used as the control message.
  • the electronic device 201 may set the operation mode of the eUSB device 212 and the eUSB2 device 222 of the repeater 220 to the HS mode after the CM.reset message is transmitted.
  • the electronic device 201 may transmit and/or receive an FS/LS mode signal with the external device 202 through the repeater 220.
  • FIG. 7 is a flowchart illustrating a method 700 of operating an electronic device according to various embodiments.
  • the electronic device 201 can operate in the HS/FS/LS mode by supporting the eUSB2 protocol, and the external device 202 connected to the electronic device 201 operates in the HS mode or the FS/LS mode.
  • the external device 202 connected to the electronic device 201 operates in the HS mode or the FS/LS mode.
  • Method 700 may include operations 701 through 711 .
  • Each operation of the method 700 of FIG. 7 includes an electronic device (eg, the electronic device 101 of FIG. 1 and the electronic device 201 of FIG. 2 ), and at least one processor of the electronic device (eg, the processor of FIG. 1 ). 120 or processor 211 of FIG. 2) or a repeater (eg, 220 of FIGS. 2 and 4) under the control of a controller (eg, 221 of FIGS. 2 and 423 of FIG. 4) repeater 210.
  • the electronic device 201 may monitor to detect a connection with the external device 202 through an identification terminal included in a connector of the electronic device 201. According to an embodiment, the electronic device 201 detects a connection with the external device 202 and identifies whether a low or high signal is detected due to toggling in a state where the signal is fixed to high or low, thereby detecting the external device ( 202) can be monitored.
  • the electronic device 201 may receive a signal of a pattern based on a SYNC pattern input from the external device 202 and a prescribed protocol.
  • a synchronization signal input from the external device 202 may be transmitted to the eUSB device 212 through the repeater 220 .
  • Signals of different patterns are transmitted according to the operation mode of the external device 202, and therefore, the electronic device 201 determines the operation mode of the external device 202 based on the pattern of the signal received from the external device 202. can do.
  • the electronic device 201 may operate in accordance with the eUSB2 standard. Therefore, in the following, exemplary embodiments of the present disclosure indicate that the external device 202 operates in the FS mode. Alternatively, it will be described on the assumption that it operates in the LS mode.
  • the electronic device 201 transmits the HS transceiver of the eUSB device 212 (eg, the HS transceiver 330 of FIG. 3B) transmits a SYNC signal and an end-of-packet (EOP) pattern corresponding to the operation mode of the external device 202 to the repeater 220 through ) can be transmitted.
  • the HS transceiver of the eUSB device 212 eg, the HS transceiver 330 of FIG. 3B
  • EOP end-of-packet
  • eD+ maintains a constant voltage
  • eD- transmits a toggle signal as a SYNC signal according to a predetermined pattern
  • the external device 202 enters the LS mode
  • a toggle signal may be transmitted as a SYNC signal to eD+ according to a predetermined pattern while maintaining a constant voltage in eD-.
  • the signal output from the HS transmission/reception unit (eg, the HS transmission/reception unit 330 of FIG. 3B) of the eUSB device 212 is input to the eUSB2 device 421 of the repeater 220 and the repeater 220 transfers the SYNC signal received through the HS transmission/reception unit of the eUSB2 device 421 (eg, the HS transmission/reception unit 330 of FIG. 3B) to the external device 202 via the USB2 device 422 of the repeater 220 and , a signal received from the external device 202 can be received.
  • the signal may include a synchronization pattern and SOP/EOP determined according to a protocol standard for each operating mode (speed mode) according to each USB operating speed.
  • the electronic device 201 may receive the CM.reset message transmitted from the eUSB device 212 in the eUSB2 device 421 of the repeater 220.
  • a CM.reset message according to the eUSB2 standard may be used as the control message.
  • the electronic device 201 may set the operation mode of the eUSB2 device 421 of the repeater 220 to the HS mode.
  • the operation mode of the USB2 device of the repeater 220 may remain the same as that of the external device 202 .
  • the electronic device 201 receives the HS mode signal received from the eUSB device 212 in the eUSB2 device 421 of the repeater 220, and based on the UTMI+ protocol The received data is transferred to the USB2 device 422, and the controller 423 can change the data to the FS/LS mode.
  • the electronic device 201 may transmit the converted FS/LS mode signal to the external device 202 through the USB2 device 422.
  • FIG. 8 is a diagram illustrating a transmission period 800 of a signal transmitted in the HS mode in an electronic device according to various embodiments.
  • the electronic device maintains the operation mode of the USB2 port of the repeater connected to the external device as FS/LS mode according to the operation mode of the external device, and the eUSB2 port of the repeater connected to the eUSB device of the AP processor.
  • the operation mode of the device can be changed to HS mode. Accordingly, as shown in FIG. 8, it operates in an active state (eg, L0 state) that transmits data for about 125 us during a transmission period of about 8 ms, and starts SOF (start of frame) after data is transmitted.
  • Power efficiency can be increased by maintaining link power management (LPM)-L1 and L2 modes, which are power saving modes, during the remaining intervals except for some transmission times.
  • LPM link power management
  • FIG. 9 is a diagram comparing a transmission period 900 in which a signal is transmitted in the HS/FS/LS mode in an electronic device according to various embodiments and power efficiency thereof. In FIG. 9, it is assumed that the external device operates in the FS mode.
  • FIG. 9 shows a case in which a signal is transmitted in FS mode between an eUSB device of an electronic device and a repeater according to the prior art, and (b) shows a case in which a signal is transmitted in HS mode between an eUSB device of an electronic device and a repeater However, it shows a case where the LPM-L1 mode, which is a sleep mode, is not applied, and (c) shows a case where the LPM-L1 mode is applied while a signal is transmitted in the HS mode according to the present disclosure.
  • (a) data is continuously transmitted over a transmission period of about 8 ms
  • (b) data is periodically transmitted every about 1 ms for about 125 us
  • (c) is the present disclosure
  • Data is transmitted only for about 125 us out of about 8 ms according to an embodiment of, and the LPM-L1/L2 mode can be maintained for most of the transmission period. Accordingly, in the case of (c), an effect of improving power efficiency of about 90% compared to (a) can be obtained.
  • a method of operating an electronic device 201 may include monitoring an external device to detect a connection to the electronic device; checking a mode related to the operating speed of the external device; and a first eUSB device that performs an embedded USB (eUSB) function included in the electronic device based on whether the mode is identified as a full speed (FS) mode or a low speed (LS) mode, and the first eUSB device. and an operation of transmitting and receiving a signal in a high speed (HS) mode between the repeater electrically connectable between the external device and the repeater.
  • FS full speed
  • LS low speed
  • the repeater includes a second eUSB device connected to the first eUSB device and a USB device connected to the external device, and between the first eUSB device and the second eUSB device in the HS mode.
  • a signal may be transmitted and/or received, and a signal may be transmitted and/or received between the USB device and the external device in the identified FS mode or LS mode.
  • the HS mode signal transmitted from the first eUSB device to the repeater is converted into the identified FS mode or LS mode signal based on a USB transceiver macrocell interface (UTMI) + protocol, and the The FS mode or LS mode signal received from an external device may be converted into the HS mode signal and transmitted to the first eUSB device.
  • UTMI USB transceiver macrocell interface
  • the USB device includes a first transceiver for transmitting and receiving the FS mode or the LS mode signal and a second transceiver for transmitting and receiving the HS mode signal, and the first eUSB device and the second eUSB Each device may be configured to include the second transceiver without including the first transceiver.
  • the mode based on whether the mode is identified as a full speed (FS) mode or a low speed (LS) mode, from the first eUSB device to the external device through the repeater, the identified FS mode or An operation of transmitting a synchronization signal corresponding to the LS mode may be included.
  • FS full speed
  • LS low speed
  • the operation of transmitting the synchronization signal corresponding to the checked FS mode or LS mode is performed by using the second transceiver, from the first eUSB device to the external device through the repeater, A synchronization signal corresponding to the configured FS mode or LS mode may be transmitted.
  • the operation of checking a mode related to the operating speed of the external device may check the operating speed of the external device based on a pattern of a synchronization signal received from the external device.
  • the operation of transmitting and receiving signals in the HS mode is performed by transmitting a prearranged control message to the first eUSB device and the repeater based on whether the mode is identified as the FS mode or the LS mode.
  • a signal may be transmitted and received between the first eUSB device and the repeater in the HS mode.
  • the HS mode may be a mode in which data is transmitted during a first period in which data is transmitted and operates in a power saving mode during the remaining periods except for the first period.
  • power efficiency can be increased by always transmitting a signal between the eUSB SoC and the eUSB2 port of the repeater in HS mode regardless of the operation mode of the external device.
  • the circuit can be simplified by omitting the FS/LS transceiver from the circuit configuration of the eUSB SoC and the eUSB2 port of the repeater.
  • the terms “comprising” and/or “comprising” specify the presence of a specified feature, region, integer, step, operation, element, and/or component, but indicate the presence of one or more other shapes, regions, integers, steps, The presence or addition of operations, elements, components and/or groups is not excluded.
  • relative terms such as “lower” or “lower” and “upper” may be used herein to describe a relationship between one element and another. It will be understood that relative terms are intended to include orientations of the device other than those indicated in the figures. For example, if the device in one of the drawings is turned over, elements described as being on the “lower” side of the other elements will be located on the “top” side of the other elements. Accordingly, the term “lower” may include both directions of “lower” and “upper” depending on the specific orientation of the drawing. Similarly, if a device in one of the figures is turned over, elements described as “below” or “beneath” other elements will face “above” the other elements. Thus, the term “below” or “beneath” can include directions of both up and down.
  • “approximately” or “about” means an acceptable range for a particular value, as determined by one of ordinary skill in the art, taking into account the measurement and the errors associated with the measurement of a particular quantity (ie, limitations of the measurement system). Specified values and means within the range of deviations are included. For example, “approximately” can mean within one or more standard deviations or within ⁇ 30%, 20%, 10%, 5% of a specified value.
  • Embodiments are described herein with reference to cross-sectional views that are schematic illustrations of idealized embodiments. Accordingly, variations from the form of the drawings should be expected, for example as a result of manufacturing techniques and/or tolerances. Therefore, the embodiments described herein should not be construed as being limited to the specific shape of the region as shown herein, but should be construed as including deviations in shape resulting from, for example, manufacturing. For example, areas that are described or described as planar may have generally rough or non-linear features. Also, the sharp angles illustrated may be rounded. Therefore, the regions depicted in the figures are schematic in nature and their shape is not intended to illustrate the exact shape of the region and is not intended to limit the scope of the present claims.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a storage medium readable by a device such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

다양한 실시 예에 따르면, 전자 장치는, eUSB(embedded universal serial bus) 기능을 수행하는 제1 eUSB 장치 및 상기 제1 eUSB 장치를 제어하는 프로세서를 포함하는 어플리케이션 프로세서를 포함한다. 사익 전자 장치는 상기 제1 eUSB 장치와 외부 장치 사이에 전기적으로 연결 가능한 리피터를 더 포함할 수 있다. 상기 프로세서는, 상기 외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터링하도록 구성될 수 있다. 상기 프로세서는, 상기 외부 장치의 동작 속도와 관련된 모드를 확인하도록 더 구성될 수 있다. 상기 프로세서는, 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여 상기 제1 eUSB 장치와 상기 리피터 간에 HS(high speed) 모드로 신호를 송수신 하도록 제어하도록 더 구성될 수 있다. 그 밖에 다양한 실시 예가 제공될 수 있다.

Description

유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법
다양한 실시 예는 USB(universal serial bus) 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법에 관한 것이다.
범용 직렬 버스 2.0(USB2) 프로토콜은 호스트 컴퓨터와 호스트 컴퓨터에 통신가능 하도록 커플링 되는 주변 디바이스들 사이의 통신을 표준화하기 위해 개발된 인터페이스이다. USB2 프로토콜은 호스트 컴퓨터 및 주변 디바이스 간의 데이터 통신, 예를 들어 스토리지 통신, 블루투스 통신, 터치 센서 통신, 카메라 및 Wifi(wireless fidelity) 등 외에도 다수의 애플리케이션들에서 널리 이용된다.
임베디드 USB 2.0(eUSB2)은 USB2의 사양을 보완하기 위한 인터페이스로서, 2014년에 USB org를 통해 지정되고, 타입 C(type-C) USB 기반의 구체적인 eUSB 규격이 2018년 릴리즈(release) 되었다. eUS2는 USB2를 약 3.3V가 아닌 약 1V 또는 약 1.2V의 저전압에서 작동시킴으로써 전력 효율을 증대시키고 SoC(system-on-chip) 프로세스 노드와 인터페이스 컨트롤러 통합과 관련된 성능을 향상 시킬 수 있다.
eUSB2는 동작 속도와 관련된 동작 모드로서 USB2에서 지원하던 HS(high speed), FS(full speed), 및 LS(low speed) 모드를 지원할 수 있으며, 이를 위해 eUSB를 지원하는 eUSB 장치는 HS 모드용 송수신기와, FS/LS 모드용 싱글 엔디드(sing-ended) 송수신기를 구비할 수 있다.
eUSB 장치는 외부 장치와 직접 USB2 신호 연결을 통해 통신하거나 별도의 eUSB2 리피터(repeater)를 통해 USB2 장치와 연결될 수 있다. eUSB2 리피터는 USB2의 약 3.3V 물리적 인터페이스로의 레벨 전환뿐만 아니라 싱글 엔디드 eUSB2 FS/LS 신호를 USB2 FS/LS 신호로 변환할 수 있다. eUSB2 인터페이스가 있는 호스트 또는 외부 장치의 칩을 eUSB2 리피터를 통해 USB 커넥터에 라우팅하면 모든 속도의 USB2 연결을 지원할 수 있다.
eUSB2 리피터가 적용되는 전자 장치의 경우, eUSB 장치와 eUSB 리피터 간에는 HS 신호로 송수신이 가능함에도 불구하고, eUSB2를 지원하지 않는 외부 장치가 연결된 경우에는 eUSB 장치와 eUSB 리피터 간의 신호도 외부 장치의 동작 모드인 FS/LS 모드로 동작하게 됨으로써 불필요한 전력이 소모될 수 있다.
따라서 eUSB2 리피터가 적용되는 전자 장치의 경우, 외부 장치의 동작 속도에 관계 없이 eUSB 장치와 eUSB 리피터 간에 HS 모드용 송수신기를 이용하여 HS 신호를 송수신하도록 함으로써 전력 소비를 줄이고 eUSB 장치의 회로 복잡도도 줄이는 방안이 요구된다.
본 개시의 다양한 실시 예에 따르면, eUSB2 리피터가 적용되는 전자 장치의 경우, 외부 장치의 동작 속도에 관계 없이 eUSB 장치와 eUSB 리피터 간에 HS 신호를 송수신하는 방법 및 이를 위한 전자 장치를 제공하고자 한다.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
다양한 실시 예에 따르면, 전자 장치는, 전자 장치는, eUSB(embedded universal serial bus) 기능을 수행하는 제1 eUSB 장치 및 상기 제1 eUSB 장치를 제어하는 프로세서를 포함하는 어플리케이션 프로세서; 및 상기 제1 eUSB 장치와 외부 장치 사이에 전기적으로 연결 가능한 리피터를 포함하며, 상기 프로세서는, 상기 외부 장치의 상기 전자 장치로의 연결(예: 결합)을 검출하기 위해 모니터링하고, 상기 외부 장치의 동작 속도와 관련된 모드를 확인하고, 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여 상기 제1 eUSB 장치와 상기 리피터 간에 HS(high speed) 모드로 신호를 송수신 하도록 제어하도록 구성된다.
다양한 실시 예에 따르면, 전자 장치의 동작 방법은, 외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터링하는 동작; 상기 외부 장치의 동작 속도와 관련된 모드를 확인하는 동작; 및 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여, 상기 전자 장치에 포함된 eUSB(embedded USB) 기능을 수행하는 제1 eUSB 장치, 및 상기 제1 eUSB 장치와 상기 외부 장치 사이에 전기적으로 연결 가능한 리피터 간에 HS(high speed) 모드로 신호를 송수신 하는 동작을 포함한다.
다양한 실시 예에 따르면, 방법은, 전자 장치에 의해, 상기 전자 장치의 커넥터에 포함된 확인 단말을 통한 외부 장치와의 연결을 검출하기 위해 모니터링하는 동작; 상기 외부 장치로부터, 특정 프로토콜 및 동기(SYNC) 패턴에 기반한 패턴을 가지는 신호를 수신하는 동작; 상기 외부 장치의 동작 속도와 관련된 모드가 FS(full speed) 모드 또는 LS(low speed) 모드 중 하나로 확인된 것에 대한 응답으로, 상기 전자 장치로부터 상기 외부 장치로, 상기 외부 장치의 모드에 대응되는 패턴을 가지는 SYNC 신호와 EOP(end-of-packet) 패턴을 수신하는 동작; 리셋 신호를 수신한 것에 대한 응답으로, 상기 전자 장치에 의해, eUSB(embedded USB) 장치가 상기 HS 모드로 동작하도록 동작 모드를 구성하는 동작; 상기 전자 장치에 의해, 수신된 HS 모드 신호를 FS 모드 신호 또는 LS 모드 신호로 전환하는 동작; 및 상기 전자 장치에 의해 상기 FS 모드 신호 또는 상기 LS 모드 신호를 상기 외부 장치로 전송하는 동작을 포함한다.
다양한 실시 예에 따르면, 전자 장치에서 eUSB 장치와 USB 리피터 간에 데이터를 HS 모드로 송수신하도록 함으로써 전자 장치에 포함되는 회로를 간소화할 수 있다.
다양한 실시 예에 따르면, 전자 장치에서 eUSB 장치와 USB 리피터 간에 데이터를 HS 모드로 송수신하도록 함으로써 전자 장치에서의 불필요한 소모 전류를 줄일 수 있다.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시 예에 따른 다양한 실시 예에 따른 커넥터를 통해 외부 장치와 연결되는 전자 장치의 내부 블록 구성을 도시한 도면이다.
도 3a는 eUSB2 규격에 규정되어 있는 일반적인 eUSB2 장치의 물리적 회로 구성을 도시한 도면이다.
도 3b는 일 실시 예에 따라 FS/LS 송수신부(320)가 생략된 어플리케이션 (AP) 프로세서에 포함된 eUSB 장치 와 리피터 내의 eUSB2 장치의 회로 구성을 도시한 도면이다.
도 4는 다양한 실시 예에 따른 전자 장치의 USB 리피터의 구성을 도시한 도면이다.
도 5은 다양한 실시 예에 따른 전자 장치에서의 동작 방법을 나타내는 흐름도이다.
도 6은 다양한 실시 예에 따른 전자 장치에서의 상세 동작 방법을 나타내는 흐름도이다.
도 7은 다양한 실시 예에 따른 전자 장치에서의 상세 동작 방법을 나타내는 흐름도이다.
도 8는 다양한 실시 예에 따른 전자 장치에서 HS 모드로 전송되는 신호의 전송 구간을 도시한 도면이다.
도 9는 다양한 실시 예에 따른 전자 장치에서 HS/FS/LS 모드로 신호가 전송되는 전송 구간과 그에 따른 전력 효율을 비교한 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2는 다양한 실시 예에 따른 커넥터를 통해 외부 장치(202)와 연결되는 전자 장치(201)의 내부 블록 구성을 도시한 도면이다.
도 2를 참조하면, 전자 장치(201)는 어플리케이션(AP) 프로세서(210), 리피터(220), 식별회로(230), 메모리(250)(예를 들면, 도 1의 메모리(130)), 및 외부 장치(202)의 커넥터(270)와 연결 가능하도록 하는 커넥터(260)(예를 들면, 도 1의 연결 단자(178))를 포함할 수 있다.
일 실시 예에 따르면, 외부 장치(202)는 USB 장치(280)를 포함하며, USB 장치(280)는 USB2 프로토콜에 따라 동작하는 USB2 장치(281) 및 USB2 장치(281)를 제어하는 제어기(282)를 포함하여 구성될 수 있다.
일 실시 예에 따르면, 커넥터(260, 270)는 장치 내외로 전력을 전달하거나 아날로그 및/혹은 디지털 데이터를 전달할 수 있다. 다양한 실시 예에 따르면, 커넥터(260, 270)는 USB 타입 C(type-C)를 지원하는 커넥터일 수 있고, 전자 장치(201) 및 외부 장치(202)는 USB 타입 C 커넥터(260, 270)를 통해 데이터를 상호 간에 전달할 수 있다. 다양한 실시 예에 따르면, 커넥터(260, 270)는 USB 타입 A, USB 타입 B, 및/또는 이들의 조합 및/또는 복수를 포함하는, USB 타입 C 이외의 것일 수 있다.
다양한 실시 예에 따르면, 전자 장치(201)는, 커넥터(260)를 통해 외부 장치(202)의 커넥터(270)가 연결됨에 따라 외부 장치(202)의 물리적인 연결을 인식할 수 있다. 일 실시 예에 따르면, 전자 장치(201)는, 커넥터(260)에 포함된 복수의 신호 핀들 중 적어도 하나의 핀, 예를 들면 식별 단자(예: CC(configuration channel) 핀)를 통해 수신되는 신호에 기반하여 식별회로(230)(예컨대, CC IC(integrated circuit))가 외부 장치(202)의 연결을 인식하고 외부 장치(202)를 식별할 수 있다. 일 실시 예에 따르면, USB 타입 C의 커넥터로 연결된 전자 장치(201) 및/또는 외부 장치(202)는, CC 핀을 통해 인식된 정보에 기반하여, 전자 장치(201) 및 외부 장치(202)의 역할을 결정할 수 있다. 일 실시 예에 따르면, 데이터 전송 측면에서 전자 장치(201) 및/또는 외부 장치(202)는 호스트(host) 장치 또는 클라이언트 장치로 동작할지를 결정할 수 있다. 즉, 전자 장치(201)를 호스트 장치라고 할 경우 외부 장치(202)는 클라이언트 장치라고 칭할 수 있으며, 그 반대의 경우도 가능하다. 또한 외부 장치(202)는 전자 장치의 커넥터(260)를 통해 접속 가능한 액세서리 장치라고 칭할 수도 있다. 예를 들어, 외부 장치는 오디오 출력 장치일 경우, 스피커, 헤드폰, 또는 이어폰에 해당할 수 있다.
일 실시 예에 따르면, 전자 장치(201)의 커넥터(260)를 통해 외부 장치(202)의 커넥터(270)가 연결되기 전에는, 전자 장치(201)의 식별 단자에 연결된 Rp(pull-up)/Rd(pull-down) 저항에 따라 하이(high)와 로우(low)(예: 0 V 또는 VCC 전압) 신호가 토글(toggle) 형태로 검출될 수 있다. 전자 장치(201)의 커넥터(260)를 통해 외부 장치(202)의 커넥터(270)가 연결되는 경우에는, 전자 장치(201)의 식별 단자를 통해 어느 한 장치에서는 하이 신호가 검출되며, 다른 장치에서는 로우 신호가 검출될 수 있다. 일 실시 예에 따르면, 커넥터(260)와 커넥터(270)가 연결되기 전까지는 토글 형태로 하이 또는 로우 신호가 출력되며, 연결된 후에는 호스트로 동작하는 전자 장치(201)는 CC 핀을 통해 낮은 전압 레벨이 유지되며, 클라이언트로 동작하는 외부 장치(202)의 경우에는 높은 전압 레벨이 유지될 수 있다. 이러한 상태는 분리(detach) 전까지 유지될 수 있으며, 커넥터(260)로부터 커넥터(270)가 분리될 때에는 다시 하이 또는 로우 신호가 반복되는 토글 형태로 신호가 검출될 수 있다.
AP 프로세서(210)는 프로세서(211)(예를 들면, 도 1의 프로세서(120)) 및 eUSB2 장치(212)를 포함하도록 구성될 수 있다. AP 프로세서(210)는 전자 장치(201)의 동작 및/또는 전자 장치(201)의 블록들 간 신호 흐름을 제어할 수 있고, 데이터를 처리하는 데이터 처리 기능을 수행할 수 있다. AP 프로세서(210)는 싱글 코어 프로세서(single core processor) 또는 멀티 코어 프로세서(multi-core processor)로 형성될 수 있다.
메모리(250)는 AP 프로세서(210)에 전기적으로 연결되며, 다양한 실시 예에 따른 데이터 송수신을 위한 다양한 정보 및 프로그램들을 저장할 수 있다. 예를 들어, 상기 프로그램은 커넥터(260)를 통한 외부 장치(202)의 연결을 감지하는 루틴, 상기 외부 장치(202)의 연결 시 외부 장치(202)의 종류를 식별하는 루틴, 식별된 외부 장치(202)에 대응하는 제반 동작을 수행하도록 셋팅하는 루틴 등을 포함할 수 있다.
eUSB 장치(212)는 eUSB2 프로토콜에 따른 동작을 수행하며, 로직을 가진 시스템 온 칩(system on chip; SoC) 형태로 구성될 수 있다. eUSB 장치(212)는 리피터(220)와 eUSB2 프로토콜에 기반하여 HS 모드로 신호를 송신 및/또는 수신할 수 있다. eUSB 장치(212)는 리피터(220)를 통해 외부 장치(202)의 동기(SYNC) 신호를 수신하고 외부 장치(202)의 동작 모드가 HS 모드인지 또는 FS/LS 모드인지 확인할 수 있다. 외부 장치(202)의 동작 모드에 따라 각각 다른 패턴의 SYNC 신호가 전송되며, 따라서 전자 장치(201)는 외부 장치(202)로부터 수신된 SYNC 신호의 패턴에 기반하여 외부 장치(202)의 동작 모드를 판단할 수 있다. 외부 장치(202)가 HS 모드로 동작한다고 판단된 경우에 eUSB 장치(212)는 eUSB2 규격에 따라 동작할 수 있으며, 외부 장치(202)가 FS 모드 또는 LS 모드로 동작한다고 판단되는 경우에는 eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 외부 장치(202)의 동작 모드에 대응되는 패턴의 SYNC 신호와 EOP(end-of-packet) 패턴을 반복적으로 교환하며 규정된 동작 모드(speed mode)로 설정될 수 있다. 예를 들어, 외부 장치(202)가 FS 모드로 동작하는 경우, eD+는 일정한 전압을 유지한 상태에서 eD-는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송되고, 외부 장치(202)가 LS 모드로 동작하는 경우, eD-는 일정한 전압을 유지한 상태에서 eD+는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송될 수 있다.
eUSB 장치(212)는 리피터(220)의 eUSB2 장치(222)가 HS 모드로 동작하도록 하기 위한 제어 메시지를 전송하고 eUSB 장치(212)의 동작 모드를 HS 모드로 설정할 수 있다. 예를 들어, 제어 메시지는 eUSB2 규격에 따른 CM.reset 메시지가 사용될 수 있다.
eUSB 장치(212)는 동작 모드가 HS 모드로 설정이 완료된 후 리피터(220)를 통해 외부 장치(202)와 FS/LS 모드 신호를 송신 및/또는 수신할 수 있다.
리피터(220)는 eUSB2 장치(222)와 USB2 장치(223), 및 eUSB2 장치(222)와 USB2 장치(223)를 제어하는 제어기(221)를 포함하며, eUSB2 프로토콜 신호와 USB2 프로토콜 신호 간의 변환을 수행할 수 있다. 일 실시예에 따르면, 리피터(220)는 eUSB 장치(212)로부터 수신되는 eUSB2의 HS 모드 데이터 신호(eD+/eD-)를 USB2 프로토콜을 따르는 FS/LS 모드 데이터 신호(D+/D-)로 변환하여 커넥터(260)를 통해 외부 장치(202)로 출력할 수 있다. 일 실시예에 따르면, 리피터(220)는 커넥터(260)를 통해 외부 장치(202)로 수신되는 USB2 FS/LS 모드 데이터 신호(D+/D-)를 eUSB2 HS 모드 데이터 신호(eD+/eD-)로 변환하여 eUSB 장치(212)로 전달할 수 있다.
리피터(220)는 외부 장치(202)와 동기(SYNC) 패턴 및 규정된 프로토콜에 기반한 패턴의 신호를 교환할 수 있다. 일 실시 예에 따르면, 외부 장치(202)로부터 입력되는 신호는 리피터(220)를 통해 eUSB 장치(212)로 전달될 수 있다. 외부 장치(202)의 동작 모드에 따라 각각 다른 패턴의 신호가 전송될 수 있다.
외부 장치(202)가 HS 모드로 동작한다고 판단된 경우에 전자 장치(201)는 eUSB2 규격에 따라 동작할 수 있으며, 외부 장치(202)의 동작 모드가 FS/LS 모드인 경우 eUSB 장치(212)를 통해 외부 장치(202)의 동작 모드에 대응되는 패턴의 신호와 EOP(end-of-packet) 신호를 수신하여 외부 장치(202)로 전달할 수 있다. 예를 들어, 외부 장치(202)가 FS 모드로 동작하는 경우, eD+는 일정한 전압을 유지한 상태에서 eD-는 정해진 패턴에 따라 토글 신호가 신호로 전송되고, 외부 장치(202)가 LS 모드로 동작하는 경우, eD-는 일정한 전압을 유지한 상태에서 eD+는 정해진 패턴에 따라 토글 신호가 신호로 전송될 수 있다.
일 실시 예에 따르면, eUSB 장치(212)에서 출력된 신호는 리피터(220)의 eUSB2 장치(222)에 입력되고, 리피터(220)는 eUSB2 장치(222)를 통해 수신된 신호를 리피터(220)의 USB2 장치(223)를 거쳐 외부 장치(202)로 전달할 수 있으며, 외부 장치(202)로부터 수신되는 신호를 USB2 장치(223)를 통해 수신하여 eUSB 장치(212)로 전달할 수 있다.
리피터(220)는 eUSB 장치(212)로부터 전송된 제어 메시지를 eUSB2 장치(222)를 통해 수신할 수 있다. 예를 들어, 제어 메시지는 eUSB2 규격에 따른 CM.reset 메시지가 사용될 수 있다. CM.reset 메시지를 수신한 후 리피터(220)의 eUSB2 장치(222)는 HS 모드로 재설정될 수 있다. 일 실시 예에 따르면, 리피터(220)의 USB2 장치(223)의 동작 모드는 외부 장치(202)의 동작 모드와 동일하게 유지될 수 있다.
리피터(220)는 동작 모드가 HS 모드로 설정이 완료된 후 eUSB 장치(212)로부터 수신되는 HS 모드 신호를 리피터(220)의 eUSB2 장치(222)에서 수신하고, UTMI(USB transceiver macrocell interface)+ 프로토콜에 기반하여 USB2 장치(223)로 해당 데이터를 전달하며, 제어기(221)에서 해당 데이터를 FS/LS 모드에 맞게 변경하도록 제어할 수 있다. 리피터(220)는 변환된 FS/LS 모드 신호를 USB2 장치(223)를 통해 외부 장치(202)로 전송할 수 있다.
다양한 실시 예에 따르면, eUSB 장치(212), 리피터(220), 식별 회로(230) 및 프로세서(211)는 하나의 IC 칩으로 구현될 수 있고, 상기 구성들 중 적어도 일부는 별도의 IC 칩으로 구성될 수 있다.
다양한 실시 예에 따르면, 전자 장치(201)는, 프로세서(예: 프로세서(211)) 및 프로세서와 전기적으로 연결된 메모리(250)를 포함하고, 메모리(250)는, 실행 시에 프로세서가, 식별 단자를 통해 외부 장치(202)와의 연결을 검출하기 위해 모니터링하고, 외부 장치(202)가 연결되고 FS/LS 모드로 동작하는 것으로 판단되며, USB 장치(212)와 리피터(220) 간에 HS 모드로 신호를 송신 및/또는 수신하도록 하기 위한 인스트럭션들을 저장할 수 있다.
다양한 실시 예에 따르면, 인스트럭션들은, 프로세서가, 커넥터에 포함된 식별 단자를 통해 외부 장치(202)와의 연결을 감지한 후에 하이 또는 로우로 신호가 고정된 상태에서 토글링에 따른 로우 또는 하이 신호가 검출되는지를 식별함으로써 외부 장치(202)와의 연결을 검출하기 위해 모니터링 하도록 설정될 수 있다.
다양한 실시 예에 따르면, 인스트럭션들은, 프로세서가, 외부 장치(202)로부터 입력되는 신호를 수신하고 외부 장치(202)의 동작 모드가 HS 모드인지 또는 FS/LS 모드인지 확인하도록 설정될 수 있다.
다양한 실시 예에 따르면, 인스트럭션들은, 프로세서가, 외부 장치(202)의 동작 모드가 FS/LS 모드임을 확인하고 외부 장치(202)의 동작 모드에 대응되는 패턴의 SYNC 신호와 EOP(end-of-packet) 신호를 전송하도록 설정될 수 있다.
다양한 실시 예에 따르면, 인스트럭션들은, 프로세서가, eUSB 장치(212) 및 리피터(220)의 eUSB2 장치(222)로 하여금, HS 모드로 동작하도록 하기 위한 제어 메시지를 전송하고, eUSB 장치(212) 및 리피터(220)의 eUSB2 장치(222)의 동작 모드를 HS 모드로 설정한 후 eUSB 장치(212) 및 리피터(220) 간에 HS 모드로 신호를 송수신하도록 설정될 수 있다.
다양한 실시 예에 따르면, 전자 장치의 상기 동작들의 적어도 일부는 프로그램 모듈(예: 펌웨어(firmware))의 형태로 저장 매체에 저장된 인스트럭션들로 구현될 수 있다.
한편, 전술한 바에서는 외부 장치(202)와의 연결을 검출하기 위해 모니터링하고, 외부 장치(202)의 동작 모드가 FS/LS 인 경우에 전자 장치(201) 내의 eUSB 장치(212)와 리피터(220) 간에 HS 모드로 신호를 송수신하도록 제어하는 주체가 프로세서(211)인 경우를 예로 들어 설명하였으나, 상기 동작을 제어하는 주체는 프로세서(211)가 아닌 eUSB 장치(212) 내부에 포함된 제어기(도시하지 않음) 일 수 있다.
도 3a는 eUSB2 규격에 규정되어 있는 일반적인 eUSB2 장치의 물리적 회로(300)의 구성을 도시한 도면이다.
도 3a를 참조하면, 일반적인 eUSB2 장치의 물리적 회로(300)는 HS 모드의 신호를 송신 및/또는 수신하는 HS 송수신부(310), FS 모드/LS 모드의 신호를 송신 및/또는 수신하는 FS/LS 송수신부(320), 및 풀업/풀다운 저항(Rpd)을 포함하여 구성될 수 있다.
일 실시 예에 따르면, HS 송수신부(310)는 HS 모드 신호를 송신하는 HS 송신기(311), HS 모드 신호를 수신하는 HS 수신기(312), 및 수신되는 신호의 유효성을 판별하는 스켈치 검출기(squelch detector)(313)를 포함하여 구성될 수 있다.
eUSB2 규격에 규정된 내용에 따르면, 전자 장치(예: 전자 장치(201))에 연결된 외부 장치(예: 외부 장치(202))가 HS 모드로 동작하는 경우에는, 프로세서의 제어에 따라 HS 송수신부(310)가 동작하고, 외부 장치가 FS/LS 모드로 동작하는 경우에는 프로세서의 제어에 따라 FS/LS 송수신부(310)가 동작할 수 있다.
eUSB2 규격에서는 외부 장치가 FS/LS 모드로 동작하는 경우에는, eUSB2 장치와 리피터 간에 eUSB2 프로토콜에 따라 HS 모드로 신호를 송신 및/또는 수신하지 않고 USB2 프로토콜에 따라 FS/LS 모드로 신호를 송신 및/또는 수신하도록 규정하고 있다. 그런데 외부 장치의 동작 속도와 무관하게 eUSB2 장치와 리피터 간에는 eUSB2 프로토콜에 따라 HS 모드로 신호를 송신 및/또는 수신하도록 설정할 수 있다. 이 경우 도 3a의 AP 프로세서 내의 eUSB 장치와 리피터 내의 eUSB2 장치의 회로(300)의 구성에서 FS/LS 송수신부(320)가 동작하지 않아도 되므로 FS/LS 송수신부(320)를 생략하여 회로(300)의 구성을 간소화할 수 있다.
도 3b는 일 실시 예에 따른 eUSB 장치(212)와 리피터(220) 내의 eUSB2 장치(222)의 회로(301)의 구성을 도시한 도면이다.
도 3b를 참조하면, 일 실시 예에 따른 eUSB 장치(212)와 리피터(220) 내의 eUSB2 장치(222)는 도 3a의 FS/LS 송수신부(320)를 포함하지 않으며, HS 모드 신호를 송신 및/또는 수신하는 HS 송수신부(330)와 풀업/풀다운 저항(Rpd)으로 구성될 수 있다.
일 실시 예에 따르면, HS 송수신부(330)는 HS 송신기(331), HS 수신기(332), 및 스켈치 검출기(333)를 포함하도록 구성될 수 있다. 일 실시 예에 따르면, 외부 장치가 FS/LS 모드로 신호를 송신 및/또는 수신하더라도, 프로세서의 제어에 따라 AP 프로세서의 eUSB 장치와 리피터의 eUSB2 장치가 HS 송수신부(330)를 통해 HS 신호를 송신 및/또는 수신하도록 동작할 수 있다. 리피터의 USB2 장치는 도 3a와 같이 구성되고, 따라서 리피터의 USB2 장치에서 외부 장치로 출력되는 신호는 외부 장치의 동작 모드에 따라 HS 모드 또는 FS/LS 모드로 전송될 수 있다.
도 4는 다양한 실시 예에 따른 전자 장치(예: 전자 장치(201))의 리피터(220)의 구성을 도시한 도면이다.
도 4를 참조하면, 리피터(220)는 eUSB2 장치(421), USB2 장치(422), 및 제어기(423)를 포함하여 구성될 수 있다.
eUSB2 장치(421)는 eUSB 장치(예: 도 2의 eUSB 장치(212))와 연결되는 데이터 라인(eD+/eD-)에 통신 가능하도록 커플링 되며 eUSB2 프로토콜을 지원할 수 있다. 일 실시 예에 따르면 eUSB2 장치(421)의 회로는 도 3b와 같이 FS/LS 송수신부를 포함하지 않고 HS 송수신부와 풀업/풀다운 저항을 포함하도록 구성될 수 있다.
USB2 장치(422)는 외부 장치와 연결되는 데이터 라인(D+/D-)에 통신 가능하도록 커플링 되며 USB2 프로토콜을 지원할 수 있다.
제어기(423)는 eUSB 장치(212)로부터 데이터 라인(eD+/eD-)을 통해 입력되는 제어 신호에 따라 eUSB2 장치(421)와 USB2 장치(422)의 동작을 제어할 수 있다. 일 실시 예에 따르면, 제어기(423)는 eUSB 장치(212)로부터 입력되는 프로토콜 메시지에 기반하여 eUSB2 장치(421)의 동작모드를 HS 모드로 설정할 수 있고, eUSB2 장치(421)를 통해 입력되는 HS 모드 신호를 외부 장치의 동작 모드에 대응되는 FS/LS 모드로 변환하도록 eUSB2 장치(421)를 제어할 수 있다. 일 실시 예에 따르면, 제어기(423)는 USB2 장치(422)를 통해 외부 장치로부터 입력되는 FS/LS 모드 신호를 HS 모드 신호로 변환하여 eUSB2 장치(421)를 통해 eUSB2 장치(212)로 전송할 수 있다.
일 실시 예에 따르면, eUSB2 장치(421)와 USB2 장치(422)는 UTMI+ 프로토콜에 기반하여 신호를 송신 및/또는 수신하도록 구성될 수 있다. 일 실시 예에 따르면, UTMI+ 프로토콜에 기반하여, 제어부(423)의 제어에 따라 eUSB2 장치(421)로부터 수신되는 eUSB2 신호는 USB2 신호로 변환되어 USB2 장치(422)로 전달되고, USB2 장치(422)로부터 수신되는 USB2 신호는 eUSB2 신호로 변환되어 eUSB2 장치(421)로 전달될 수 있다.
다양한 실시 예에 따르면, 전자 장치(201)는, eUSB(embedded universal serial bus) 기능을 수행하는 제1 eUSB 장치 및 상기 제1 eUSB 장치를 제어하는 프로세서를 포함하는 어플리케이션 프로세서; 및 상기 제1 eUSB 장치와 외부 장치 사이에 전기적으로 연결 가능한 리피터를 포함하며, 상기 프로세서는, 상기 외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터링하고, 상기 외부 장치의 동작 속도와 관련된 모드를 확인하고, 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여 상기 제1 eUSB 장치와 상기 리피터 간에 HS(high speed) 모드로 신호를 송수신 하도록 제어하도록 구성된다.
다양한 실시 예에 따르면, 상기 리피터는 상기 제1 eUSB 장치와 연결되는 제2 eUSB 장치 및 상기 외부 장치와 연결되는 USB 장치를 포함하며, 상기 프로세서는, 상기 제1 eUSB 장치와 상기 제2 eUSB 장치 간에는 상기 HS 모드로 신호를 송신 및/또는 수신 하고, 상기 USB 장치와 상기 외부 장치 간에는, 상기 확인된 FS 모드 또는 LS 모드로 신호를 송신 및/또는 수신 하도록 구성된다.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하여 상기 외부 장치로 전송하며, 상기 확인된 FS 모드 또는 LS 모드에 기반하여 상기 외부 장치로부터 수신되는 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하도록 상기 리피터를 제어하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 프로세서는, UTMI(USB transceiver macrocell interface)+ 프로토콜에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하고, 상기 외부 장치로부터 수신되는 상기 FS 모드 또는 LS 모드의 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하도록 상기 리피터를 제어하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 USB 장치는 상기 FS 모드 또는 상기 LS 모드 신호를 송신 및/또는 수신하는 제1 송수신부 및 상기 HS 모드 신호를 송신 및/또는 수신하는 제2 송수신부를 포함하며, 상기 제1 eUSB 장치 와 상기 제2 eUSB 장치 각각은, 상기 제1 송수신부를 포함하지 않고, 상기 제2 송수신부를 포함하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 모드가 상기 FS 모드 또는 상기 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제2 송수신부를 이용하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 프로세서가, 상기 외부 장치로부터 수신되는 동기 신호의 패턴에 기반하여 상기 외부 장치의 동작 속도와 관련된 모드를 확인하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 모드가 FS 모드 또는 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치와 상기 리피터로 미리 약속된 제어 메시지를 전송하여 상기 제1 eUSB 장치와 상기 리피터 간에 상기 HS 모드로 신호를 송수신 하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 HS 모드는, 데이터가 전송되는 제1 구간 동안 데이터를 전송하고, 상기 제1 구간을 제외한 나머지 구간 동안에는 전력 절약 모드로 동작하는 모드일 수 있다.
도 5은 다양한 실시 예에 따른 전자 장치(예: 전자 장치(201))에서의 동작의 방법(500)를 나타내는 흐름도이다.
도 5를 참조하면, 상기 방법(500)은 501 동작 내지 517 동작을 포함할 수 있다. 도 5의 상기 방법(500)의 각 동작은, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201)), 전자 장치의 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211)) 중 적어도 하나) 또는 eUSB 장치(예: 도 2의 212) 내부에 포함된 제어기(도시하지 않음) 및 리피터(예: 도 2 및 도 4의 220)에 포함된 제어기(423)의 제어에 의해 수행될 수 있다.
501 동작에서, 전자 장치(201)는 전자 장치(201)의 커넥터에 포함된 식별 단자를 통해 외부 장치(202)와의 연결을 검출하기 위해 모니터링할 수 있다. 일 실시 예에 따르면, 전자 장치(201)는 외부 장치(202)와의 연결을 감지한 후에 하이 또는 로우로 신호가 고정된 상태에서 토글링에 따른 로우 또는 하이 신호가 검출되는지를 식별함으로써 외부 장치(202)와의 연결을 모니터링할 수 있다.
503 동작에서, 전자 장치(201)는 외부 장치(202)로부터 입력되는 동기(SYNC) 패턴 및 규정된 프로토콜에 기반한 패턴의 신호를 수신하고 외부 장치(202)의 동작 모드가 HS 모드인지 또는 FS/LS 모드인지 확인할 수 있다. 일 실시 예에 따르면, 외부 장치(202)로부터 입력되는 신호는 리피터(220)를 통해 eUSB 장치(212)로 전달될 수 있다. 외부 장치(202)의 동작 모드에 따라 각각 다른 패턴의 신호가 전송되며, 따라서 전자 장치(201)는 외부 장치(202)로부터 수신된 신호의 패턴에 기반하여 외부 장치(202)의 동작 모드를 판단할 수 있다.
외부 장치(202)가 HS 모드로 동작한다고 판단된 경우에 전자 장치(201)는 eUSB2 규격에 따라 동작할 수 있으며, 따라서 이하에서, 본 개시의 예시적 실시예들은 외부 장치(202)가 FS 모드 또는 LS 모드로 동작하는 것을 가정하여 설명하기로 한다.
505 동작에서, 외부 장치(202)의 동작 모드가 FS/LS 모드임을 확인한 전자 장치(201)는 eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 외부 장치(202)의 동작 모드에 대응되는 패턴의 SYNC 신호와 EOP(end-of-packet) 패턴을 반복적으로 교환하며 규정된 동작 모드(speed mode)로 설정될 수 있다. 예를 들어, 외부 장치(202)가 FS 모드로 동작하는 경우, eD+는 일정한 전압을 유지한 상태에서 eD-는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송되고, 외부 장치(202)가 LS 모드로 동작하는 경우, eD-는 일정한 전압을 유지한 상태에서 eD+는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송될 수 있다.
일 실시 예에 따르면, eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))에서 출력된 신호는 리피터(220)의 eUSB2 장치(421)에 입력되고 eUSB2 장치(421)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 리피터(220)의 USB2 장치(422)로 전달될 수 있다.
507 동작에서, 전자 장치(201)는 리피터(220)의 eUSB2 장치(421)의 FS/LS 송수신부(예: 도 3a의 FS/LS 송수신부(320))를 통해 FS/LS 모드로 전송되는 신호를 외부 장치(202)로 전달하고, 외부 장치(202)로부터 수신되는 신호를 수신할 수 있다. 일 실시 예에 따르면, 상기 신호는 각각의 USB 동작 속도에 따른 동작 모드(Speed mode)별 프로토콜 규격에 따라 정해진 동기 패턴 및 SOP(start-of-packet)/EOP 등을 포함할 수 있다.
509 동작에서, 전자 장치(201)는 eUSB 장치(212)로부터 리피터(220)의 eUSB2 장치(421)로, HS 모드로 동작하도록 하기 위한 제어 메시지를 전송할 수 있다. 예를 들어, 제어 메시지는 eUSB2 규격에 따른 CM.reset 메시지가 사용될 수 있다. 전자 장치(201)는 CM.reset 메시지가 전송된 후 eUSB 장치(212)와 리피터(220)의 eUSB2 장치(421)의 동작 모드를 HS 모드로 설정할 수 있다. 일 실시 예에 따르면 리피터(220)의 USB2 장치(422)의 동작 모드는 외부 장치(202)의 동작 모드와 동일하게 유지될 수 있다.
511 동작에서, 동작 모드가 HS 모드로 설정이 완료된 후 리피터(220)의 eUSB2 장치(421)로부터 eUSB 장치(212)로 HS 모드 신호가 전송될 수 있다.
513 동작 내지 517 동작에서, 전자 장치(201)는 외부 장치(202)와 FS/LS 모드 신호를 송신 및/또는 수신할 수 있다. 구체적으로, 513 동작에서 eUSB 장치(212)는 HS 모드의 신호를 리피터(220)의 eUSB2 장치(421)로 전송할 수 있다. 515 동작에서 리피터(220)는 UTMI+ 프로토콜에 기반하여 eUSB2 장치(421)로 입력된 HS 모드 신호를 FS/LS 모드로 변환하여 USB2 장치(422)로 전송할 수 있다. 517 동작에서 리피터(220)는 변환된 FS/LS 모드 신호를 USB2 장치(422)로부터 외부 장치(202)로 전송할 수 있다.
도 6은 다양한 실시 예에 따른 전자 장치(201)의 동작 방법(600)를 도시한 흐름도이다.
다양한 실시 예에 따르면, 전자 장치(201)는 eUSB2 프로토콜을 지원함에 따라 HS/FS/LS 모드로 동작 가능하며, 전자 장치(201)에 연결되는 외부 장치(202)는 HS 모드 또는 FS/LS 모드로 동작할 수 있다. 도 6에서는 외부 장치(202)가 FS/LS 모드로 동작하는 경우에 eUSB 장치(212)의 동작 방법(600)을 예로 들어 설명하기로 한다.
방법(600)은 601 동작 내지 613 동작을 포함할 수 있다. 도 6의 방법(600)의 각 동작은, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201)), 전자 장치의 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211)) 중 적어도 하나) 또는 eUSB 장치(예: 도 2의 212) 내부에 포함된 제어기(도시하지 않음)의 제어에 의해 eUSB 장치(도 2의 212)에서 수행될 수 있다.
601 동작에서, 전자 장치(201)는 외부 장치(202)와의 연결을 모니터링할 수 있다. 일 실시 예에 따르면, 전자 장치(201)는 외부 장치(202)와의 연결을 감지한 후에 하이 또는 로우로 신호가 고정된 상태에서 토글링에 따른 로우 또는 하이 신호가 검출되는지를 식별함으로써 외부 장치(202)와의 연결을 모니터링할 수 있다.
603 동작에서, 전자 장치(201)는 외부 장치(202)로부터 입력되는 동기(SYNC) 패턴 및 규정된 프로토콜에 기반한 패턴의 신호를 수신하고 605 동작에서 외부 장치(202)의 동작 모드가 HS 모드인지 또는 FS/LS 모드인지 확인할 수 있다. 일 실시 예에 따르면, 외부 장치(202)로부터 입력되는 신호는 리피터(도 2의 220)를 통해 eUSB 장치(도 2의 212)로 전달될 수 있다. 외부 장치(202)의 동작 모드에 따라 각각 다른 패턴의 신호가 전송되며, 따라서 전자 장치(201)는 외부 장치(202)로부터 수신된 신호의 패턴에 기반하여 외부 장치(202)의 동작 모드를 판단할 수 있다.
외부 장치(202)가 HS 모드로 동작한다고 판단된 경우에는, 전자 장치(201)는 eUSB2 규격에 따라 동작할 수 있으며, 도 6에서는 외부 장치(202)가 FS 모드 또는 LS 모드로 동작하는 것을 가정하여 설명하기로 한다.
607 동작에서, 외부 장치(202)의 동작 모드가 FS/LS 모드임을 확인한 전자 장치(201)는 eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 외부 장치(202)의 동작 모드에 대응되는 패턴의 SYNC 신호와 EOP(end-of-packet) 패턴을 반복적으로 교환하며 규정된 동작 모드(speed mode)로 설정될 수 있다. 예를 들어, 외부 장치(202)가 FS 모드로 동작하는 경우, eD+는 일정한 전압을 유지한 상태에서 eD-는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송되고, 외부 장치(202)가 LS 모드로 동작하는 경우, eD-는 일정한 전압을 유지한 상태에서 eD+는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송될 수 있다.
609 동작에서, 전자 장치(201)는 리피터(220)의 eUSB2 장치(222)가 HS 모드로 동작하도록 하기 위한 제어 메시지를 전송할 수 있다. 예를 들어, 제어 메시지는 eUSB2 규격에 따른 CM.reset 메시지가 사용될 수 있다.
611 동작에서, 전자 장치(201)는 CM.reset 메시지가 전송된 후 eUSB 장치(212)와 리피터(220)의 eUSB2 장치(222)의 동작 모드를 HS 모드로 설정할 수 있다.
613 동작에서, 동작 모드가 HS 모드로 설정이 완료된 후 전자 장치(201)는 리피터(220)를 통해 외부 장치(202)와 FS/LS 모드 신호를 송신 및/또는 수신할 수 있다.
도 7은 다양한 실시 예에 따른 전자 장치에서의 동작 방법(700)을 나타낸 흐름도이다.
다양한 실시 예에 따르면, 전자 장치(201)는 eUSB2 프로토콜을 지원함에 따라 HS/FS/LS 모드로 동작 가능하며, 전자 장치(201)에 연결되는 외부 장치(202)는 HS 모드 또는 FS/LS 모드로 동작할 수 있다. 도 7에서는 외부 장치(202)가 FS/LS 모드로 동작하는 경우에 리피터(220)의 동작을 예로 들어 설명하기로 한다.
방법(700)은 701 동작 내지 711 동작을 포함할 수 있다. 도 7의 방법(700)의 각 동작은, 전자 장치(예: 도 1의 전자 장치(101), 도 2의 전자 장치(201)), 전자 장치의 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 2의 프로세서(211)) 중 적어도 하나) 또는 리피터(예: 도 2 및 도 4의 220)에 포함된 제어기(예: 도 2의 221 및 도 4의 423)의 제어에 의해 리피터(210)에서 수행될 수 있다.
701 동작에서, 전자 장치(201)는 전자 장치(201)의 커넥터에 포함된 식별 단자를 통해 외부 장치(202)와의 연결을 검출하기 위해 모니터링할 수 있다. 일 실시 예에 따르면, 전자 장치(201)는 외부 장치(202)와의 연결을 감지한 후에 하이 또는 로우로 신호가 고정된 상태에서 토글링에 따른 로우 또는 하이 신호가 검출되는지를 식별함으로써 외부 장치(202)와의 연결을 모니터링할 수 있다.
703 동작에서, 전자 장치(201)는 외부 장치(202)로부터 입력되는 동기(SYNC) 패턴 및 규정된 프로토콜에 기반한 패턴의 신호를 수신할 수 있다. 일 실시 예에 따르면, 외부 장치(202)로부터 입력되는 동기 신호는 리피터(220)를 통해 eUSB 장치(212)로 전달될 수 있다. 외부 장치(202)의 동작 모드에 따라 각각 다른 패턴의 신호가 전송되며, 따라서 전자 장치(201)는 외부 장치(202)로부터 수신된 신호의 패턴에 기반하여 외부 장치(202)의 동작 모드를 판단할 수 있다.
외부 장치(202)가 HS 모드로 동작한다고 판단된 경우에 전자 장치(201)는 eUSB2 규격에 따라 동작할 수 있으며, 따라서 이하에서, 본 개시의 예시적 실시예들은 외부 장치(202)가 FS 모드 또는 LS 모드로 동작하는 것을 가정하여 설명하기로 한다.
705 동작에서, 외부 장치(202)의 동작 모드가 FS/LS 모드임을 확인된 상태에서 전자 장치(201)는 eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 외부 장치(202)의 동작 모드에 대응되는 패턴의 SYNC 신호와 EOP(end-of-packet) 패턴을 리피터(220)로 전송하며, 리피터(220)는 이 신호를 수신하여 외부 장치(202)로 전달할 수 있다. 예를 들어, 외부 장치(202)가 FS 모드로 동작하는 경우, eD+는 일정한 전압을 유지한 상태에서 eD-는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송되고, 외부 장치(202)가 LS 모드로 동작하는 경우, eD-는 일정한 전압을 유지한 상태에서 eD+는 정해진 패턴에 따라 토글 신호가 SYNC 신호로 전송될 수 있다.
일 실시 예에 따르면, eUSB 장치(212)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))에서 출력된 신호는 리피터(220)의 eUSB2 장치(421)에 입력되고 리피터(220)는 eUSB2 장치(421)의 HS 송수신부(예: 도 3b의 HS 송수신부(330))를 통해 수신된 SYNC 신호를 리피터(220)의 USB2 장치(422)를 거쳐 외부 장치(202)로 전달하고, 외부 장치(202)로부터 수신되는 신호를 수신할 수 있다. 일 실시 예에 따르면, 상기 신호는 각각의 USB 동작 속도에 따른 동작 모드(Speed mode)별 프로토콜 규격에 따라 정해진 동기 패턴 및 SOP/EOP 등을 포함할 수 있다.
707 동작에서, 전자 장치(201)는 eUSB 장치(212)로부터 전송된 CM.reset 메시지를 리피터(220)의 eUSB2 장치(421)에서 수신할 수 있다. 예를 들어, 제어 메시지는 eUSB2 규격에 따른 CM.reset 메시지가 사용될 수 있다. 전자 장치(201)는 CM.reset 메시지를 수신한 후 리피터(220)의 eUSB2 장치(421)의 동작 모드를 HS 모드로 설정할 수 있다. 일 실시 예에 따르면 리피터(220)의 USB2 장치의 동작 모드는 외부 장치(202)의 동작 모드와 동일하게 유지될 수 있다.
709 동작에서, 동작 모드가 HS 모드로 설정이 완료된 후 전자 장치(201)는 eUSB 장치(212)로부터 수신되는 HS 모드 신호를 리피터(220)의 eUSB2 장치(421)에서 수신하고, UTMI+ 프로토콜에 기반하여 수신한 데이터를 USB2 장치(422)로 전달하며, 제어기(423)에서 해당 데이터를 FS/LS 모드로 변경할 수 있다.
711 동작에서, 전자 장치(201)는 변환된 FS/LS 모드 신호를 USB2 장치(422)를 통해 외부 장치(202)로 전송할 수 있다.
도 8는 다양한 실시 예에 따른 전자 장치에서 HS 모드로 전송되는 신호의 전송 구간(800)을 도시한 도면이다.
일 실시 예에 따르면, 전자 장치는 외부 장치와 연결되는 리피터의 USB2 포트의 동작 모드는 외부 장치의 동작 모드에 따라 FS/LS 모드로 유지한 상태에서, AP 프로세서의 eUSB 장치와 연결되는 리피터의 eUSB2 장치의 동작 모드를 HS 모드로 변경할 수 있다. 이에 따라 도 8에 도시한 바와 같이 약 8ms의 전송 구간 중 약 125 us 동안에 데이터를 전송하는 활성 상태(예를 들어, L0 state)로 동작하고, 데이터를 전송한 이후에 SOF(start of frame)를 전송하는 일부 시간을 제외한 나머지 구간 동안에는 전력 절약 모드인 LPM(link power management)-L1, L2 모드를 유지함으로써 전력 효율을 증대시킬 수 있다.
도 9는 다양한 실시 예에 따른 전자 장치에서 HS/FS/LS 모드로 신호가 전송되는 전송 구간(900)과 그에 따른 전력 효율을 비교한 도면이다. 도 9에서는 외부 장치가 FS 모드로 동작하는 것을 가정하여 설명한다.
도 9에서 (a)는 종래 기술에 따라 전자 장치의 eUSB 장치와 리피터 간에 FS 모드로 신호가 전송되는 경우를 도시한 것이고, (b)는 전자 장치의 eUSB 장치와 리피터 간에 HS 모드로 신호가 전송되지만 슬립모드인 LPM-L1 모드가 적용되지 않는 경우를 도시한 것이며, (c)는 본 개시에 따라 HS 모드로 신호가 전송되면서 LPM-L1 모드가 적용되는 경우를 도시한 것이다.
도 9에 도시한 바와 같이, (a)는 약 8ms의 전송 구간에 걸쳐서 지속적으로 데이터가 전송되며, (b)는 약 1ms 마다 주기적으로 약 125 us동안 데이터가 전송되고, (c)는 본 개시의 일 실시 예에 따라 약 8ms 중 약 125us 동안에만 데이터가 전송되고 전송구간 중 대부분의 구간 동안 LPM-L1/L2 모드를 유지할 수 있다. 이에 따라 (c)의 경우 (a) 대비 약 90프로의 전력 효율 개선 효과를 얻을 수 있다.
다양한 실시 예에 따르면, 전자 장치(201)의 동작 방법은, 외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터하는 동작; 상기 외부 장치의 동작 속도와 관련된 모드를 확인하는 동작; 및 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여, 상기 전자 장치에 포함된 eUSB(embedded USB) 기능을 수행하는 제1 eUSB 장치, 및 상기 제1 eUSB 장치와 상기 외부 장치 사이에 전기적으로 연결 가능한 리피터 간에 HS(high speed) 모드로 신호를 송수신 하는 동작을 포함한다.
다양한 실시 예에 따르면, 상기 리피터는 상기 제1 eUSB 장치와 연결되는 제2 eUSB 장치 및 상기 외부 장치와 연결되는 USB 장치를 포함하며, 상기 제1 eUSB 장치와 상기 제2 eUSB 장치 간에는 상기 HS 모드로 신호를 송신 및/또는 수신 하고, 상기 USB 장치와 상기 외부 장치 간에는, 상기 확인된 FS 모드 또는 LS 모드로 신호를 송신 및/또는 수신 할 수 있다.
다양한 실시 예에 따르면, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하여 상기 외부 장치로 전송하는 동작; 및 상기 확인된 FS 모드 또는 LS 모드에 기반하여 상기 외부 장치로부터 수신되는 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하는 동작을 더 포함할 수 있다.
다양한 실시 예에 따르면, UTMI(USB transceiver macrocell interface)+ 프로토콜에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하고, 상기 외부 장치로부터 수신되는 상기 FS 모드 또는 LS 모드의 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달할 수 있다.
다양한 실시 예에 따르면, 상기 USB 장치는 상기 FS 모드 또는 상기 LS 모드 신호를 송수신하는 제1 송수신부 및 상기 HS 모드 신호를 송수신하는 제2 송수신부를 포함하며, 상기 제1 eUSB 장치와 상기 제2 eUSB 장치 각각은, 상기 제1 송수신부를 포함하지 않고, 상기 제2 송수신부를 포함하도록 구성될 수 있다.
다양한 실시 예에 따르면, 상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하는 동작을 포함할 수 있다.
다양한 실시 예에 따르면, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하는 동작은, 상기 제2 송수신부를 이용하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송할 수 있다.
다양한 실시 예에 따르면, 상기 외부 장치의 동작 속도와 관련된 모드를 확인하는 동작은, 상기 외부 장치로부터 수신되는 동기 신호의 패턴에 기반하여 상기 외부 장치의 동작 속도를 확인할 수 있다.
다양한 실시 예에 따르면, 상기 HS 모드로 신호를 송수신하는 동작은, 상기 모드가 FS 모드 또는 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치와 상기 리피터로 미리 약속된 제어 메시지를 전송하여 상기 제1 eUSB 장치와 상기 리피터 간에 상기 HS 모드로 신호를 송수신 할 수 있다.
다양한 실시 예에 따르면, 상기 HS 모드는, 데이터가 전송되는 제1 구간 동안 데이터를 전송하고, 상기 제1 구간을 제외한 나머지 구간 동안에는 전력 절약 모드로 동작하는 모드일 수 있다.
이상에서 설명한 바와 같이 eUSB2 프로토콜을 지원하며 리피터가 적용되는 전자 장치에서, 외부 장치의 동작 모드와 관계 없이 eUSB SoC와 리피터의 eUSB2 포트 간에는 항상 HS 모드로 신호를 전송함으로써 전력 효율을 높일 수 있다. 또한 eUSB SoC와 리피터의 eUSB2 포트 간에는 항상 HS 모드로 신호를 전송함에 따라 eUSB SoC와 리피터의 eUSB2 포트 회로 구성에서 FS/LS 송수신부를 생략하여 회로를 간소화 할 수 있다.
본 발명의 하나 이상의 실시예가 첨부된 도면을 참조하여 설명되며, 여기서 다양한 실시예가 도시되어 있다. 단, 하나 이상의 실시예는 많은 상이한 형태로 구현될 수 있으며, 본 명세서에 기재된 실시예에 한정되는 것으로 해석되어서는 안 된다. 오히려, 이러한 실시예들은 본 개시가 철저하고 완전할 수 있도록 제공되는 것이며, 본 발명의 실시예의 범위를 당업자에게 충분히 전달할 것이다.
어떤 요소가 다른 요소에 "위에" 있다고 언급될 때, 그것은 다른 요소에 직접 있을 수 있거나 그들 사이에 개입된 요소가 존재할 수 있다는 것이 이해될 것이다. 반대로, 어떤 요소가 다른 요소에 "직접적"이라고 언급될 때, 간섭하는 요소는 존재하지 않는다.
본 명세서에서 사용되는 용어는 특정 실시예를 설명하기 위한 목적으로만 사용되는 것이지 제한적으로 의도된 것은 아니다. 본 명세서에서 사용되는 바와 같이, "하나의", "상기" 및 "적어도 하나"는 수량의 제한을 나타내지 않으며, 문맥이 명확하게 달리 나타내지 않는 한 단수 및 복수 모두를 포함하도록 의도된다. 예를 들어, "요소"는 문맥이 명확하게 다르게 나타내지 않는 한 "적어도 하나의 요소"와 같은 의미를 갖는다. "적어도 하나"는 "하나"를 제한하는 것으로 해석해서는 안 된다. "또는"은 "및/또는"을 의미한다. 본 명세서에서 사용되는 용어 "및/또는"은 하나 이상의 관련 열거된 항목의 임의의 및 모든 조합을 포함한다. 본 명세서에서 사용될 때 용어 "구성" 및/또는 "포함"은 명시된 특징, 영역, 정수, 단계, 동작, 요소 및/또는 구성요소의 존재를 명시하지만, 하나 이상의 다른 형상, 영역, 정수, 단계, 연산, 요소, 구성요소 및/또는 그룹의 존재 또는 추가를 배제하지 않는다.
또한, 도면에서 보는 바와 같이, 하나의 요소와 다른 요소의 관계를 설명하기 위해 본 명세서에서 "하부" 또는 "하부"와 "상부"와 같은 상대적 용어를 사용할 수 있다. 상대적인 용어는 도면에 표시된 방향 외에 장치의 다른 방향을 포함하도록 의도된 것으로 이해될 것이다. 예를 들어 도면 중 하나에 있는 장치가 뒤집힌 경우 다른 요소의 "하단" 쪽에 있는 것으로 기술된 요소는 다른 요소의 "상단" 쪽에 위치하게 된다. 따라서 "하부"라는 용어는 도면의 특정 방향에 따라 "하부"와 "상부"의 방향을 모두 포함할 수 있다. 마찬가지로, 도면 중 하나에 있는 기기가 뒤집히면 다른 요소의 "아래" 또는 "밑"으로 기술된 요소는 다른 요소의 "위" 방향으로 향할 것이다. 따라서 "아래" 또는 "밑"이라는 용어는 위와 아래의 방향을 모두 포함할 수 있다.
본 문서에 사용된 "대략" 또는 "약"은 해당 측정 및 특정 수량 측정과 관련된 오차(즉, 측정 시스템의 한계)를 고려하여 당업자의 통상적인 기술 중 하나에 의해 결정되는 특정 값에 대한 허용 가능한 편차 범위 내의 명시된 값 및 수단을 포함한다. 예를 들어, "대략"은 하나 이상의 표준 편차 내에서 또는 명시된 값의 ±30%, 20%, 10%, 5% 내에서 의미할 수 있다.
달리 정의되지 않는 한, 본 명세서에서 사용되는 모든 용어(기술 및 과학 용어 포함)는 본 개시가 속하는 기술 분야에서 통상의 기술 중 하나에 의해 일반적으로 이해되는 것과 동일한 의미를 갖는다. 일반적으로 사용되는 사전에서 정의되는 용어들과 같은 용어들은 관련 기술 및 본 발명의 맥락에서 그 의미와 일치하는 의미를 갖는 것으로 해석되어야 하며, 본 명세서에 명시적으로 정의되지 않는 한 이상화되거나 지나치게 형식적인 의미로 해석되지 않을 것이라는 것이 더욱 이해될 것이다.
실시예들은 이상화된 실시예들의 개략적인 예시인 단면도들을 참조하여 본 명세서에 설명된다. 따라서, 예를 들어, 제조 기술 및/또는 허용오차의 결과로서 도면의 형태로부터의 변화가 예상되어야 한다. 그러므로, 본 명세서에 설명된 실시예들은 본 명세서에 도시된 바와 같이 영역의 특정 형상에 한정되는 것으로 해석되어서는 안 되며, 예를 들어, 제조로부터 발생하는 형상의 편차를 포함하는 것으로 해석되어야 한다. 예를 들어 평면이라고 묘사되거나 묘사된 영역은 일반적으로 거칠거나 비선형적인 특징을 가질 수 있다. 또한, 예시된 예리한 각도는 둥글어질 수 있다. 그러므로, 도면에 도시된 영역들은 본질적으로 개략적이며, 그 형상은 영역의 정확한 형상을 설명하기 위한 것이 아니며, 본 청구범위를 제한하기 위한 것이 아니다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    eUSB(embedded universal serial bus) 기능을 수행하는 제1 eUSB 장치 및 상기 제1 eUSB 장치를 제어하는 프로세서를 포함하는 어플리케이션 프로세서; 및
    상기 제1 eUSB 장치와 외부 장치 사이에 전기적으로 연결 가능한 리피터를 포함하며,
    상기 프로세서는,
    상기 외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터링하고,
    상기 외부 장치의 동작 속도와 관련된 모드를 확인하고,
    상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여 상기 제1 eUSB 장치와 상기 리피터 간에 HS(high speed) 모드로 신호를 송수신 하도록 제어하도록 구성된 전자 장치.
  2. 제1항에 있어서,
    상기 리피터는 상기 제1 eUSB 장치와 연결되는 제2 eUSB 장치 및 상기 외부 장치와 연결 가능한 USB 장치를 포함하며,
    상기 프로세서는,
    상기 제1 eUSB 장치와 상기 제2 eUSB 장치 간에는 상기 HS 모드로 신호를 송수신 하고,
    상기 USB 장치와 상기 외부 장치 간에는, 상기 확인된 FS 모드 또는 LS 모드로 신호를 송수신 하도록 더 구성된 전자 장치.
  3. 제1항에 있어서, 상기 프로세서는,
    상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하여 상기 외부 장치로 전송하며,
    상기 확인된 FS 모드 또는 LS 모드에 기반하여 상기 외부 장치로부터 수신되는 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하도록 상기 리피터를 제어하고,
    UTMI(USB transceiver macrocell interface)+ 프로토콜에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하고, 상기 외부 장치로부터 수신되는 상기 FS 모드 또는 LS 모드의 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하도록 상기 리피터를 제어하도록 더 구성된 전자 장치.
  4. 제2항에 있어서,
    상기 USB 장치는 상기 FS 모드 또는 상기 LS 모드 신호를 송수신하는 제1 송수신부 및 상기 HS 모드 신호를 송수신하는 제2 송수신부를 포함하며,
    상기 제1 eUSB 장치 와 상기 제2 eUSB 장치 각각은,
    상기 제1 송수신부를 포함하지 않고, 상기 제2 송수신부를 포함하도록 구성되는 전자 장치.
  5. 제4항에 있어서, 상기 프로세서는,
    상기 모드가 상기 FS 모드 또는 상기 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하며,
    상기 제2 송수신부를 이용하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하도록 더 구성된 전자 장치.
  6. 제1항에 있어서, 상기 프로세서가,
    상기 외부 장치로부터 수신되는 동기 신호의 패턴에 기반하여 상기 외부 장치의 동작 속도와 관련된 모드를 확인하도록 더 구성된 전자 장치.
  7. 제1항에 있어서, 상기 프로세서는,
    상기 모드가 상기 FS 모드 또는 상기 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치와 상기 리피터로 미리 약속된 제어 메시지를 전송하여 상기 제1 eUSB 장치와 상기 리피터 간에 상기 HS 모드로 신호를 송수신 하도록 더 구성된 전자 장치.
  8. 제1항에 있어서, 상기 HS 모드는,
    데이터가 전송되는 제1 구간 동안 데이터를 전송하고, 상기 제1 구간을 제외한 나머지 구간 동안에는 전력 절약 모드로 동작하는 모드인 전자 장치.
  9. 전자 장치의 동작 방법에 있어서,
    외부 장치의 상기 전자 장치로의 연결을 검출하기 위해 모니터링하는 동작;
    상기 외부 장치의 동작 속도와 관련된 모드를 확인하는 동작; 및
    상기 모드가 FS(full speed) 모드 또는 LS(low speed) 모드로 확인된 것에 기반하여, 상기 전자 장치에 포함된 eUSB(embedded USB) 기능을 수행하는 제1 eUSB 장치, 및 상기 제1 eUSB 장치와 상기 외부 장치 사이에 전기적으로 연결 가능한 리피터 간에 HS(high speed) 모드로 신호를 송수신 하는 동작을 포함하는 방법.
  10. 제9항에 있어서,
    상기 리피터는 상기 제1 eUSB 장치와 연결되는 제2 eUSB 장치 및 상기 외부 장치와 연결 가능한 USB 장치를 포함하며,
    상기 제1 eUSB 장치와 상기 제2 eUSB 장치 간에는 상기 HS 모드로 신호를 송수신 하고,
    상기 USB 장치와 상기 외부 장치 간에는, 상기 확인된 FS 모드 또는 LS 모드로 신호를 송수신 하는 방법.
  11. 제9항에 있어서,
    상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하여 상기 외부 장치로 전송하는 동작; 및
    상기 확인된 FS 모드 또는 LS 모드에 기반하여 상기 외부 장치로부터 수신되는 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하는 동작을 더 포함하며,
    UTMI(USB transceiver macrocell interface)+ 프로토콜에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터로 전송되는 HS 모드 신호를, 상기 확인된 FS 모드 또는 LS 모드로 신호로 변환하고, 상기 외부 장치로부터 수신되는 상기 FS 모드 또는 모드의 신호를 상기 HS 모드 신호로 변환하여 상기 제1 eUSB 장치로 전달하는 방법.
  12. 제10항에 있어서,
    상기 USB 장치는 상기 FS 모드 또는 상기 LS 모드 신호를 송수신하는 제1 송수신부 및 상기 HS 모드 신호를 송수신하는 제2 송수신부를 포함하며,
    상기 제1 eUSB 장치와 상기 제2 eUSB 장치 각각은,
    상기 제1 송수신부를 포함하지 않고, 상기 제2 송수신부를 포함하도록 구성되는 방법.
  13. 제12항에 있어서,
    상기 모드가 상기 FS 모드 또는 상기 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하는 동작을 포함하며,
    상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하는 동작은,
    상기 제2 송수신부를 이용하여, 상기 제1 eUSB 장치로부터 상기 리피터를 통해 상기 외부 장치로, 상기 확인된 FS 모드 또는 LS 모드에 대응되는 동기 신호를 전송하도록 하는 방법.
  14. 제9항에 있어서,
    상기 외부 장치의 동작 속도와 관련된 모드를 확인하는 동작은,
    상기 외부 장치로부터 수신되는 동기 신호의 패턴에 기반하여 상기 외부 장치의 동작 속도를 확인하도록 하는 방법.
  15. 제9항에 있어서,
    상기 HS 모드로 신호를 송수신하는 동작은,
    상기 모드가 상기 FS 모드 또는 상기 LS 모드로 확인된 것에 기반하여, 상기 제1 eUSB 장치와 상기 리피터로 미리 약속된 제어 메시지를 전송하여 상기 제1 eUSB 장치와 상기 리피터 간에 상기 HS 모드로 신호를 송수신 하도록 하며, 상기 HS 모드는,
    데이터가 전송되는 제1 구간 동안 데이터를 전송하고, 상기 제1 구간을 제외한 나머지 구간 동안에는 전력 절약 모드로 동작하는 모드인 방법.
PCT/KR2022/011794 2021-09-29 2022-08-08 유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법 WO2023054886A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22876661.4A EP4318252A1 (en) 2021-09-29 2022-08-08 Electronic device for communicating with external device via usb interface and operation method thereof
US17/889,103 US12001378B2 (en) 2021-09-29 2022-08-16 Electronic device for communicating with external device through USB interface and operation method therefor

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0128506 2021-09-29
KR1020210128506A KR20230045792A (ko) 2021-09-29 2021-09-29 Usb 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/889,103 Continuation US12001378B2 (en) 2021-09-29 2022-08-16 Electronic device for communicating with external device through USB interface and operation method therefor

Publications (1)

Publication Number Publication Date
WO2023054886A1 true WO2023054886A1 (ko) 2023-04-06

Family

ID=85780829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/011794 WO2023054886A1 (ko) 2021-09-29 2022-08-08 유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법

Country Status (2)

Country Link
KR (1) KR20230045792A (ko)
WO (1) WO2023054886A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006674A1 (en) * 2012-06-30 2014-01-02 Kok Hong Chan Universal serial bus repeater
KR20150094506A (ko) * 2014-02-10 2015-08-19 인텔 코포레이션 임베디드 범용 직렬 버스 솔루션
US20160269126A1 (en) * 2015-03-13 2016-09-15 Texas Instruments Incorporated High Speed Isolated and Optical USB
US10083147B2 (en) * 2016-12-30 2018-09-25 Intel Corporation Apparatuses and methods for multilane universal serial bus (USB2) communication over embedded universal serial bus (eUSB2)
US20190042521A1 (en) * 2018-02-26 2019-02-07 Intel Corporation Asymmetrical embedded universal serial bus (eusb) link

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006674A1 (en) * 2012-06-30 2014-01-02 Kok Hong Chan Universal serial bus repeater
KR20150094506A (ko) * 2014-02-10 2015-08-19 인텔 코포레이션 임베디드 범용 직렬 버스 솔루션
US20160269126A1 (en) * 2015-03-13 2016-09-15 Texas Instruments Incorporated High Speed Isolated and Optical USB
US10083147B2 (en) * 2016-12-30 2018-09-25 Intel Corporation Apparatuses and methods for multilane universal serial bus (USB2) communication over embedded universal serial bus (eUSB2)
US20190042521A1 (en) * 2018-02-26 2019-02-07 Intel Corporation Asymmetrical embedded universal serial bus (eusb) link

Also Published As

Publication number Publication date
KR20230045792A (ko) 2023-04-05

Similar Documents

Publication Publication Date Title
WO2022086207A1 (ko) 고속 충전 방법 및 전자 장치
WO2022225188A1 (ko) 스캔 듀티에 기반한 백 오프 처리 방법 및 장치
WO2022191537A1 (ko) 캘리브레이션 포인트를 제공하는 전자 장치 및 이의 동작 방법
WO2022265190A1 (ko) 전자 장치 및 이의 동작 방법
WO2023054886A1 (ko) 유에스비 인터페이스를 통해 외부 장치와 통신하는 전자 장치 및 그 동작 방법
WO2022114596A1 (ko) 액세서리 장치의 전력 소모를 제어하는 전자 장치 및 그 운용 방법
WO2022108188A1 (ko) 로그 정보의 수신 방법 및 이를 위한 전자 장치
WO2023068734A1 (ko) 웨어러블 장치와 통신하는 전자 장치 및 그 제어 방법
WO2023068533A1 (ko) 무선랜 시스템에서 sa 쿼리를 수행하기 위한 전자 장치 및 그의 동작 방법
WO2022250273A1 (ko) 측정에 의한 전력 소모를 줄이기 위한 전자 장치 및 그의 동작 방법
WO2023085682A1 (ko) 배터리와 연관된 정보를 획득하기 위한 전자 장치 및 그 동작 방법
WO2023075153A1 (ko) 통신 모듈을 식별하기 위한 구성 핀을 이용하여 안테나 장치를 제어하는 전자 장치 및 방법
WO2023059095A1 (ko) 전자 장치 및 전자 장치의 발열 성능 개선 방법
WO2023120921A1 (ko) 펌웨어 업데이트 방법, 상기 방법을 수행하는 전자 장치 및 충전 장치
WO2023163341A1 (ko) 터치 입력의 인식 감도를 조정하는 방법 및 이를 수행하는 전자 장치
WO2023277364A1 (ko) 블루투스 통신을 사용하는 전자 장치와 이의 동작 방법
WO2022098004A1 (ko) 통신 연결을 통하여 데이터를 전송하는 전자 장치와 이의 동작 방법
WO2023003167A1 (ko) 링크의 매체 동기화를 수행하는 전자 장치 및 전자 장치의 동작 방법
WO2023068507A1 (ko) Rcs 기능을 제공하기 위한 전자 장치 및 그의 동작 방법
WO2023080625A1 (ko) 휘발성 메모리의 구동 전압을 조정하는 전자 장치와 이의 동작 방법
WO2023008724A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022203271A1 (ko) 전자 장치 및 커스터마이즈된 온도 보상 방법
WO2023068694A1 (ko) 전자 장치 및 전자 장치의 케이블 연결 회로 검사 방법
WO2024076053A1 (ko) 온도에 기반하여 전자 장치를 제어하는 방법 및 그 전자 장치
WO2022114562A1 (ko) 전자 장치 및 그의 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22876661

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022876661

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022876661

Country of ref document: EP

Effective date: 20231025

NENP Non-entry into the national phase

Ref country code: DE