KR20200092146A - Host and slave apparatus having cascade connection structure - Google Patents
Host and slave apparatus having cascade connection structure Download PDFInfo
- Publication number
- KR20200092146A KR20200092146A KR1020190009324A KR20190009324A KR20200092146A KR 20200092146 A KR20200092146 A KR 20200092146A KR 1020190009324 A KR1020190009324 A KR 1020190009324A KR 20190009324 A KR20190009324 A KR 20190009324A KR 20200092146 A KR20200092146 A KR 20200092146A
- Authority
- KR
- South Korea
- Prior art keywords
- slave
- data
- setting
- output
- byte
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
본 기술은 캐스케이드 연결 구조의 호스트와 슬레이브 장치에 관한 것이다.The present technology relates to a cascaded connection structure host and slave devices.
하나의 호스트로 복수의 슬레이브 모듈을 연결하여 제어하는 방법은 여러 개 있을 수 있다. 일 예로, 호스트가 제어하고자 하는 복수의 슬레이브 장치들을 제어하기 위하여 각 슬레이브 장치 전용(dedicated) 입출력 포트를 두어 호스트와 슬레이브 장치들 사이에서 제어 신호, 데이터 및 클록 통신을 수행할 수 있다.There can be multiple methods to control by connecting multiple slave modules with one host. For example, in order to control a plurality of slave devices to be controlled by the host, a dedicated input/output port for each slave device may be provided to perform control signal, data, and clock communication between the host and slave devices.
하나의 호스트로 복수의 슬레이브 장치들을 제어하고자 하는 경우에는 제어될 슬레이브 장치의 개수만큼 입출력 포트가 필요하며, 각 슬레이브 장치와 통신을 독립적으로 제어하기 위하여 대규모의 연산능력을 가지는 호스트가 필요하다. When a plurality of slave devices are to be controlled by a single host, I/O ports are required as many as the number of slave devices to be controlled, and a host having a large-scale computing capability is required to independently control communication with each slave device.
종래 기술에 의하면 호스트로 제어하고자 하는 슬레이브 장치의 개수만큼 입출력 포트가 필요하며, 이를 형성하는데 많은 비용이 소모되어 비경제적이다. 또한, 각 포트에서 독립적으로 이루어지는 통신을 제어하기 위하여 고가의 고성능 연산장치가 필요하다. According to the prior art, input/output ports are required as many as the number of slave devices to be controlled by the host, and it is uneconomical to consume a lot of cost to form them. In addition, an expensive high-performance computing device is required to control communication made independently at each port.
본 기술은 상기한 종래 기술의 난점을 해소하기 위하여 캐스케이드 연결 구조의 호스트와 슬레이브 장치를 제공하는 것이 본 기술로 해결하고자 하는 기술적 과제중 하나이다.One of the technical problems to be solved by the present technology is to provide a host device and a slave device having a cascade connection structure in order to solve the above-mentioned difficulties of the prior art.
본 실시예에 따른 장치는 각각 칩 셀렉트 신호 입력과 출력, 시리얼 클록 입력과 출력 및 시리얼 데이터 신호 입력과 출력을 위한 포트들과, 레지스터를 포함하며 서로 캐스케이드로 연결된 복수의 슬레이브들 및 캐스케이드로 연결된 복수의 슬레이브들의 최초 스테이지에 연결되어 칩 셀렉트 신호와, 시리얼 클록과 시리얼 데이터 신호를 형성하여 출력하는 호스트를 포함하며, 시리얼 데이터 신호는 슬레이브를 제어하는 설정 바이트(assign byte)와, 슬레이브에 포함된 레지스터의 어드레스 바이트(address byte) 및 레지스터로부터 판독되거나, 레지스터에 기입될 데이터 바이트(data byte)를 포함한다. The device according to this embodiment includes a port for chip select signal input and output, serial clock input and output, and serial data signal input and output, registers, and multiple slaves connected to each other and cascaded to each other. It is connected to the first stage of the slaves, and includes a host that forms and outputs a chip select signal, a serial clock and a serial data signal, and the serial data signal includes a set byte to control the slave and a register included in the slave. And the address byte of and the data byte to be read from or written to the register.
본 기술의 일 측면에 의하면, 서로 캐스케이드로 연결된 복수의 슬레이브들은 각각, 이전 스테이지에서 출력된 칩 셀렉트 신호에 의하여 활성화(enable)되며, 이전 스테이지에서 출력된 시리얼 클록을 제공받고, 시리얼 데이터를 샘플한다.According to an aspect of the present technology, each of a plurality of slaves cascaded to each other is activated by a chip select signal output from a previous stage, receives a serial clock output from a previous stage, and samples serial data. .
본 기술의 일 측면에 의하면, 서로 캐스케이드로 연결된 복수의 슬레이브들은 각각 칩 셀렉트 신호를 제공받고 8 클록 이후, 다음 스테이지를 활성화하고, 시리얼 클록과 시리얼 데이터 신호를 출력한다.According to an aspect of the present technology, a plurality of slaves cascaded from each other are provided with a chip select signal, and after 8 clocks, the next stage is activated, and a serial clock and a serial data signal are output.
본 기술의 일 측면에 의하면, 설정 바이트는, 슬레이브의 데이터 기입과 판독을 제어하는 리드/라이트(read/write) 설정 비트와, 슬레이브의 동작 모드 또는 복수의 슬레이브들 중 목적하는 슬레이브를 설정하는 패킷 처리 비트들 및 캐스케이드로 연결된 복수의 슬레이브들을 거쳐 데이터가 전파됨에 따라 패킷 처리 비트가 감소하거나 증가하도록 설정하는 증감 설정 비트를 포함한다.According to an aspect of the present technology, the setting byte includes a read/write setting bit for controlling data writing and reading of the slave, and a packet for setting a desired slave among the slave's operation mode or a plurality of slaves. It includes an increase/decrease setting bit to set the packet processing bit to decrease or increase as data propagates through the processing bits and a plurality of slaves connected by cascade.
본 기술의 일 측면에 의하면, 호스트는 캐스케이드로 연결된 각 슬레이브를 거쳐 데이터가 전파함에 따라 패킷 처리 비트가 감소하도록 증감 설정 비트를 설정하고, 패킷 처리 비트가 감소함에 따라 목적하는 슬레이브에서 미리 설정된 값이 되도록 설정하며, 목적하는 슬레이브에서 데이터 기입 또는 판독을 수행하도록 리드/라이트(read/write) 설정 비트를 설정한다.According to an aspect of the present technology, the host sets the increment/decrease setting bit so that the packet processing bit decreases as data propagates through each slave connected in a cascade, and as the packet processing bit decreases, the preset value is set in the target slave. If possible, set the read/write setting bit to perform data writing or reading on the target slave.
본 기술의 일 측면에 의하면, 호스트는 어드레스 바이트를 통하여 데이터 기입 또는 판독을 수행할 레지스터의 어드레스를 출력하고 데이터 바이트로 기입할 데이터를 출력한다. According to one aspect of the present technology, the host outputs an address of a register to write or read data through an address byte and outputs data to be written in a data byte.
본 기술의 일 측면에 의하면, 호스트는 캐스케이드로 연결된 복수의 슬레이브들이 동일한 데이터를 기입하도록 설정 바이트를 설정하여 출력한다.According to an aspect of the present technology, the host sets and outputs a set byte so that a plurality of slaves connected by cascade write the same data.
본 기술의 일 측면에 의하면, 호스트는 어드레스 바이트를 통하여 데이터 기입을 수행할 레지스터의 어드레스를 출력하고, 기입할 데이터를 데이터 바이트로 출력한다.According to one aspect of the present technology, the host outputs an address of a register to perform data writing through an address byte, and outputs data to be written as data bytes.
본 기술의 일 측면에 의하면, 슬레이브는 디지털 전광판(digital signage)를 제어하는 콘트롤러(controller)이다.According to an aspect of the present technology, a slave is a controller that controls a digital signage.
본 발명에 의하면 호스트와 복수의 슬레이브들이 서로 캐스케이드로 연결되므로 슬레이브들 개수만큼의 입출력 포트가 불필요하여 경제적이라는 효과가 제공된다. 또한, 본 발명에 의하면 설정 바이트로 슬레이브들을 제어할 수 있으므로 고가의 연산장치가 불필요하여 경제적이라는 장점이 제공된다.According to the present invention, since a host and a plurality of slaves are cascaded to each other, an input/output port as many as the number of slaves is unnecessary, thereby providing economical effect. In addition, according to the present invention, since the slaves can be controlled with a set byte, an expensive computing device is unnecessary and thus economical advantages are provided.
도 1은 본 발명의 개요를 도시한 블록도이다.
도 2는 어느 한 슬레이브에서 입력 포트들로 입력되는 신호들과 출력 포트들로 출력되는 신호들의 개형을 도시한 개요적 타이밍도이다.
도 3은 시리얼 데이터(SDA)의 개요적 구조를 도시한 개요도이다.
도 4 내지 도 6은 본 발명의 동작을 설명하기 위한 도면들이다.1 is a block diagram showing the outline of the present invention.
FIG. 2 is a schematic timing diagram showing a reformation of signals input from one slave to input ports and output signals to output ports.
3 is a schematic diagram showing a schematic structure of serial data (SDA).
4 to 6 are diagrams for explaining the operation of the present invention.
이하에서는 첨부된 도면들을 참조하여 본 발명을 설명한다. 본 발명을 설명함에 있어서 간결한 설명과 용이한 이해를 위하여 단일 선로와 버스를 구분하지 않는다. Hereinafter, the present invention will be described with reference to the accompanying drawings. In describing the present invention, a single line and a bus are not distinguished for concise description and easy understanding.
동일하거나 유사한 복수의 구성요소 각각에 대하여는 a, b, c 등의 부호가 부가된다. 이들 중 특정한 어느 하나에 대한 설명을 필요로 하는 경우에는 부호를 부기하여 설명할 수 있으며, 특정한 어느 하나에 대한 설명이 불필요한 경우에는 부호를 제거하고 설명할 수 있다.Reference numerals such as a, b, and c are added to each of the same or similar plurality of components. When a description of any one of these is required, a sign may be added to explain it, and when a description of any one is unnecessary, a sign may be removed and described.
도 1은 본 발명의 개요를 도시한 블록도이다. 도 1을 참조하면, 본 발명은 각 칩 셀렉트 신호 입력(CS_IN)과 출력(CS_OUT), 시리얼 클록 입력(SCL_IN)과 출력(SCL_OUT) 및 시리얼 데이터 입력(SDA_IN)과 출력(SDA_OUT)을 위한 포트와, 레지스터(미도시)를 포함하며 서로 캐스케이드로 연결된 복수의 슬레이브들(200a, 200b, ...200f) 및 캐스케이드로 연결된 복수의 슬레이브들(200a, 200b, ...200f)의 최초 스테이지에 연결되어 칩 셀렉트 신호(CS)와, 시리얼 클록(SCL)과 시리얼 데이터(SDA)를 형성하여 출력하는 호스트(100)를 포함하며, 시리얼 데이터(SDA)는 슬레이브를 제어하는 설정 바이트(assign byte)와, 슬레이브에 포함된 레지스터의 어드레스 바이트(address byte) 및 레지스터에 저장될 데이터 바이트(data byte)를 포함한다. 1 is a block diagram showing the outline of the present invention. Referring to FIG. 1, the present invention provides a port for each chip select signal input (CS_IN) and output (CS_OUT), serial clock input (SCL_IN) and output (SCL_OUT), and serial data input (SDA_IN) and output (SDA_OUT). , Connected to the initial stage of a plurality of slaves (200a, 200b, ... 200f) connected to each other cascaded and includes a register (not shown) and a plurality of slaves (200a, 200b, ... 200f) connected to a cascade It includes a
호스트(100)는 칩 셀렉트 신호(CS), 시리얼 클록 신호(SCL) 및 시리얼 데이터 신호(SDA)를 형성하여 각각 칩 셀렉트 신호 출력 포트(CS_OUT), 시리얼 클록 출력 포트(SCL_OUT) 및 시리얼 데이터 출력 포트(SDA_OUT)로 출력한다. 호스트(100)는 신호 형성을 위한 프로세서(미도시)와 필요한 데이터를 저장하는 메모리(메모리)를 포함할 수 있다. The
복수의 슬레이브들(200a, 200b, ...200f)은 캐스케이드(cascade)로 연결되며, 이전 스테이지의 슬레이브로부터 칩 셀렉트 신호(SC), 시리얼 클록 신호(SCL) 및 시리얼 데이터(SDA)신호를 제공받고, 필요한 신호 처리를 수행하여 다음 스테이지의 슬레이브에 제공한다. A plurality of slaves (200a, 200b, ... 200f) is connected to a cascade (cascade), and provides chip select signal (SC), serial clock signal (SCL) and serial data (SDA) signal from the slave of the previous stage It receives and performs the necessary signal processing and provides it to the slave of the next stage.
일 예로, 캐스케이드로 연결된 슬레이브들 중 최초 스테이지의 슬레이브(200a)는 호스트(100)로부터 신호를 입력받을 수 있으며, 최후 스테이지의 슬레이브(200f)는 호스트(100)에게 신호를 출력할 수 있다.For example, among the slaves connected by cascade, the
각 슬레이브들은 신호 처리를 위한 프로세서를 포함할 수 있으며, 데이터를 저장하는 레지스터를 포함할 수 있다. 일 실시예로, 각 슬레이브가 저장하는 데이터는 8비트 일 수 있으며 시리얼 데이터 신호(SDA)에 포함된 데이터 바이트(data byte)를 통하여 입력되거나 출력될 수 있다. 각 슬레이브에 포함된 레지스터의 주소(address)는 8비트 일 수 있으며, 레지스터는 시리얼 데이터 신호(SDA)에 포함된 어드레스 바이트(address byte)를 통하여 억세스될 수 있다.Each slave may include a processor for signal processing and a register for storing data. In one embodiment, data stored by each slave may be 8 bits and may be input or output through a data byte included in the serial data signal (SDA). The address of the register included in each slave may be 8 bits, and the register may be accessed through an address byte included in the serial data signal (SDA).
도 1로 예시된 실시예에서, 각 슬레이브들은 디지털 전광판(digital signage, 300)을 제어하는 콘트롤러일 수 있으며, 호스트(100)는 디지털 전광판(digital signage, 300)으로 표시할 이미지, 동영상 등의 콘텐츠를 사용자로부터 제공받을 수 있다. 호스트(100)는 제공된 콘텐츠를 처리하여 콘트롤러 별로 분할하여 제공하는 등의 작업을 수행할 수 있다.In the embodiment illustrated in FIG. 1, each slave may be a controller that controls a digital signage (300), and the host (100) displays content such as images and videos to be displayed by the digital signage (300). Can be provided by the user. The
도 2는 어느 한 슬레이브(200)에서 입력 포트들(CS_IN, SCL_IN, SDA_IN)로 입력되는 신호들과 출력 포트들(CS_OUT, SCL_OUT, SDA_OUT)로 출력되는 신호들의 개형을 도시한 개요적 타이밍도이다. 도 2를 참조하면, 칩 셀렉트 신호(CS)가 제공되어 해당 슬레이브(200)가 활성화(enable)된다. 도시된 실시예에 의하면 칩 셀렉트 신호(CS)가 논리 로우 상태로 전이되면 슬레이브(200)가 활성화된다. 도시되지 않은 실시예에 의하면 칩 셀렉트 신호(CS)가 논리 하이상태로 전이되면 슬레이브(200)가 활성화될 수 있다.FIG. 2 is a schematic timing diagram showing an improvement of signals input to input ports CS_IN, SCL_IN, and SDA_IN from one slave 200 and signals output to output ports CS_OUT, SCL_OUT, and SDA_OUT. . Referring to FIG. 2, a chip select signal CS is provided so that the corresponding slave 200 is enabled. According to the illustrated embodiment, when the chip select signal CS transitions to a logic low state, the slave 200 is activated. According to an exemplary embodiment, when the chip select signal CS transitions to a logic high state, the slave 200 may be activated.
신호가 제공된 슬레이브(200)는 이전 스테이지로부터 제공된 시리얼 데이터(SDA)를 시리얼 클록 신호(SCL)로 샘플하고, 샘플된 시리얼 데이터(SDA)에 상응하는 동작을 수행할 수 있다. The slave 200 provided with the signal may sample the serial data SDA provided from the previous stage as the serial clock signal SCL, and perform an operation corresponding to the sampled serial data SDA.
슬레이브(200)에 칩 셀렉트 신호(CS), 시리얼 클록 신호(SCL) 및 시리얼 데이터 신호(SDA)가 제공되면, 해당 슬레이브는 제공된 정보에 따라 처리를 수행하여 8 클록의 딜레이 시간만큼 지연 후, 이후 스테이지에 출력한다. When the chip select signal CS, the serial clock signal SCL and the serial data signal SDA are provided to the slave 200, the corresponding slave performs processing according to the provided information, delays by a delay time of 8 clocks, and then Output to the stage.
도 3은 시리얼 데이터(SDA)의 개요적 구조를 도시한 개요도이다. 도 3을 참조하면, 시리얼 데이터(SDA)는 설정 바이트(assign byte), 어드레스 바이트(address byte) 및 데이터 바이트(data byte)를 포함하는 복수의 바이트로 이루어질 수 있다. 어드레스 바이트는 [A7:A0]의 8 비트의 데이터일 수 있으며, 슬레이브에 포함된 레지스터의 어드레스에 상응하는 데이터다. 데이터 바이트는 [D7:D0]의 8비트 데이터일 수 있으며, 해당 어드레스의 레지스터로부터 판독(read)하거나, 해당 어드레스의 레지스터에 기입(write)할 데이터일 수 있다. 3 is a schematic diagram showing a schematic structure of serial data (SDA). Referring to FIG. 3, the serial data (SDA) may be composed of a plurality of bytes including a set byte, an address byte, and a data byte. The address byte may be 8-bit data of [A7:A0], and is data corresponding to the address of the register included in the slave. The data byte may be 8-bit data of [D7:D0], and may be data to be read from or written to the register of the corresponding address.
설정 바이트(assign byte)는 증감 설정 비트(DU), 리드/라이트(read/write) 설정 비트(RW) 및 S[5:0]의 패킷 처리 비트들을 포함할 수 있다. 슬레이브(200)는 증감 설정 비트(DU)에 따라 패킷 처리 비트들 S[5:0]의 출력을 증가 또는 감소하도록 제어한다. 일 예로, 증감 설정 비트(DU)가 논리 로우 상태로 슬레이브에 입력되면 해당 슬레이브(200)는 패킬 처리 비트를 1 감소시켜 출력할 수 있다. 다른 예로, 증감 설정 비트(DU)가 논리 하이 상태로 슬레이브(200)에 입력되면 해당 슬레이브(200)는 패킬 처리 비트를 1 증가시켜 출력할 수 있다.The set byte (assign byte) may include an increase/decrease setting bit (DU), a read/write setting bit (RW), and packet processing bits of S[5:0]. The slave 200 controls to increase or decrease the output of the packet processing bits S[5:0] according to the increase/decrease setting bit DU. For example, when the increase/decrease setting bit DU is input to the slave in a logic low state, the corresponding slave 200 may reduce and output the packet processing bit by one. As another example, when the increase/decrease setting bit DU is input to the slave 200 in a logic high state, the corresponding slave 200 may increase and output the packet processing bit by one.
슬레이브(200)는 리드/라이트 설정 비트(RW)에 따라 입력되는 커맨드의 판독/기입을 수행한다. 일 예로, 슬레이브(200)에 입력된 리드/라이트 설정 비트(RW)가 논리 하이이면, 슬레이브(200)는 데이터 바이트로 제공된 데이터를 어드레스 바이트로 제공된 어드레스의 레지스터에 기입할 수 있다. 다른 예로, 슬레이브(200)로 입력된 리드/라이트 설정 비트(RW)가 논리 로우이면, 슬레이브(200)는 어드레스 바이트로 제공된 어드레스의 레지스터로부터 데이터를 읽어서 데이터 바이트로 출력할 수 있다.The slave 200 reads/writes a command input according to the read/write setting bit RW. For example, if the read/write setting bit RW input to the slave 200 is logic high, the slave 200 may write data provided as a data byte into a register of an address provided as an address byte. As another example, if the read/write setting bit RW input to the slave 200 is a logic low, the slave 200 may read data from a register of an address provided as an address byte and output it as a data byte.
슬레이브(200)는 입력된 패킷 처리 비트들 S[5:0]에 따라 입력된 패킷을 처리한다. 일 실시예로, 슬레이브(200)에 제공된 S[5:0] = 111111(0x3F) 이고, 리드/라이트(read/write) 설정 비트가 논리 하이이면 모든 슬레이브(200)에 동일한 데이터를 기입한다. 또한 슬레이브(200)는 패킷 설정 비트 S[5:0]를 111111(0x3F)로 유지하여 출력한다.The slave 200 processes the input packet according to the input packet processing bits S[5:0]. In one embodiment, if S[5:0] = 111111 (0x3F) provided to the slave 200, and the read/write setting bit is logic high, the same data is written to all slaves 200. Also, the slave 200 maintains and outputs the packet setting bits S[5:0] at 111111 (0x3F).
다른 실시예로, 슬레이브(200)에 제공된 패킷 처리 비트들 S[5:0]이 101111(0x2F) 내지 000001(0x01) 중 어느 한 값이면, 증감 설정 비트에 따라 입력된 패킷 처리 비트들 S[5:0]을 증감 설정 비트(DU)에 따라 1 씩 증가시키거나 감소시켜 출력한다. In another embodiment, if the packet processing bits S[5:0] provided to the slave 200 are any one of 101111 (0x2F) to 000001 (0x01), the packet processing bits S[] input according to the increase/decrease setting bit 5:0] is increased or decreased by 1 according to the increment/decrement setting bit (DU), and output.
다른 실시예로, 슬레이브(200)에 제공된 S[5:0]가 000000(0x00)이고 리드/라이트 설정 비트가 논리 하이이면, 어드레스 바이트로 지정된 레지스터에 데이터 바이트로 제공된 데이터를 기입하고, 기입한 데이터를 출력한다. 슬레이브(200)는 패킷 설정 비트[5:0]으로 000001(0x01), 증감 설정 비트(DU)는 논리 하이, 리드/라이트 설정 비트는 논리 로우를 출력한다.In another embodiment, if S[5:0] provided to the slave 200 is 000000 (0x00) and the read/write setting bit is logic high, data provided as a data byte is written to and written to a register designated as an address byte. Output data. The slave 200 outputs 000001 (0x01) as a packet setting bit [5:0], a logic high for the increase/decrease setting bit (DU), and a logic low for the read/write setting bit.
또한, 리드/라이트 설정 비트가 논리 로우이면, 어드레스 바이트로 지정된 레지스터에서 데이터를 판독하여 판독된 데이터를 데이터 바이트로 제공된 출력한다. 슬레이브(200)는 패킷 설정 비트[5:0]으로 000001(0x01), 증감 설정 비트(DU)는 논리 하이, 리드/라이트 설정 비트는 논리 하이를 출력한다.Further, if the read/write setting bit is a logic low, data is read from a register designated as an address byte, and the read data is output provided as a data byte. The slave 200 outputs 000001 (0x01) as a packet setting bit [5:0], a logic high for the increase/decrease setting bit (DU), and a logic high for the read/write setting bit.
도 4는 모든 슬레이브(200)에 동일한 데이터를 기입하는 경우를 설명하기 위한 도면이다. 도 4에서 신호 선로에 인접하여 표시된 내용은 시리얼 데이터(SDA)를 통하여 전달되는 신호의 내용을 개요적으로 기재한 것이다. 도 4를 참조하면, 호스트(100)는 증감 제어 비트(DU)의 상태는 무관(don't care), 리드/라이트 설정 비트(RW)로 논리 하이, 패킷 처리 비트들 S[5:0]로 111111(0x3F)를 출력한다. 4 is a diagram for explaining a case in which the same data is written to all slaves 200. In FIG. 4, the content displayed adjacent to the signal line schematically describes the content of the signal transmitted through the serial data (SDA). Referring to FIG. 4, the
리드/라이트 설정 비트(RW)로 논리 하이가 제공되고, 패킷 처리 비트 S[5:0]은 111111(0x3F)이므로, 패킷 처리 비트 S[5:0]도 동일하게 111111(0x3F)로 출력한다. 따라서, 캐스케이드로 연결된 모든 슬레이브들(200a, 200b, ..., 200f)의 어드레스 바이트에 대응되는 레지스터들에는 데이터 바이트로 제공된 데이터가 기입된다(Register write).Since the logic high is provided as the read/write setting bits RW, and the packet processing bits S[5:0] are 111111 (0x3F), the packet processing bits S[5:0] are also outputted as 111111 (0x3F). . Accordingly, data provided as data bytes is written to registers corresponding to the address bytes of all the
도 5는 특정한 슬레이브(200c)에 데이터를 기입하는 경우를 설명하기 위한 도면이다. 일 예로, 호스트(100)가 캐스케이드로 연결된 복수의 슬레이브들(200a, 200b, ..., 200f) 중에서 세 번째 슬레이브(200c)에 데이터를 기입하는 경우를 가정한다. 호스트는 증감 설정 비트(DU)로 논리 로우, 리드/라이트 설정 비트(RW)로 논리 하이, 패킷 처리 비트 S[5:0]로 000010(0x02)를 출력한다. 5 is a diagram for explaining a case in which data is written to a
슬레이브(200a)는 패킷 설정 비트 S[5:0] 000010(0x02)와 논리 로우 의 증감 설정 비트 및 논리 하이의 리드/라이트 설정 비트(RW)를 제공받아 패킷 설정 비트 S[5:0]를 1 감소시킨 000001(0x01), 논리 로우의 증감 설정 비트 및 논리 하이의 리드/라이트 설정 비트(RW)를 슬레이브(200b)에 출력한다. The
슬레이브(200b)는 패킷 설정 비트 S[5:0] 000001(0x01), 논리 로우의 증감 설정 비트 및 논리 하이의 리드/라이트 설정 비트(RW)를 제공받아 패킷 설정 비트 S[5:0]를 1 감소시킨 000000(0x00)와 논리 로우의 증감 설정 비트 및 논리 하이의 리드/라이트 설정 비트(RW)를 슬레이브(200c)에 출력한다.The
슬레이브(200c)는 패킷 설정 비트 S[5:0] 000000(0x00)와 논리 하이의 리드/라이트 설정 비트(RW)를 제공받으므로, 어드레스 바이트로 제공된 어드레스의 레지스터에 데이터 바이트로 제공된 데이터를 기입하고, 또한 기입한 데이터를 데이터 바이트로 출력한다. 슬레이브(200c)는 증감 설정 비트를 논리 하이로 전환하여 출력하며, 패킷 설정 비트 S[5:0] 000001(0x01)로 설정하여 출력한다. Since the
슬레이브(200d)에는 패킷 설정 비트 S[5:0] 000001(0x01)와 논리 하이의 증감 설정 비트가 입력되므로 1 증가시킨 패킷 설정 비트 S[5:0]를 000010(0x02)와 논리 하이 상태의 증감 설정 비트를 슬레이브(200e)에 출력한다. 이와 같은 과정을 거쳐 슬레이브(200f)는 호스트(100)에 패킷 설정 비트 S[5:0]으로 000100(0x04), 논리 하이 상태의 증감 설정 비트(DU) 및 리드/라이트 설정 비트를 출력한다.Since the packet setting bits S[5:0] 000001 (0x01) and the increment/decrement setting bits of logic high are input to the
위에서 예시된 것과 같이 호스트(100)는 패킷 설정 비트 S[5:0]의 값과 증감 설정 비트(DU)값을 조절하여 목적하는 슬레이브에 데이터를 기입할 수 있으며, 수신한 패킷 설정 비트 S[5:0]의 값과 증감 설정 비트(DU)값으로부터 목적하는 슬레이브에 목적하는 데이터가 성공적으로 기입되었는지 여부를 파악할 수 있다.As illustrated above, the
도 6은 특정한 슬레이브로(200d)부터 데이터를 판독하는 경우를 설명하기 위한 도면이다. 일 예로, 호스트(100)가 캐스케이드로 연결된 복수의 슬레이브들(200a, 200b, ..., 200f) 중에서 네 번째 슬레이브(200d)로부터 데이터를 판독하는 경우를 가정한다. 호스트는 증감 설정 비트(DU)로 논리 로우, 리드/라이트 설정 비트(RW)로 논리 로우, 패킷 처리 비트 S[5:0]로 000011(0x03)를 출력한다. 6 is a view for explaining a case in which data is read from a
슬레이브(200a), 슬레이브(200b) 및 슬레이브(200c)에는 논리 로우의 증감 설정 비트가 제공되므로 이전 스테이지가 출력한 패킷 설정 비트 S[5:0] 000011(0x03)를 각각 1씩 감소시켜 다음 스테이지의 슬레이브에 출력한다. 따라서, 슬레이브(200d)에는 논리 로우의 증감 설정 비트, 논리 로우의 리드/라이트 설정 비트(RW) 및 000000(0x00)의 패킷 설정 비트 S[5:0]가 제공된다.The
슬레이브(200d)는 어드레스 바이트로 제공된 어드레스의 레지스터에서 데이터를 판독하여 데이터 바이트로 제공된 데이터를 출력한다. 또한 슬레이브(200d)는 증감 설정 비트를 논리 하이로 전환하여 출력하며, 패킷 설정 비트 S[5:0] 000001(0x01)로 설정하여 출력한다. The
슬레이브(200e)에는 각각 패킷 설정 비트 S[5:0] 000010(0x02)와 논리 하이의 증감 설정 비트가 입력되므로 입력된 패킷 설정 비트 S[5:0]을 1 증가시킨 패킷 설정 비트 S[5:0]와 논리 하이 상태의 증감 설정 비트를 출력한다. The packet setting bits S[5:0] 000010 (0x02) and the increment/decrement setting bits of logic high are input to the
이와 같은 과정을 거쳐 슬레이브(200f)는 호스트(100)에 패킷 설정 비트 S[5:0]으로 000011(0x03), 논리 하이 상태의 증감 설정 비트(DU) 및 논리 로우의 리드/라이트 설정 비트를 출력한다.Through this process, the
위에서 설명된 것과 같이 호스트(100)는 패킷 설정 비트 S[5:0]의 값과 증감 설정 비트(DU) 값을 조절하여 목적하는 슬레이브로부터 데이터를 판독할 수 있다.As described above, the
100: 호스트
200a, 200b, 200c, 200d, 200e, 200f: 슬레이브
300a, 300b, 300c, 300d, 300e, 300f: 디지털 전광판(digital signage)
CS: 칩 셀렉트 신호
SCL: 시리얼 클록
SDA: 시리얼 데이터 신호
100: host
200a, 200b, 200c, 200d, 200e, 200f: slave
300a, 300b, 300c, 300d, 300e, 300f: digital signage
CS: Chip select signal
SCL: Serial clock
SDA: Serial data signal
Claims (9)
상기 캐스케이드로 연결된 복수의 슬레이브들의 최초 스테이지에 연결되어 상기 칩 셀렉트 신호와, 상기 시리얼 클록과 상기 시리얼 데이터 신호를 형성하여 출력하는 호스트를 포함하며,
상기 시리얼 데이터 신호는
상기 슬레이브를 제어하는 설정 바이트(assign byte)와,
상기 슬레이브에 포함된 레지스터의 어드레스 바이트(address byte) 및
상기 레지스터로부터 판독되거나, 상기 레지스터에 기입될 데이터 바이트(data byte)를 포함하는 장치.Ports for chip select signal input and output, serial clock input and output, and serial data signal input and output, respectively, and a plurality of slaves cascaded together including registers and
And a host connected to an initial stage of a plurality of slaves connected by the cascade to form and output the chip select signal, the serial clock and the serial data signal,
The serial data signal
A configuration byte (assign byte) for controlling the slave,
The address byte of the register included in the slave and
An apparatus comprising data bytes to be read from or written to the registers.
상기 서로 캐스케이드로 연결된 복수의 슬레이브들은 각각,
이전 스테이지에서 출력된 칩 셀렉트 신호에 의하여 활성화(enable)되며,
상기 이전 스테이지에서 출력된 시리얼 클록을 제공받고, 상기 시리얼 데이터를 샘플하는 장치. According to claim 1,
Each of the plurality of slaves cascaded to each other,
Enabled by the chip select signal output from the previous stage,
A device that receives the serial clock output from the previous stage and samples the serial data.
상기 서로 캐스케이드로 연결된 복수의 슬레이브들은 각각
상기 칩 셀렉트 신호를 제공받고 8 클록 이후,
다음 스테이지를 활성화하고, 시리얼 클록과 시리얼 데이터 신호를 출력하는 장치.According to claim 2,
Each of the plurality of slaves cascaded to each other
8 clocks after receiving the chip select signal,
A device that activates the next stage and outputs a serial clock and serial data signal.
상기 설정 바이트는,
상기 슬레이브의 데이터 기입과 판독을 제어하는 리드/라이트(read/write) 설정 비트와,
상기 슬레이브의 동작 모드 또는 상기 복수의 슬레이브들 중 목적하는 슬레이브를 설정하는 패킷 처리 비트들 및
상기 캐스케이드로 연결된 복수의 슬레이브들을 거쳐 데이터가 전파됨에 따라 상기 패킷 처리 비트가 감소하거나 증가하도록 설정하는 증감 설정 비트를 포함하는 장치.According to claim 1,
The setting byte,
A read/write setting bit for controlling data writing and reading of the slave;
Packet processing bits for setting an operation mode of the slave or a desired slave among the plurality of slaves, and
And an increase/decrease setting bit that sets the packet processing bit to decrease or increase as data propagates through a plurality of slaves connected to the cascade.
상기 호스트는
상기 캐스케이드로 연결된 각 슬레이브를 거쳐 데이터가 전파함에 따라 상기 패킷 처리 비트가 감소하도록 상기 증감 설정 비트를 설정하고,
상기 패킷 처리 비트가 감소함에 따라 상기 목적하는 슬레이브에서 미리 설정된 값이 되도록 설정하며,
상기 목적하는 슬레이브에서 데이터 기입 또는 판독을 수행하도록 상기 리드/라이트(read/write) 설정 비트를 설정하는 장치.According to claim 4,
The host
The increase/decrease setting bit is set so that the packet processing bit decreases as data propagates through each slave connected to the cascade,
As the packet processing bit decreases, the target slave is set to a preset value,
An apparatus for setting the read/write setting bit to perform data writing or reading at the target slave.
상기 호스트는
상기 어드레스 바이트를 통하여 데이터 기입 또는 판독을 수행할 상기 레지스터의 상기 어드레스를 출력하고
상기 데이터 바이트로 기입할 데이터를 출력하는 장치.The method of claim 5,
The host
And outputting the address of the register to perform data writing or reading through the address byte.
An apparatus for outputting data to be written in the data bytes.
상기 호스트는
상기 캐스케이드로 연결된 복수의 슬레이브들이 동일한 데이터를 기입하도록 상기 설정 바이트를 설정하여 출력하는 장치.According to claim 4,
The host
A device for setting and outputting the setting byte so that a plurality of slaves connected to the cascade write the same data.
상기 호스트는 상기 어드레스 바이트를 통하여 데이터 기입을 수행할 상기 레지스터의 상기 어드레스를 출력하고,
기입할 데이터를 상기 데이터 바이트로 출력하는 장치.The method of claim 7,
The host outputs the address of the register to perform data writing through the address byte,
An apparatus for outputting data to be written in the data bytes.
상기 슬레이브는 디지털 전광판(digital signage)를 제어하는 콘트롤러(controller)인 장치.
According to claim 1,
The slave device is a controller that controls a digital signage.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190009324A KR102235290B1 (en) | 2019-01-24 | 2019-01-24 | Host and slave apparatus having cascade connection structure |
CN201980003582.XA CN112470137A (en) | 2019-01-24 | 2019-12-26 | Master and slave device having cascade structure |
PCT/KR2019/018485 WO2020153616A2 (en) | 2019-01-24 | 2019-12-26 | Host and slave device having cascade-connected structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190009324A KR102235290B1 (en) | 2019-01-24 | 2019-01-24 | Host and slave apparatus having cascade connection structure |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200092146A true KR20200092146A (en) | 2020-08-03 |
KR102235290B1 KR102235290B1 (en) | 2021-04-02 |
Family
ID=71735783
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190009324A KR102235290B1 (en) | 2019-01-24 | 2019-01-24 | Host and slave apparatus having cascade connection structure |
Country Status (3)
Country | Link |
---|---|
KR (1) | KR102235290B1 (en) |
CN (1) | CN112470137A (en) |
WO (1) | WO2020153616A2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230083487A (en) * | 2021-12-03 | 2023-06-12 | 베이징 신냉 일렉트로닉 테크놀로지 씨오.,엘티디 | Fault robust display driving method |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114935904A (en) * | 2022-06-09 | 2022-08-23 | 浙江工业大学 | General master-slave controller system for cascade communication |
CN116132218A (en) * | 2023-03-30 | 2023-05-16 | 杭州协能科技股份有限公司 | Communication system of master machine and multi-slave machine and communication method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194731A (en) * | 2008-02-15 | 2009-08-27 | Fujitsu Ltd | Slave device, and system and method for data transmission |
KR101160998B1 (en) * | 2011-12-15 | 2012-07-02 | 임종삼 | High-speed seriesparallel cascade transmission device by small capacity ring memory |
JP2018045409A (en) * | 2016-09-14 | 2018-03-22 | 富士ゼロックス株式会社 | Data transmitter/receiver, and data transmission/reception system |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1251283A (en) * | 1985-06-03 | 1989-03-14 | Michael Deering | Video stream processing system |
KR100505600B1 (en) * | 1998-04-13 | 2005-09-26 | 삼성전자주식회사 | Programmable microcontroller including a serial interface circuit and data writing/reading method thereof |
US6772251B1 (en) * | 2001-05-04 | 2004-08-03 | Cypress Semiconductor Corporation | Bit interleaved data serial interface |
US7533106B2 (en) * | 2005-09-09 | 2009-05-12 | Quickfilter Technologies, Inc. | Data structures and circuit for multi-channel data transfers using a serial peripheral interface |
JP4978421B2 (en) * | 2007-10-24 | 2012-07-18 | セイコーエプソン株式会社 | Data communication system and communication control device |
CN102023945B (en) * | 2009-09-22 | 2012-03-28 | 鸿富锦精密工业(深圳)有限公司 | Serial peripheral interface bus-based equipment and data transmission method thereof |
CN102147778B (en) * | 2010-02-05 | 2013-09-11 | 杭州华三通信技术有限公司 | Data transmission system based on half-duplex serial bus and transmission control method |
US20120210059A1 (en) * | 2011-02-11 | 2012-08-16 | Ithaca Technologies, Llc | Cascaded raid controller |
EP2645638A1 (en) * | 2012-03-29 | 2013-10-02 | Robert Bosch Gmbh | Communication system with chain or ring topology |
US9274997B2 (en) * | 2012-05-02 | 2016-03-01 | Smsc Holdings S.A.R.L. | Point-to-point serial peripheral interface for data communication between devices configured in a daisy-chain |
CN103488600B (en) * | 2013-10-08 | 2016-08-17 | 江苏物联网研究发展中心 | General from machine synchronous serial interface circuit |
CN103838700A (en) * | 2014-02-20 | 2014-06-04 | 江苏理工学院 | level multiplexing control serial communication device and communication method thereof |
JP6445890B2 (en) * | 2015-02-13 | 2018-12-26 | 新日本無線株式会社 | Communication method and communication system |
CN105116830B (en) * | 2015-07-27 | 2018-04-03 | 深圳市合信自动化技术有限公司 | A kind of PLC control system and PLC expansion bus implementation methods |
CN205563198U (en) * | 2016-04-22 | 2016-09-07 | 艾德克斯电子(南京)有限公司 | High -speed real -time power parallel system |
US10642769B2 (en) * | 2017-03-24 | 2020-05-05 | Analog Devices Global Unlimited Company | Serial peripheral interface daisy chain mode system and apparatus |
-
2019
- 2019-01-24 KR KR1020190009324A patent/KR102235290B1/en active IP Right Grant
- 2019-12-26 WO PCT/KR2019/018485 patent/WO2020153616A2/en active Application Filing
- 2019-12-26 CN CN201980003582.XA patent/CN112470137A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194731A (en) * | 2008-02-15 | 2009-08-27 | Fujitsu Ltd | Slave device, and system and method for data transmission |
KR101160998B1 (en) * | 2011-12-15 | 2012-07-02 | 임종삼 | High-speed seriesparallel cascade transmission device by small capacity ring memory |
JP2018045409A (en) * | 2016-09-14 | 2018-03-22 | 富士ゼロックス株式会社 | Data transmitter/receiver, and data transmission/reception system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230083487A (en) * | 2021-12-03 | 2023-06-12 | 베이징 신냉 일렉트로닉 테크놀로지 씨오.,엘티디 | Fault robust display driving method |
Also Published As
Publication number | Publication date |
---|---|
WO2020153616A2 (en) | 2020-07-30 |
CN112470137A (en) | 2021-03-09 |
WO2020153616A3 (en) | 2020-12-17 |
KR102235290B1 (en) | 2021-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1217602B1 (en) | Updating image frames in a display device comprising a frame buffer | |
KR101329850B1 (en) | Semiconductor device and data processing system | |
KR102235290B1 (en) | Host and slave apparatus having cascade connection structure | |
US20140173322A1 (en) | Packet data id generation for serially interconnected devices | |
US4815033A (en) | Method and apparatus for accessing a color palette synchronously during refreshing of a monitor and asynchronously during updating of the palette | |
US7757054B2 (en) | Memory control system and memory data fetching method | |
JP4667773B2 (en) | Memory system having data inversion and data inversion method in memory system | |
JPS5987569A (en) | Automatic continuous processing circuit of data | |
US20030184550A1 (en) | Virtual frame buffer control system | |
US20160012802A1 (en) | Method of operating display driver integrated circuit and method of operating image processing system having the same | |
US20090125663A1 (en) | Interface arrangement, especially for a system on a chip, and use thereof | |
CN104021099A (en) | Method for controlling data transmission and DMA controller | |
US20080101374A1 (en) | Packet fifo | |
US4459662A (en) | Microcomputer having ROM mass memory for downloading main RAM memory with microcomputer instructions | |
US4747038A (en) | Disk controller memory address register | |
KR100282519B1 (en) | Data read speed improvement circuit of flash memory | |
KR20040031155A (en) | Memory control apparatus of performing data writing on address line | |
EP0382342A2 (en) | Computer system DMA transfer | |
JP2566911B2 (en) | Dual port memory | |
CN203561981U (en) | Embedded laser projector controller with MP3 audio output function | |
KR100259293B1 (en) | On-screen display apparatus of digital tv | |
CN100419851C (en) | System and method for controlling display of mobile terminal | |
CN116320212A (en) | USB video acquisition card based on FPGA and working method thereof | |
KR100234691B1 (en) | Data transmission apparatus of computer peripheral device | |
JPS6398758A (en) | Dma controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |