English
Language : 

AMG-XB404 Datasheet, PDF (16/73 Pages) alpha microelectronics gmbh – Fully Integrated Single Motor Controller for Electrical Motors
AMG-XB404
Fully Integrated Single Motor Controller for Electrical Motors
5.2.23. Status Register
The status register SREG contains the global interrupt enable flag GIE and the MCU’s status bits.
These bits are the transfer flag (TO), the half carry flag (HO), the signed flag (SO), the twos
complement overflow flag (VO), the negative flag (NO), the zero flag (ZO), and the carry flag (CO)
as summarized in table 5.
Bit
7
6
5
4
3
2
1
0
Register Comment
name
Write
Read
GIE
TO
HO
SO
VO
NO
ZO
CO
MCU status
GIE
TO
HO
SO
VO
NO
ZO
CO
SREG
register
Initial value
0
0
0
0
0
0
0
0
Table 5: Status register
5.3. Analog Data Aquisition Unit (ADAQ)
The Analog Data AQuisition block features the measurement of external voltages and their use for
system control purposes. Its heart is a single 10 bit 2M samples/s Successive Approximation
Register (SAR) - ADC. The ADC is shared by the AMG-XB404’s DMCE, PFC controller, and MCU.
In addition it contains measuring amplifiers, a multiplexer and an ADC interface.
5.3.1. ADC Interface
The ADC interface serves to arbitrate between all units requiring sample values and the ADC.
There are three general purpose ADC channels, a voltage monitor channel and a temperature
monitor channel dedicated to the MCU. Conversion status and the results of these channels can
be acquired by reading the ADC's IO registers via the on-chip bus.
For the general purpose ADC channels conversions are triggered by port writes, the unit can raise
an interrupt flag to indicate a completed conversion. The conversion status and result can be
acquired by reading the ADC interface's IO registers. An analog multiplexer is used to select the
desired internal or external signal source as shown in figure 8.
Every ADC channel has got a systematic offset. Offset correction values are stored in the ADCOFF
registers in the IO port expander module (see section 5.2 p. 9). ADC channels, PFC VAC, PFC
VDC, chip-temperature and VDD are automatically corrected by their offset values when sampled.
AMG-XB404
Revision: A
2. Nov. 2012 © All rights reserved
Page 16 of 73