- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
34
4.4. Saving Parameters to EEPROM
4.4.1. EEPROM Write Command and Address Map
EEPROM can be connected to DSP (CXD3172AR), and parameters can be saved and loaded at restart in the
SS-HQ1 system.
The "EEPROM write command" is a "command to write parameter values saved in registers in DSP (including
firmware controlled parameter values) to EEPROM". To write parameter values in the PC or external
microcomputer to EEPROM, the firmware controls need to be stopped beforehand and the register values
changed (temporarily stored) beforehand.
The address map to EEPROM shown in the figure below is accessed in SS-HQ1. Mapping is performed in
1-byte units, therefore, the address length becomes 512 words x 2 bytes = 1024 bytes, address (0-3FF[h]).
Table 4.4-1 EEPROM Map of SS-HQ1 System
Map Address
contents
EEP Word
000h
001h
Chip_ID code
000h
002h
-
131h
CAT_12-21 parameters
001h
-
098h
132h
-
27Bh
CAT_1-4, 6-11,24 parameters
099h
-
13Dh
27Ch
-
3FFh
Prohibition of use
13Eh
-
1FFh
CAT5 (undisclosed, for firmware control) and CAT22, CAT23 (serial output) categories fall outside the scope of
parameter saves to EEPROM.
Do not overwrite address 27C[h] - 3FF[h].
< Important Items >
During the power-on sequence (initial processing), DSP (CXD3172AR) reads the EEPROM addresses 000[h],
001[h], and refers to the "chip ID code". If the specified value does not coincide, access to EEPROM (both read
and write) is terminated recognizing that "EEPROM is invalid".
To write "chip ID code," the "EEPROM ALL WRITE command" must be executed.