SPI Read for C2407, Cortex M3, Delfino, F280x, F281X, MSP430, Piccolo, STM32

Target Category: C2407, Cortex M3, Delfino, F280x, F281X, MSP430, Piccolo, STM32

Target Sub-Category: SPI

Description: The SPI Read block is a serial peripheral interface block for receiving data from certain hardware chips, like analog I/O chips. Use SPI Config to configure the hardware settings.

Additional Information: The Embed SPI Transmission Forum entry.

 

Block Output: Determines the type of information the block receives.

Data: Data bits received.
Port Status: Hardware status.
Receive Queue Empty: True if empty.
Receive Queue Length: Specifies the length of the receive queue.
Receive Queue Max Length:
Specifies the maximum length of the receive queue.
Receive Queue Overrun:
True if queue has overflow.
Transmit Queue Full: True if full.
Transmit Queue Length: Specifies the length of the transmit queue.
Transmit Queue Max Length:
Specifies the maximum length of the transmit queue.

Data Bits to Extract from Received Bits: Sets the number of data bits, which can be smaller than the number of received bits. The received bit count is set in the SPI Config dialog box.

LSB of Extracted Data: Sets the least significant bit of data, allowing you to locate the data in the received word.

Radix Point: Sets the radix point.

Received Bits: Indicates the number of bits to be received. This value is set in SPI Config block.

Result Data Type: Specifies the data type of the data value produced.

Unit: Specifies the unit number.

Word Size: Specifies the word size.