beautypg.com

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

Page 33

background image

PNI Sensor Corporation

Doc #1020129 revE

SENtral M&M Technical Datasheet

Page 32

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 A2-1 shows the Parameter Load process by which the host loads parameter data into

SENtral.

Figure A2-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 A2-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