LIS302DL 3/4-wire SPI conflicts
werner at openmoko.org
Mon Jun 1 20:07:41 CEST 2009
?lvaro Lopes wrote:
> In our symbol for LIS302DL, we have SDI pin as Input, however this chip can use 3-wire or 4-wire SPI, and this pin is actually named "SDA/SDI/SDO". So we should
> put this as bidir, even if we do not use SPI 3-wire interface.
Agreed. We didn't follow the "copy what's in the datasheet" rule in
this case, but we should.
Also SDO isn't correct - in I2C mode, it's an input. Figure 5 of the
data sheet doesn't show this, but it's mentioned in table 2 and the
2nd paragraph of section 5.1.1.
More information about the Gta03