English
Language : 

SAP5SD-A-G1-T Datasheet, PDF (26/63 Pages) List of Unclassifed Manufacturers – Universal Actuator-Sensor Interface IC
SAP5S / SAP51
Universal Actuator-Sensor Interface IC
3.4. Safety Area Programming
The Safety Area contains the cryptographic code table which consists of 8 data words and one swap-flag
each (refer to chapter 4.18 on page 47 for an explanation of the SAP5 Safety Mode). Similar to the Firmware
Area it can be protected against undesired data modification by setting the
Safety_Program_Mode_Disable flag to ‘1’, see Table 11.
NOTE: Once the Safety_Program_Mode_Disable flag is set, the Safety Area of the E²PROM is permanently
locked, i.e. write access to the Safety Area as described in chapter 3.4 is possible only as long as the
Safety_Program_Mode_Disable is set to ‘0’.
Table 11: SAP5 E²PROM - Safety Area Content
Logical
E²PROM
Address
1
2
3
4
5
6
7
8
31
Bit
Position
4
3…0
4
3…0
4
3…0
4
3…0
4
3…0
4
3…0
4
3…0
4
3…0
1
0
E²PROM Cell Content
Description
S_flag 0
swap flag 0
DI_S0 3 … 0
Data Input word 0 from Safety Code Table
S_flag 1
swap flag 1
DI_S1 3 … 0
Data Input word 1 from Safety Code Table
S_flag 2
swap flag 2
DI_S2 3 … 0
Data Input word 2 from Safety Code Table
S_flag 3
swap flag 3
DI_S3 3 … 0
Data Input word 3 from Safety Code Table
S_flag 4
swap flag 4
DI_S4 3 … 0
Data Input word 4 from Safety Code Table
S_flag 5
swap flag 5
DI_S5 3 … 0
Data Input word 5 from Safety Code Table
S_flag 6
swap flag 6
DI_S6 3 … 0
Data Input word 6 from Safety Code Table
S_flag 7
swap flag 7
DI_S7 3 … 0
Data Input word 7 from Safety Code Table
Safety_Mode_Enable
If set, Safety Mode can be enabled
Safety_Program_Mode_Disable If set, Safety Area is protected against overriding
Similar to the Firmware Area programming, Safety Area programming is intended to be used only during
production set-up of a slave component at the manufacturer’s site. Write Access to the Safety Area of the
E²PROM is feasible in the so called Safety Program Mode. It can be entered only if the
Safety_Program_Mode_Disable flag is not yet set and if the slave address was set to 0x0. In the case that the
slave address equals zero, the reception of the Enter_Program_Mode_Safety (PRGM) call sets the SAP5
device into the Safety Program Mode. It should be noted that no response is generated to the
Enter_Program_Mode_Safety call (refer to AS-i Complete Specification).
Being in the Safety Program Mode, the Write_Parameter (WPAR) and Data_Exchange (DEXG) calls are used
to transfer data words to the E²PROM similar to the Firmware Area write procedure described above.
However, the address bits A4...A0 of the master telegrams are used to address one of the memory locations
of the E²PROM (refer to Table 11). The information bits I4...I0 (normally used for output data) carry the data
which shall be stored.
Data Sheet
July 17, 2012
© 2012 Zentrum Mikroelektronik Dresden AG — Rev. 3.1
All rights reserved. The material contained herein may not be reproduced, adapted, merged, translated, stored, or used without
the prior written consent of the copyright owner. The information furnished in this publication is PRELIMINARY and subject to
changes without notice.
26 of 62