DocID024543 Rev 1
99/162
STA380BW
Register description: New Map
Direct single-write procedure
1.
Set reg 0x7E bit 0 to 1 and bit 1 to 0 to enable the direct RAM access in single-write
mode.
2. Write the coefficient value to the device using an I
2
C bus single-write operation as
discribed in
Figure 30. Coefficients direct access single-write operation
Direct multi-write procedure
1.
Set the reg 0x7E bit 0 to 1 and bit 1 to 1 to enable direct RAM access in multi-write
mode.
2. Write the coefficients value to the device using an I
2
C bus multi-write operation as
discribed in
. Please note that by using the multi-write procedure, it is possible
to write the entire RAM contents at once.
Figure 31. Coefficients direct access multiple-write operation
Direct single-read procedure
1.
Set reg 0x7E bit 0 to 1 and bit 1 to 0 to enable the direct RAM access in single-read
mode.
2. Read the coefficient value from the device using an I
2
C bus single-read operation as
discribed in
Figure 32. Coefficients direct access single-read operation
Please be aware that the STA380BW supports 24-bit coefficients, for this reason in the
above figures Coeff_x(0) is always equal to 0x00 when either reading or writing. The multi-
write procedure embeds a wrap-around mechanism: when trying to write into a location
exceeding the maximum coefficient address, the multi-write procedure will start from
location 0x00.
Slave address
S
w A
Mem Addr
A
Coeff_0(3)
A
Coeff_0(2)
A
Coeff_0(1)
A
Coeff_0(0)
A
Coeff_1(3)
A
Coeff_1(2)
A
Coeff_1(1)
A
Coeff_1(0)
A
Coeff_n(3)
A
Coeff_n(2)
A
Coeff_n(1)
A
Coeff_n(0)
A
Obsolete Product(s) - Obsolete Product(s)