Dear Ladies and Gentlemen,
The AMC1210 is used in a DC Motor Application in Combination with
two AMC1204BDWV.
The Data Format of Sinc Filter is in two's complent and
the value for High-level Threshold Register for Filter Module 1 (0x04)
is straight binary.
I have Interrupts although I have no Load connected. Current is 0A.
T think this problem has to do with with two's complent.
The Comperator can not distinguish small negative values from large positive values.
The Configuratio is like below:
================================
Oversampling of Sinc Filter and Comperator is 8 (Value 0-127)
The both High-level Threshold Register (0x04 , 0x0A) are set to 64 or 0x0040.
CTRL_PAR_REG_1 (0x01) Value: BIT 4
SINC_FIL_REG_1 (0x02) Value: BIT8 | BIT2 | BIT1 | BIT0 ;
L_THR_REG_1 (0x05) Value: Bit 8 set
CTRL_PAR_REG_2 (0x07) Value: BIT4 | BIT3
SINC_FIL_REG_2 (0x08) Value: BIT8 | BIT2 | BIT1 | BIT0 ;
L_THR_REG_2 (0x0B) Value: Bit 8 set
CLK_DIV_REG (0x1B) Value: BIT 11 | BIT4;
CTRL_REG (0x19) Value: BIT 13 ;
My idea was to set the Interrupt only with the High Level Threshold
and look at low Level Flag too.
The L_THR_REG_1 +2 (0x05 , 0x0B) set with Values above the Range.
So i can distinguish small negative values from large positive values.
The problem is , that the low level Flag is only active, when the Low level
Interrupt is active.
But then I have Interrupts for ever.
Do You have an workaround ?
Many Thanks in advance