@@ -13,7 +13,7 @@ def __init__(self, charging_current: RangeLike):
1313 current_limits = (0 , 5 )* Amp # up to 5A charge / system current
1414 )) # internal switch specs not defined, only bulk current limit defined
1515 self .vin = self .Port (VoltageSink (
16- voltage_limits = (3.9 , 16 )* Volt , # abs max up to 26v, UV threshold up to 3.45
16+ voltage_limits = (3.9 , 26 )* Volt , # abs max up to 26v, UV threshold up to 3.45
1717 current_draw = self .sw .link ().current_drawn # TODO quiescent current
1818 ), [Power ])
1919 self .pmid = self .Port (VoltageSource (
@@ -89,7 +89,7 @@ def contents(self) -> None:
8989 '9' : self .pg ,
9090 '11' : self .stat ,
9191 },
92- mfr = 'Texas Instruments ' , part = 'MP2722GRH-0000-P' ,
92+ mfr = 'Monolithic Power Systems Inc. ' , part = 'MP2722GRH-0000-P' ,
9393 datasheet = 'https://www.monolithicpower.com/en/documentview/productdocument/index/version/2/document_type/Datasheet/lang/en/sku/MP2722GRH/document_id/10035/'
9494 )
9595 self .assign (self .lcsc_part , 'C20099550' )
@@ -135,7 +135,6 @@ def contents(self):
135135
136136 # TODO only allow subset of frequencies, based on SW_FREQ table
137137 self .require (self .frequency .within ((630 , 1680 )* kHertz ))
138- self .frequency .upper () - self .frequency .center ()
139138 self .assign (self .actual_frequency , self .frequency )
140139
141140 self .connect (self .ic .batt , self .ic .battsns ) # TODO allow remote sense
0 commit comments