×

QSPI based methods of simultaneously controlling multiple SPI peripherals

  • US 9,734,099 B1
  • Filed: 04/27/2017
  • Issued: 08/15/2017
  • Est. Priority Date: 04/27/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of using a processor driven master QSPI (Quad Serial Peripheral Interface) interface to simultaneously and time-synchronously transmit data from a FIFO (First In First Out) buffer to a plurality of slave SPI interface peripherals, said method comprising:

  • using said processor to load said FIFO buffer for said master QSPI interface with at least two streams of time-synchronized data intended for simultaneous transmission to said plurality of slave SPI interface peripherals, wherein said FIFO buffer comprises a FIFO memory width of at least 4 bits;

    said master QSPI interface comprising at least a processor controlled SCLK (SPI Clock) clock output, and at least four FIFO buffer controlled QSPI data outputs configured to simultaneously transmit, in a processor controlled clock synchronized manner, at least four bits from said FIFO memory width, per SCLK clock cycle, from said FIFO buffer;

    each of said plurality of slave SPI interface peripherals comprising at least a SCLK clock input, a SS (Slave Select) chip select input, and a MOSI (Master Output Slave Input) input configured to receive data from said master QSPI interface;

    wherein said processor is configured to load said FIFO buffer with said at least two streams of time synchronized data,each stream occupying its own data stream specific bit position of said FIFO memory width, so that all streams can simultaneously occupy their own portions of said FIFO memory width when said FIFO buffer is transmitted, thus creating at least two Time Synchronized Data (TSD) lines over at least two of said FIFO buffer controlled QSPI data outputs;

    wherein said processor is further configured to load said FIFO buffer with at least one stream of slave SPI peripheral chip select commands configured to control when each of said plurality of slave SPI interface peripherals is to receive its particular stream of time synchronized data, each stream of slave SPI peripheral chip select commands occupying its own command stream specific bit position of said FIFO memory width when said FIFO buffer is transmitted, thus creating at least one Time Synchronized Programmable Chip Select (TSPCS) lines over at least one of said FIFO buffer controlled QSPI data outputs; and

    using said processor, said FIFO buffer, and said master QSPI interface to use said processor controlled SCLK clock output, and at least three of said four FIFO buffer controlled QSPI data outputs to simultaneously transmit said at least two streams of time synchronized data and said at least one stream of slave SPI peripheral chip select commands to said plurality of SPI interface peripherals.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×