Serial peripheral interface circuit
AssigneeHon Hai Precision Industry Co., Ltd.
InventorMing-Chih Hsieh
Life of this patent
Estimating the term…
Abstract
An exemplary serial peripheral interface circuit includes a host, a plurality of slaves, and a decoder. A data output terminal, a data input terminal, and a serial clock terminal of the host are connected to a data input terminal, a data output terminal, and a serial clock terminal of each slaves respectively. A slave select terminal of the host is connected to a data receive terminal of the decoder. GPIO pins of the hot are connected to corresponding input terminals of the decoder correspondingly. A select terminal of each slave is connected to a corresponding output terminal of the decoder. The address generated by the GPIO pins controls the decoder, so that the select terminal of the host can be connected to a corresponding slave device via the decoder.
Claims3
A serial peripheral interface (SPI) circuit comprising:
- a host comprising a data output terminal, a data input terminal, a serial clock terminal, a slave select terminal, and a plurality of general purpose input/output port (GPIO) terminals;
- a plurality of slaves each comprising a data input terminal connected to the data output terminal of the host, a data output terminal connected to the data input terminal of the host, a serial clock terminal connected to the serial clock terminal of the host, and a select terminal;
- and
- a decoder comprising an enable terminal, a plurality of input terminals, and a plurality of output terminals,
- wherein, an amount of the input terminals of the decoder is equal to an amount of the GPIO terminals of the host, the input terminals are connected to the GPIO terminals respectively, an amount of the output terminals of the decoder is equal to an amount of the slaves, the output terminals of the decoder are connected to the select terminals of the slaves respectively for selecting one of the slaves.
Dependencies are inferred from the claim text.