IP Library Granted Patent US 12,489,727
Granted Patent B2
US 12,489,727 · App. 18/619,894 · Granted Dec 2, 2025

Single wire serial communication method and single wire serial communication system

Inventors: Yuanyu Yang (Hangzhou, CN); Xiaoqiang Xu (Hangzhou, CN); Jianxin Wang (Hangzhou, CN)
Assignee: Silergy Semiconductor Technology (Hangzhou) LTD
H04L61/3015H04L45/64
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,489,727
App. No.
18/619,894
Granted
Dec 2, 2025
Kind
B2
Abstract

A single wire serial communication method for a system having a master device and a plurality of slave devices sequentially connected by a single wire can include: in each communication, transmitting a data packet by the master device, and sequentially receiving the data packet by each of the slave devices; receiving the data packet and forwarding the data packet to a next slave device by a current slave device, where each of the plurality of slave devices when receiving the data packet serve as the current slave device; modifying device address data in the data packet by the current slave device; and comparing the device address data in the data packet received by the current slave device against a preset data or the device address data in the data packet transmitted by the master device, in order to find at least one target slave device in the communication.

Claims (44)

1 . A single wire serial communication method for a single wire serial communication system having a master device and a plurality of slave devices, wherein the master device and the plurality of slave devices are sequentially connected by a single wire, the method comprising:

a) in each communication, transmitting a data packet by the master device, and sequentially receiving the data packet by each of the plurality of slave devices;

b) receiving the data packet and forwarding the data packet to a next slave device by a current slave device, wherein each of the plurality of slave devices when receiving the data packet serve as the current slave device;

c) before the data packet is forwarded to the next slave device, modifying device address data in the data packet by the current slave device; and

d) comparing the device address data in the data packet received by the current slave device against a preset data or the device address data in the data packet transmitted by the master device, in order to find at least one target slave device in the communication.

2 . The method of claim 1 , wherein when the single wire serial communication system is in a first type communication mode, the method further comprises:

a) comparing the device address data in the data packet received by the current slave device against the preset data by the current slave device; and

b) when the device address data in the data packet received by the current slave device matches the preset data, regarding the current slave device as the target slave device in the communication and implementing a corresponding operation according to communication data in the data packet by the target slave device.

3 . The method of claim 2 , wherein when the preset data and a calculation method of modifying the device address data in the data packet are determined, the device address data in the data packet transmitted by the master device is set such that the device address data in the data packet transmitted by the master device corresponds to each of the plurality of slave devices.

4 . The method of claim 2 , wherein the device address data in the data packet transmitted by the master device is determined by the preset data, a position of the target slave device, and a calculation method of modifying the device address data in the data packet, and wherein the position of the target slave device corresponds to forwarding times of the data packet transmitted by the master device to the target slave device.

5 . The method of claim 4 , wherein the calculation method of modifying the device address data in the data packet comprises at least one of increasing, decreasing, or shifting the device address data in the data packet.

6 . The method of claim 5 , wherein:

a) when the calculation method of modifying the device address data in the data packet is to add an increasing value to the device address data in the data packet, the device address data in the data packet transmitted by the master device is configured as a difference between the preset data and a first product, and the first product is a product of a difference between the position of the target slave device and 1 and the increasing value; and

b) when the calculation method of modifying the device address data in the data packet is to decrease the device address data in the data packet by a decreasing value, the device address data in the data packet transmitted by the master device is configured as a sum of the preset data and a first product, and the first product is a product of a difference between the position of the target slave device and 1 and the decreasing value.

7 . The method of claim 1 , wherein an encoding way of the device address data is LSB first.

8 . The method of claim 1 , wherein the preset data in the slave device is set as a fixed value.

9 . The method of claim 1 , wherein when the single wire serial communication system is in a second type communication mode, the method further comprises:

a) comparing the device address data in the data packet received by the current slave device against the device address data transmitted by the master device;

b) determining a position of the current slave device according to a difference between the device address data in the data packet received by the current slave device and the device address data transmitted by the master device; and

c) finding corresponding communication data in the data packet transmitted by the master device to implement by the current slave device according to the position of the current slave device, wherein the data packet transmitted by the master device comprises a plurality of communication data corresponding to the plurality of slave devices.

10 . The method of claim 9 , wherein the device address data transmitted by the master device is a preset fixed value, and the fixed value is determined by parameters of the plurality of slave devices.

