Simulink Reset Config Block Icon
The Simulink Reset Config block configures microcontroller reset behavior, startup initialization sequence, and watchdog timer settings.

When to use:

When to use:

  • Watchdog timer configuration needed (auto-reset on software hang)
  • Brown-out reset handling required (low voltage detection)
  • Startup delay needed for sensor stabilization or power-up sequencing
  • Custom reset behavior (preserve critical variables across reset)
  • Logging reset sources for field diagnostics (POR, BOR, WDT, external)

When NOT to use:

  • Default reset behavior sufficient โ€” Master block configures basic reset settings
  • No watchdog needed (not safety-critical, no hang risk)
  • Simple applications with no special startup requirements
  • Master โ€” Watchdog fuse configuration
  • Idle Task โ€” Watchdog servicing

Parameters

ParameterDescriptionOptions
Reset BehaviorAction on system resetโ€ข Initialize all variables
Watchdog TimerConfigure WDT operationโ€ข Enabled (auto-reset)
Startup DelayInitial delay before main loop0 to 1000 ms
Brown-out HandlingLow voltage detection behaviorโ€ข Reset on brown-out

Reset Sources

SourceDescriptionTypical Handling
Power-On Reset (POR)Initial power applicationFull initialization
Brown-Out Reset (BOR)Voltage drop detectionFull initialization
Watchdog TimeoutWDT not servicedFull reset, log error
Software ResetIntentional reset commandConfigurable (preserve state)
External ResetMCLR pin assertionFull initialization

Example Configuration

% Safety-critical application with WDT

Reset Behavior: Initialize all variables
Watchdog Timer: Enabled, 1000ms period
Startup Delay: 100ms (allow power stabilization)
Brown-out: Reset on brown-out

% Log reset source in EEPROM for diagnostics

Usage Guidelines

  • Always enable watchdog for safety-critical applications
  • Use startup delay for sensor stabilization
  • Log reset sources for field diagnostics
  • Test all reset scenarios during validation