Back to results
US 11,768,785 B2Granted
Serial peripheral interface circuit and calibration method of serial peripheral interface system
AssigneePrime World International Holdings Ltd.
InventorsHung-Yi Lai, Cheng-Hung Ho, Hsin-Wen Lin
Life of this patent
Estimating the term…
Abstract
A serial peripheral interface circuit includes a serial peripheral interface device with a master-in-slave-out (MISO) line, a master-out-slave-in (MOSI) line, a serial clock (SCLK) line and a slave select (SS) line, a first conducting line, a second conducting line, a first resistor connecting the MISO line and the first conducting line, and a second resistor connecting the MOSI line and the second conducting line.
Claims10
A serial peripheral interface circuit, comprising:
- a serial peripheral interface device with a master-in-slave-out (MISO) line, a master-out-slave-in (MOSI) line, a serial clock (SCLK) line and a slave select (SS) line, wherein the serial peripheral interface is a master device;
- a first conducting line;
- a second conducting line;
- a first resistor connecting the MISO line and the first conducting line;
- and
- a second resistor connecting the MOSI line and the second conducting line;
- and
- a slave device comprising a MISO port connected to the first conducting line, a MOSI port connected to the second conducting line, a SCLK port connected to the SCLK line and a SS port connected to the SS line, wherein the serial peripheral interface circuit is configured to be calibrated by:
- measuring a first voltage on the MISO line when the slave device outputs a first logic high signal through the first conducting line;
- measuring a second voltage on the second conducting line when the master device outputs a second logic high signal through the MOSI line;
- and
- replacing the first resistor with a third resistor and replacing the second resistor with a fourth resistor when the first voltage is not higher than a high-level input voltage of the master device or the second voltage is not higher than a high-level input voltage of the slave device, wherein the resistance of the third resistor is larger than the first resistor, and the resistance of the fourth resistor is larger than the second resistor.
9 more elements
A calibration method of a serial peripheral interface system, comprising:
- providing the serial peripheral interface system comprising a serial peripheral interface circuit, wherein the serial peripheral interface circuit comprises:
- a serial peripheral interface device with a MISO line, a MOSI line, a SCLK line and a SS line;
- a first conducting line;
- a second conducting line;
- a first resistor connecting the MISO line and the first conducting line;
- a second resistor connecting the MOSI line and the second conducting line;
- and
- a slave device comprising a MISO port connected to the first conducting line, a MOSI port connected to the second conducting line, a SCLK port connected to the SCLK line and a SS port connected to the SS line,
- wherein the serial peripheral interface is a master device;
- measuring a first voltage on the MISO line when the slave device outputs a first logic high signal through the first conducting line;
- measuring a second voltage on the second conducting line when the master device outputs a second logic high signal through the MOSI line;
- and
- replacing the first resistor with a third resistor and replacing the second resistor with a fourth resistor when the first voltage is not higher than a high-level input voltage of the master device or the second voltage is not higher than a high-level input voltage of the slave device, wherein the resistance of the third resistor is larger than the first resistor, and the resistance of the fourth resistor is larger than the second resistor.
10 more elements
Dependencies are inferred from the claim text.