Method for realizing multi-line SPI (Serial Peripheral Interface) transmission based on multiple single-line SPIs
The invention belongs to the field of microcontrollers and peripheral communication interfaces thereof, and discloses a method for realizing multi-wire SPI (Serial Peripheral Interface) transmission based on multiple single-wire SPIs (Serial Peripheral Interface), which comprises the following steps...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention belongs to the field of microcontrollers and peripheral communication interfaces thereof, and discloses a method for realizing multi-wire SPI (Serial Peripheral Interface) transmission based on multiple single-wire SPIs (Serial Peripheral Interface), which comprises the following steps of: 1, configuring N general standard single-wire SPI protocol interfaces in a software configuration protocol mode, and configuring N general standard single-wire SPI master devices and N SPI slave devices, the N general standard single-line SPI interface master devices are respectively connected to the N SPI slave devices; step 2, configuring broadcast write operation of registers for different SPI interfaces; and step 3, realizing multi-line or single-line SPI interface transmission by configuring opening or closing of the broadcast mode. According to the invention, multi-line SPI transmission is realized by multiplexing a plurality of original single-line SPIs, and the transmission efficiency is further improv |
---|