Hardware layout and configuration
UM1521
22/56
Doc ID 022868 Rev 1
The LCD glass module has to be mounted in IO position for comparator usage. Refer to
for detail.
2.18 Temperature
sensor
Temperature sensor STLM75M2E is connected to the I2C bus of the STM32L152ZDT6
through two transistors to support a wide voltage range from 1.65 V to 3.6 V on the I2C bus.
I2C address of temperature sensor is 0b100100(A0), A0 can be 0 or 1 according to SB9.
The LCD glass module has to be mounted on IO position for temperature sensor usage.
Refer to
for detail.
Table 18.
Comparator, LDR and potentiometer related jumpers
Jumper
Description
Setting
JP2
PB4 is connected to LDR_OUT when JP2 is set as shown to the right:
PB4 is connected to TRST when JP2 is set as shown to the right:
(
Default setting
).
JP13
Potentiometer RV3 is connected to ADC input PF10 used as ADC input
when JP13 is set as shown to the right: (
Default setting
).
PF1
0
PB3
PB5
Potentiometer RV3 used as LDR variable threshold input is connected to
comparator inverting input GPCOMP_IN- (PB3) when JP13 is set as shown
to the right:
PF10
PB3
PB5
Potentiometer RV3 is connected to non inverting input
GP(PB5). The comparator inverting input can be connected to
¼ band gap, ½ band gap, band gap or DAC internally in order to test the
possibility to wakeup the MCU when an external voltage reaches a
programmable threshold when JP13 is set as shown to the right:
PF1
0
PB3
PB5
JP14
PB5 is connected to I2C_SMB, the interrupt output of temperature sensor
U24 when JP14 is closed (
Default setting
).
PB5 is disconnected from I2C_SMB but remains connected to
when JP14 is open for comparator application.
Table 19.
Temperature sensor related solder bridge
Solder bridge
Description
SB9
I2C address A0 is 0 when SB3 is open. (
Default setting
)
I2C address A0 is 1 when SB3 is closed.
www.BDTIC.com/ST