User manual
Code Mercenaries
17
II
II
OO
OO
--
--
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
55
55
66
66
5.10.3.1 SPI CPHA / CPOL
If CPOL and CPHA are = 0 data is driven on the
falling edges of SCK (green lines) and sampled on
the rising edges (blue lines). The first bit is driven
before the first rising edge on SCK.
For CPOL = 0 and CPHA = 1 data is driven on the
rising edges of SCK (blue lines) and sampled on
the falling edges (green lines). The first bit is
driven on the first rising edge of SCK.
For CPOL = 1 and CPHA = 0 data is driven on the
rising edges of SCK (green lines) and sampled on
the falling edges (blue lines). The first bit is driven
before the first falling edge of SCK.
For CPOL = 1 and CPHA = 1data is driven on the
falling edges of SCK (blue lines) and sampled on
the rising edges (green lines). The first bit is driven
on the on the first falling edge of SCK.
V 1.0.3, November 6nd 2012 for chip version V1.1.0.1