Skip to content

Commit 16e55fd

Browse files
committed
Fix: min current draw in the vdd
Add: port doc note for push-pull/open-drain
1 parent c22741d commit 16e55fd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

edg/parts/Lsm6dsv16x.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def __init__(self) -> None:
77
super().__init__()
88
self.vdd = self.Port(VoltageSink(
99
voltage_limits=(1.71, 3.6)*Volt,
10-
current_draw=(4*uAmp, 0.65*mAmp) # Values for low-power and high-performance modes
10+
current_draw=(2.6*uAmp, 0.65*mAmp) # Values for low-power and high-performance modes
1111
))
1212
self.vddio = self.Port(VoltageSink(
1313
voltage_limits=(1.08, 3.6) *Volt # Extended range
@@ -24,11 +24,11 @@ def __init__(self) -> None:
2424
self.i2c = self.Port(I2cTarget(dio_model))
2525

2626
dout_model = DigitalSource.low_from_supply(self.gnd)
27-
self.int1 = self.Port(dout_model, optional=True)
28-
self.int2 = self.Port(dout_model, optional=True)
27+
self.int1 = self.Port(dout_model, optional=True, doc="can be configured as push-pull / open-drain")
28+
self.int2 = self.Port(dout_model, optional=True, doc="can be configured as push-pull / open-drain")
2929

30-
qvar_model = DigitalSink(voltage_limits=(-0.46, 0.46)*Volt,
31-
current_draw=(2.6, 15)*uAmp)
30+
qvar_model = AnalogSink(voltage_limits=(-0.46, 0.46)*Volt,
31+
current_draw=(2.6, 15)*uAmp)
3232
self.qvar1 = self.Port(qvar_model, optional=True)
3333
self.qvar2 = self.Port(qvar_model, optional=True)
3434

0 commit comments

Comments
 (0)