beautypg.com

Parameter load, Figure a3-1: parameter load process – PNI SENtral User Manual

Page 45

background image

PNI Sensor Corporation

Doc #1018049 R03

SENtral Technical Data Sheet

Page 44

The parameter transfer process is invoked and terminated by appropriately setting the

ParamTransfer bit in the AlgorithmControl register. Ten (10) registers are used for the

transfer and for handshaking between SENtral and the host. One set of four registers is

allocated to upload a parameter value to SENtral, and another set of four registers is used to

retrieve a currently saved parameter from SENtral. Values shorter than four bytes can be

transferred using only some of the registers. Two registers implement the handshake

mechanism between SENtral and the host. Note that data is stored in little Endian format.

Parameter Load

Figure A3-1 shows the Parameter Load process by which the host loads parameter data into

SENtral.

Figure A3-1: Parameter Load Process

Initially the parameter values must be written into the LoadParamByte registers followed by

sending a non-zero parameter number into the ParamRequest register. The parameter

numbers are given in Table A3-2. The MSB of the ParamRequest register should be set
to ‘1’ to indicate a Load procedure.
All five bytes can be written using a single I

2

C