11 . A single wire serial communication system having a master device and a plurality of slave devices, wherein the master device and the plurality of slave devices are sequentially connected by a single wire to form a communication link, the system comprising:

a) wherein in each communication, the master device transmits a data packet, and each of the plurality of slave devices sequentially receives the data packet;

b) wherein a current slave device receives the data packet and forwards the data packet to a next slave device in the communication link, wherein each of the plurality of slave devices when receiving the data packet serves as the current slave device;

c) wherein before the data packet is forwarded to the next slave device, the current slave device modifies device address data in the data packet; and

d) wherein the current slave device compares the device address data in the data packet received by the current slave device against a preset data or the device address data transmitted in the data packet by the master device in order to find at least one target slave device in the communication.

12 . The system of claim 11 , wherein a calculation method of modifying the device address data in the data packet comprises at least one of increasing, decreasing, or shifting the device address data in the data packet.

13 . The system of claim 11 , wherein when the single wire serial communication system is in a first type communication mode, the current slave device compares the device address data in the data packet received by the current slave device against the preset data, and when the device address data in the data packet received by the current slave device matches the preset data, the current slave device is regarded as the target slave device in the communication and implements corresponding operation according to communication data in the data packet.

14 . The system of claim 13 , wherein the device address data in the data packet transmitted by the master device is determined by the preset data, a position of the target slave device and a calculation method of modifying the device address data in the data packet, and the position of the target slave device corresponds to forwarding times of the data packet transmitted by the master device to the target slave device.

15 . The system of claim 14 , wherein:

a) when the calculation method of modifying the device address data in the data packet is to add an increasing value to the device address data in the data packet, the device address data in the data packet transmitted by the master device is configured as a difference between the preset data and a first product, and the first product is a product of a difference between the position of the target slave device and 1 and the increasing value; and

b) when the calculation method of modifying the device address data in the data packet is to decrease the device address data in the data packet by a decreasing value, the device address data in the data packet transmitted by the master device is configured as a sum of the preset data and a first product, and the first product is a product of a difference between the position of the target slave device and 1 and the decreasing value.

16 . The system of claim 11 , wherein the preset data in the slave device is set as a fixed value.

17 . The system of claim 11 , wherein:

a) when the single wire serial communication system is in a second type communication mode, the current slave device compares the device address data in the data packet received by the current slave device against the device address data transmitted by the master device;

b) the current slave device determines a position of the current slave device according to a difference between the device address data in the data packet received by the current slave device and the device address data transmitted by the master device; and

c) the current slave device finds corresponding communication data in the data packet transmitted by the master device to implement according to the position of the current slave device, wherein the data packet transmitted by the master device comprises a plurality of communication data corresponding to the plurality of slave devices.

18 . The system of claim 17 , wherein the device address data transmitted by the master device is a preset fixed value, and the fixed value is determined by parameters of the plurality of slave devices.

19 . The system of claim 11 , wherein an encoding way of the device address data is LSB first.

20 . The system of claim 11 , wherein:

a) the plurality of slave devices in the communication link comprises a first slave device, a second slave device, through an (N−1)th slave device and an Nth slave device, wherein N is a positive integer;

b) a data output terminal of the master device is connected to a data receiving terminal of the first slave device;

c) data receiving terminals of a second slave device to the Nth slave device are respectively connected to data output terminals of the first slave device to the (N−1)th slave device in the communication link; and

d) the first slave device to the Nth slave device are instances of a same apparatus.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 28, 2024
From: YANG, YUANYU; XU, XIAOQIANG; WANG, JIANXIN
To: SILERGY SEMICONDUCTOR TECHNOLOGY (HANGZHOU) LTD
Reel/Frame 066935/0270 →
Priority Claims (1)
CN 202310345328.6 · Mar 31, 2023 · national
Continuity (1)
Related Publication 20240333677A1 · Oct 3, 2024
References Cited (8)
US 5864872A · Lee · 1999 [cited by examiner]
US 10356824B2 · Qiao et al. · 2019 [cited by applicant]
US 20160239449A1 · Hapke · 2016 [cited by examiner]
US 20220253398A1 · Hyakudai · 2022 [cited by examiner]
US 20230179668A1 · Lin et al. · 2023 [cited by applicant]
US 20230229608A1 · Mathur · 2023 [cited by examiner]
CN 115658585A · 2023 [cited by examiner]
CN 115664889A · 2023 [cited by examiner]