I2C0 bus: J2 pin 12 (SDA) and J2 pin 11 (SCL); the signals (SCL and SDA) are connected to 4.7KΩ pull-up
resistor. This bus is shared with onboard I Csensor, LIS2DH12TR (b0011000x).
Steps to connect external I C sensors to QuickLogic Thing Plus board:
Ground connection
Power connection (+3.3V supplies); check supply voltage level meeting connecting module requirement
Connect SCL and SDA signals; check IO level (> +3.0V IO only)
Keep connecting wires as short as possible
Configure the I Caddress to avoid LIS2DH12TR assigned address (b0011000x)
Check SCL and SDA rise time (< 1000 ns for Standard mode and < 300 ns for Fast mode)
Note: You may need to use oscilloscope to validate the rise time for SCL and SDA to stay within rise time
specification
Note:
Refer to I2C- bus specification for details (UM10204)
LIS2DH12TR Accelerometer
The board includes the LIS2DH12TR triple axis accelerometer. Below is the reference axis of the IC based on the
datasheet. This sensor connected to the I C bus. The address for the accelerometer is set to 0b0011000 (0x18).
The accelerometer INT1 pin is connected to pin 3.
Sensor with SPI Peripheral Port
QuickLogic Thing Plus board supports connecting to sensor module with SPI peripheral interface via expansion
connectors J6 and J9: SPI CONTROLLER CLK (J6 pin 6), SPI CONTROLLER CIPO (J6 pin 4), SPI
CONTROLLER COPI (J6 pin 5) and SPI CONTROLLER CS2 (J9 pin 4).
2
2
2
2