SPI Master Init

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Revision as of 10:22, 5 May 2017 by Jasonvankolfschoten (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about SPI Master Init

The 'SPI Master Init' block initializes a SPI master channel.

Block

SPIMasterInitBlock.png

Mask

SPIMasterInitMask.png

Block parameters

Parameter Description
Channel Select the SPI channel to use.
Communication speed Select the frequency of the SPI clock signal.
Polarity Select the polarity of the SPI clock signal during idle.
Phase Select the edge of the SPI clock signal at which time a bit should be sampled.

Examples

MPU6500

See Also

SPI master transfer