Firmware Requirements Specification For the Aisle Containment Lighting Kit
This document specifies the firmware requirements for the Aisle Containment Lighting Kit. The purpose of this document is to identify the LK functional requirements in sufficient detail to allow firmware engineers to design the application firmware without ambiguity of required function, and also identify these
requirements in sufficient detail to allow QA engineers to design acceptable verification test procedures.
This document defines the behavioral requirements for operation of a single LK, and a set of LKs operating as a group.
3 Definitions and Acronyms
4 System Identification and Overview
4.1 System Block Diagram
4.2 LK Hardware/Firmware Interface
1. Motion Detect signal
2. Override Switch signal
3. Group Control signal
4. Lighting On Time Configuration switch
5. Power Supply health signal
6. Power Supply health LED
7. RS232 port
5 Required States and Modes
6.1 Behavioral Requirements
6.1.1 Light Control
When motion is detected, the firmware shall (FRS-100) turn the lights on for the amount of configured time. If motion is detected while the lights are already on, the firmware shall (FRS-110) reset the light timer. If the configured lighting time is changed while the lights are on, the firmware shall (FRS-120) immediately
honor the newly configured time.
6.1.2 LK Group Control
When motion is detected, the firmware shall (FRS-200) propagate the motion detected signal to other connected devices. When a motion detected signal is detected originating from a different LK, the firmware shall (FRS-210) handle the signal as if motion were locally detected.
The firmware shall (FRS-300) utilize a RS232 port for firmware upgrades as defined in the table below.
6.1.4 Fault Handling/Tolerance
If the power supply is not healthy, firmware shall (FRS-400) turn the lights off immediately and keep them off until the power supply is healthy.
6.2 Interface Requirements
6.2.1 Customer Interface
The firmware shall (FRS-500) read the state of a multi-position switch to determine the lighting on time. If an override button press is detected, the firmware shall (FRS-510) immediately turn the lights off and ignore any motion detection signal for 10s. The firmware shall (FRS-520) monitor the health of the power
supply. The firmware shall (FRS-530) illuminate the appropriate LED when a power supply is healthy.
6.2.2 Manufacturing Test
The firmware shall (FRS-600) utilize the protocol developed for the FM Series product to communicate with Automatic Test Equipment (ATE) via the Serial Port. The Serial Port configuration shall (FRS-610) be as defined in Table 3.
Table 3. Serial Port Settings for Factory Final Test
The firmware shall (FRS-620) transition to Factory Calibration mode from the Nominal operational mode when it receives the Enter Manufacturing Test command from the Serial Port on connector P6. It shall (FRS-630) remain in Manufacturing Test Mode until the unit is power-cycled. While in this mode, the firmware shall (FRS-640) provide the Automatic Test Equipment (ATE) with direct control of all peripherals. The firmware shall (FRS-650) also provide and any test or calibration algorithms that are necessary to verify correct operation of the hardware.