Projekt

Allgemein

Profil

Eval » Historie » Revision 8

Revision 7 (Maximilian Seesslen, 01.12.2025 15:54) → Revision 8/10 (Maximilian Seesslen, 01.12.2025 15:59)

h1. Eval

Pairs of Switch-output and PWM can be targets.

List of alarms with actions. Time, Target + values.

E.g.
08:00: Sleeping room ambient light on; 90%
16:00: Plant lamp 1 On
18:00: Plant lamp 1 Off

Device knows the reason of the wake.
It also has five 32-bit backup registers. They can be used to track the reason for waking up.

Test mode wakes device now+10 secods instead of real alarm time.



h2. Stop

Device may not shut down when alarm is ongoing. It can go to "stop" mode and be waken up from RTC. SRAM is also kept valid.
CAN messages are ignored.

It can not go to "standby", GPIOs are lost.

| **Kriterium** | **Sleep-Modus** | **Stop-Modus** |
| **Stromverbrauch** | Höher (CPU aus, Peripherie aktiv) – typ. **~1 mA** | Sehr niedrig (fast alles aus) – typ. **~10–50 µA** |
| **CAN-Peripherie aktiv** | **Ja**, empfängt Nachrichten | **Nein**, komplett deaktiviert |
| **Wake-up durch CAN** | **Direkt möglich**, keine Datenverluste | **Nicht direkt möglich**, nur über EXTI am RX-Pin |
| **Datenverlust** | **Kein Verlust**, Nachrichten werden verarbeitet | **Erste Nachricht geht verloren** |
| **Implementierungsaufwand** | Gering (Standard Sleep-Konfiguration) | Höher (EXTI für RX-Pin, CAN-Reinit nach Wake-up) |
| **Wake-up Zeit** | Sehr kurz (µs–ms) | Länger (ms-Bereich, inkl. Reinitialisierung) |



h2. Log code history

Store logs e.g. when there was no external power available.

h2. Adhoc alarm

Queues durations with start timers.