Changeset 26 for trunk/fw_g473rct/SES/inc/sysdata.h
- Timestamp:
- Sep 8, 2025, 6:57:30 PM (7 weeks ago)
- File:
-
- 1 edited
-
trunk/fw_g473rct/SES/inc/sysdata.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fw_g473rct/SES/inc/sysdata.h
r25 r26 19 19 #define UNIQUE_NAME(base) CONCAT(base, __COUNTER__) // according to template "baseX", like "base1", "base2" and etc. 20 20 21 #define SAMPLE_ARRAY_SIZE 3221 #define SAMPLE_ARRAY_SIZE 64 22 22 23 23 //------------------------------------------------------------------------------ … … 58 58 uint16_t ibn_year; // 16 Inbetriebnahme Datum: Jahr 59 59 uint16_t user_id; // 17 Freies Feld für eine Kunden ID oder ähnlich 60 uint16_t test[8]; // 18-25 RESERVIERT60 uint16_t test[8]; // 18-25 RESERVIERT 61 61 62 62 //--- Konfiguration Schaltausgänge --- … … 103 103 int16_t extraDischargeStrom_mA; // 56 104 104 uint16_t cefW; // 57 CeF for Wh calculations 105 uint16_t lvpMode; // 58-59 RESERVIERT 106 uint16_t ovpMode; // 58-59 RESERVIERT 107 105 uint16_t lvpMode; // 58 106 uint16_t ovpMode; // 59 108 107 // ------- Calibration Parameter ----- 109 108 int32_t batteryCurrentOffset; // 60-61 Offset bei Raumtemperatur ADC Schritte … … 119 118 int32_t batteryCurrentOffsetTemperatureCompensationFactor; // 72-73 Berechnete Temperatur Kompensation für Strom Offset 120 119 121 int32_t batteryCurrentGainCorrectionFaktor;// 74-75 Gain Korrektur Faktor * 1000000120 uint32_t batteryCurrentGainCorrectionFaktor; // 74-75 Gain Korrektur Faktor * 1000000 122 121 int16_t batteryCurrentGainRefTempShunt; // 76 Gesicherte Temperatur Shunts bei Gain Kallibrierung 123 122 int16_t batteryCurrentGainRefTempChip; // 77 Gesicherte Temperatur Chip bei Gain Kallibrierung … … 129 128 int16_t batteryCurrentGainTemperatureCalibrationChipTemperature; // 84 Gesicherte Chip Temperatur bei Start der Gain Temperatur Kompensation 130 129 int16_t UNIQUE_NAME(reserved); // 85 reserviert 131 int32_t batteryCurrentGainTemperatureCompensationChipFactor; // 86-87 zustzlicher Kalibrierungsfaktor, nicht in Verwendung 132 133 uint32_t UNIQUE_NAME(reserved)[6]; 130 int32_t batteryCurrentGainTemperatureCompensationChipFactor; // 86-87 zuszätzlicher Kalibrierungsfaktor, nicht in Verwendung 131 int32_t batteryCurrentOffsetFast; // 88-89 Korrektur in STM32 ADC Messung Gain, Strommessung 132 uint32_t batteryCurrentGainCorrectionFaktorFast; // 90-91 Korrektur in STM32 ADC Messung Gain, Strommessung 133 int16_t batteryEmptyDetectionMode; // 92 0= Alt, Nach Batteriespannungsmessung von greenmeter, 1= Neu Auto BMS Mode, Erkennung mit LVP Leitung, geht erst ab smartPro Hardware 134 uint16_t UNIQUE_NAME(reserved)[7]; 134 135 135 136 } device_parameter_t; … … 181 182 /* 4 of 8 */ int32_t mWh_AutoMode; // 164-165 182 183 /* 6 of 8 */ uint16_t UNIQUE_NAME(reserved); // 166 183 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 167 184 /* 8 of 8 */ uint16_t UNIQUE_NAME(reserved); // 167r 184 185 /* 2 of 8 */ uint16_t ovp_sense; // 168 185 186 /* 4 of 8 */ uint16_t lvp_sense; // 169 … … 200 201 /* 2 of 8 */ uint16_t uBatEmptyTempComp; // 192 [mV] 201 202 /* 4 of 8 */ uint16_t adc_restarts; // 193 202 /* 6 of 8 */ int 16_t UNIQUE_NAME(reserved);// 194 Reserviert203 /* 8 of 8 */ int16_t UNIQUE_NAME(reserved); // 195 Reserviert203 /* 6 of 8 */ int32_t power_Fast; // 194 Reserviert 204 /* 8 of 8 */// int16_t UNIQUE_NAME(reserved); // 195 Reserviert 204 205 /* 4 of 8 */ int32_t battryCurrentRaw; // 196-197 Gemessener Strom in ADC Schritte Ohne Korrekturen 205 206 /* 8 of 8 */ int32_t batteryCurrentOffsetCommonModeCorrectionADCSteps; // 198-199 Offset Korrektur Wert aufgrund Common Mode Error … … 211 212 /* 6 of 8 */ uint16_t selfDischargeTime; // 207 212 213 /* 8 of 8 */ uint8_t message[20]; // 208-219 ASCII-char message, limited to 20 letters 213 /* 4 of 8 */ int 32_t current_buffer[SAMPLE_ARRAY_SIZE]; // 220-283214 /* 8 of 8 */ int 32_t voltage_buffer[SAMPLE_ARRAY_SIZE]; // 284-347215 /* 4 of 8 */ int 32_t current_buffer_fast[SAMPLE_ARRAY_SIZE]; // 348-411216 /* 8 of 8 */ int 32_t voltage_buffer_fast[SAMPLE_ARRAY_SIZE]; // 412-475214 /* 4 of 8 */ int16_t current_buffer[SAMPLE_ARRAY_SIZE]; // 220-283 215 /* 8 of 8 */ int16_t voltage_buffer[SAMPLE_ARRAY_SIZE]; // 284-347 216 /* 4 of 8 */ int16_t current_buffer_fast[SAMPLE_ARRAY_SIZE]; // 348-411 217 /* 8 of 8 */ int16_t voltage_buffer_fast[SAMPLE_ARRAY_SIZE]; // 412-475 217 218 218 219 } device_values_t;
Note: See TracChangeset
for help on using the changeset viewer.
