English
Language : 

AMG-XB404 Datasheet, PDF (33/73 Pages) alpha microelectronics gmbh – Fully Integrated Single Motor Controller for Electrical Motors
AMG-XB404
Fully Integrated Single Motor Controller for Electrical Motors
PFC algorithm is in PLL mode when the LSB of PFC_EN is set to 0. In this state the reference
counter is synchronized with the mains frequency, the PWM output is not modulated. Power factor
correction is started by setting the LSB of PFC_EN to 1. The PWM output will be modulated
accordingly.
The value of the CORANG register returns a lookup-value of an incremental angle used when
performing a CORDIC algorithm for sine and cosine calculation. The value is addressed by the four
least significant bits of the CNT register. This register is meant for the CORDIC hardware's internal
use only.
Addresses 32 to 63 of the data memory are used to access a 16 bit wide 32 words deep data
SRAM. In contrast to data registers, reading constants and ports from the SRAM requires two
clock cycles. Moreover, a data SRAM address may not be used in arbitrary combination with other
values. See table 12 p. 29 for a list of all valid commands.
5.5.3. Accessing the PFC Controller via the On-Chip Bus
The PFC controller can only be accessed via the SPI interface if the IC is not locked, see
section 5.7.1 page 37. As shown in table 14 two 8 bit registers, one data register, and one
command and status register can be used to communicate with the PWM. When writing data to the
PFC controller it is written to the data register before executing the write by sending the
appropriate command to the command and status register. Data is read from the PFC controller by
sending the appropriate read command to the command and status register and reading back one
byte of the data register. Values wider than eight bits are transferred using multiple 8 bit transfers.
Bit
7
6
5
4
3
2
1
0
Register Comment
name
Write/Read
DAT[7:0]
Data
PFCD
register
Initial value
0
0
0
0
0
0
0
0
Write
Read
CMD[7:0]
ITCNT[6:0]
START
PFCSC
Status and
command
register
Initial value
0
0
0
0
0
0
0
0
Table 14: PFC controller registers
AMG-XB404
Revision: A
2. Nov. 2012 © All rights reserved
Page 33 of 73