Summary

APB2SPI
Community
Lane Brooks
Soft IP
Ubixum, Inc
N/A
SPI

Licensing

$0
$0

Maturity

silicon
1

Library Package

1.0
Oct 31, 2009

Certifications

icon Community Certified

Description

The Serial Pheripheral Interface (SPI) is a synchronous serial communication interface specification used for short-distance communication.

To use: set the DATA_WIDTH parameter at instatiation. Then, put the input data in 'datai' register, and set the 'Go' signal. The bits of 'datai' will get serially shifted out to the device and the bits coming back from the device will get serially shifted into the 'datao' register.

The NUM_PORTS parameter can be used when the 'csb' and 'sclk' lines are shared with multiple devices and the 'din' and 'dout' lines are unique. 'din' and 'dout' become of width NUM_PORTS ports, and 'datai' and 'datao' become DATA_WIDTH*NUM_PORTS wide.

APB compatible. 

Features

  • configures clock polarity and clock phase
  • configures the clock, using a frequency supported by the slave device.
  • APB compatible