Move thermal model parameters to DTS
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
model = "Libre Solar MPPT 1210 HUS v0.4";
|
||||
compatible = "st,stm32l073";
|
||||
|
||||
charge-controller {
|
||||
pcb {
|
||||
compatible = "charge-controller";
|
||||
hs-voltage-max = <40>;
|
||||
ls-voltage-max = <16>;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
model = "Libre Solar MPPT 1210 HUS v0.7";
|
||||
compatible = "st,stm32l073";
|
||||
|
||||
charge-controller {
|
||||
pcb {
|
||||
compatible = "charge-controller";
|
||||
hs-voltage-max = <40>;
|
||||
ls-voltage-max = <16>;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
charge-controller {
|
||||
pcb {
|
||||
compatible = "charge-controller";
|
||||
hs-voltage-max = <80>;
|
||||
ls-voltage-max = <32>;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
model = "Libre Solar MPPT 2420 LC v0.10";
|
||||
compatible = "st,stm32f072";
|
||||
|
||||
charge-controller {
|
||||
pcb {
|
||||
compatible = "charge-controller";
|
||||
hs-voltage-max = <55>;
|
||||
ls-voltage-max = <32>;
|
||||
|
||||
@@ -17,12 +17,6 @@
|
||||
|
||||
#define LOAD_CURRENT_MAX 15 // PCB maximum load switch current
|
||||
|
||||
// The MCU, where internal temperature is measured, is close to the MOSFETs. Tests showed that
|
||||
// temperature at heat sink is only 10-20°C above measured internal temp. As PWM CC doesn't
|
||||
// use electrolytic cap for core charging function, internal temperature of 70°C can be allowed.
|
||||
// This value is used for thermal overcurrent model.
|
||||
#define INTERNAL_MAX_REFERENCE_TEMP 70
|
||||
|
||||
#define PIN_UEXT_TX PA_2
|
||||
#define PIN_UEXT_RX PA_3
|
||||
#define PIN_UEXT_SCL PB_6
|
||||
|
||||
@@ -11,10 +11,15 @@
|
||||
model = "Libre Solar PWM 2420 LUS v0.3";
|
||||
compatible = "st,stm32l073";
|
||||
|
||||
charge-controller {
|
||||
pcb {
|
||||
compatible = "charge-controller";
|
||||
hs-voltage-max = <55>;
|
||||
ls-voltage-max = <32>;
|
||||
// The MCU, where internal temperature is measured, is close to the MOSFETs. Tests
|
||||
// showed that temperature at heat sink is only 10-20°C above measured internal
|
||||
// temp. As PWM CC doesn't use electrolytic cap for core charging function,
|
||||
// internal temperature of 70°C can be allowed (instead of default 50°C).
|
||||
internal-tref-max = <70>;
|
||||
};
|
||||
|
||||
pwm-switch {
|
||||
|
||||
Reference in New Issue
Block a user