Serial Peripheral Interface (SPI)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
395
19
Serial Peripheral Interface (SPI)
19.1
Product Overview
Ameba-D support Motorola Serial Peripheral Interface (SPI) – A four-wire, full-duplex serial protocol from Motorola.
19.1.1
Block Diagram
Fig 19-1 shows the following functional groupings of the main interfaces to the SPI block.
APB interface and DMA Controller Interface
Transmit and receive FIFO controllers and an FSM controller
Register block
Shift control and interrupt logic
Fig 19-1 SPI block diagram
19.1.2
Features
Ameba-D SPI has the following features:
Support Motorola SPI Serial interface operation
Support master or slave operation mode
Provide two SPI ports
SPI0 (High speed): configured as master or slave with Max. Baud rate: 50MHz.
SPI1 (Normal speed): configured as master with Max. Baud rate: 25MHz.
Support DMA interface for DMA transfer
Independent masking of interrupts
FIFO depth – The transmit and receive FIFO buffers 64 words deep. The FIFO width is fixed at 16 bits.
Hardware/software slave-select – Dedicated hardware slave-select lines can be used or software control can be used to target the serial-
slave device
Programmable features
Clock bit-rate – Dynamic control of the serial bit rate of the data transfer; used in only serial-master mode of operation.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03