PNI SENtral User Manual
Page 19
PNI Sensor Corporation
Doc #1018049 R03
SENtral Technical Data Sheet
Page 18
to change the Configuration File depending on the sensors. As previously mentioned, the
EEPROM should be connected to SENtral via SENtral’s sensor bus.
Table 5-1: Configuration File Upload from EEPROM Registers
Register Name
Address Register Value
SentralStatus
0x37
[0] EEPROM. 1 = EEPROM detected
[1] EEUploadDone. 1 = EEPROM upload completed
[2] EEUploadError. 1 = Calculated CRC of EEPROM is
incorrect. Only valid when EEUploadDone = 1.
[3] Idle. 1 = Device in Unprogrammed or Initialized state.
[4] NoEEPROM. 1 = No EEPROM detected.
ResetReq
0x9B
[0] ResetRequest. 1 = Emulate a hard power down/power up.
SENtral automatically checks the sensor bus after powering up or reseting to see if an
EEPROM is connected on the sensor bus. If an EEPROM is detected, SENtral checks
the first 2 bytes of the EEPROM file, which are fixed for all SENtral Configuration Files,
and if these match then it automatically uploads the SENtral Configuration File. Once
the upload is complete, SENtral enters Initialized State and waits for instructions from the
host. If an EEPROM is not detected, SENtral enters Unprogrammed State.
The host should confirm a successful EEPROM upload by following the steps below:
Read the value from the SentralStatus register.
Check bit [0], the EEPROM bit, to ensure an EEPROM is detected by SENtral.
Check bit [1], the EEUploadDone bit. If this is ‘0’ then the Configuration File upload
is not complete, and reread the SentralStatus register until bit [1] = 1.
Once bit [1] = 1, check bit [2], the EEUpload Error bit. If this is ‘0’, then the upload
was successful.
If the Configuration File upload failed, try the following:
Reinitialize SENtral and retry the process. Send a Reset command by writing 0x01 to
the ResetReq register.
Upload the Configuration File from the host, as discussed in the next section.
Download the Configuration File from the EEPROM and verify its contents, as given
in Appendix I – Configuration File Image Format.
Reload the Configuration File from the host into the EEPROM.