SA9903B
ssaammeess
OUTPUT SIGNALS
SPI-INTERFACE
SERIAL DATA OUT (DO)
DESCRIPTION
The DO pin is the serial data output pin for the SA9903B. The
Serial Clock (SCK) determines the data output rate. Data is
only transferred during on active chip select (CS). This output
is tri-state when CS is low.
A serial peripheral interface bus (SPI) is a synchronous bus
used for data transfers between a micro controller and the
SA9903B. The pins DO (Serial Data Out), DI (Serial Data In),
CS (Chip Select), and SCK (Serial Clock) are used in the bus
implementation. The SA9903B is the slave device with the
micro controller the bus master. The CS input initiates and
terminates data transfers. A SCK signal (generated by the
micro controller) strobes data between the micro-controller
and the SCK pin of the SA9903B device. The DI and DO pins
are the serial data input and output pins for the SA9903B,
respectively.
MAINS VOLTAGE SENSE ZERO CROSSOVER
(FMO)
The FMO output generates a signal, which follows the mains
voltage zero crossings, see figure 4. The micro controller may
usetheFMOtoextractmainstiming.
ELECTROSTATICDISCHARGE(ESD)PROTECTION
The SA9903B Integrated Circuit's inputs/outputs are protected
againstESD.
REGISTER ACCESS
The SA9903B contains four 24 bit registers. The content
represents active energy, reactive energy, mains voltage and
mains frequency. The register addresses are shown in the
followingtable:
POWERCONSUMPTION
The power consumption rating of the SA9903B integrated
circuitislessthan25mW.
Header
ID
1
Register
Active
A5 A4 A3 A2 A1 A0
bits
1
1
1
1
1
0
0
0
0
X
X
X
X
X
X
X
X
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
1
2
Reactive
Voltage
1
1
1
3
4
Frequency
Voltage
+5V (V )
DD
FM0
0V (V )
SS
Dr-01498
Figure 4: Mains voltage zero corssover pin FMO
5/12
http://www.sames.co.za