| Electronic Components Datasheet Search |
|
ADAV400 Datasheet(PDF) 20 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADAV400 Datasheet(HTML) 20 Page - Analog Devices |
|
20 / 36 page ![]() ADAV400 Rev. A | Page 20 of 36 RECOMMENDED PROGRAM/PARAMETER LOADING PROCEDURES When writing large amounts of data to the program or parameter RAM in direct write mode, disable the processor core to prevent pops or clicks in the audio output. The ADAV400 contains several mechanisms for disabling the core. If the loaded program does not use the target/slew RAM as the main system volume control (for example, the default power-up program), 1. Assert Bit 9 (low to assert—default setting) and Bit 6 (high to assert) of the audio core control register. This clears the accumulators, the serial output registers, and the serial input registers. 2. Fill the program RAM using burst mode writes. 3. Fill the parameter RAM using burst mode writes. 4. Assert Bit 7 of the audio core control register to initiate a data memory clear sequence. Wait at least 100 μs for this sequence to complete. This bit is automatically cleared after the operation is complete. 5. Deassert Bit 9 and Bit 6 of the audio core control register to allow the core to begin normal operation If the loaded program does use the target/slew RAM as the main system volume control, 1. Assert Bit 12 of the audio core control register. This begins a volume ramp-down, with a time constant determined by the upper bits of the target RAM. Wait for this ramp-down to complete (the user can poll Bit 13 of the audio core control register, or simply wait for a given amount of time). 2. Assert Bit 9 (low to assert) and Bit 6 (high to assert) of the audio core control register. This clears the accumulators, the serial output registers, and the serial input registers. 3. Fill the program RAM using burst mode writes. 4. Fill the parameter RAM using burst mode writes. 5. Assert Bit 7 of the audio core control register to initiate a data memory clear sequence. Wait at least 100 μs for this sequence to complete. This bit is automatically cleared after the operation is complete. 6. Deassert Bit 9 and Bit 6 of the audio core control register. 7. If the newly loaded program also uses the target/slew RAM, deassert Bit 12 of the audio core control register to begin a volume ramp-up procedure. TARGET/SLEW RAM The target/slew RAM is a bank of 64 RAM locations, each of which can be set to autoramp from one value to a desired final value in one of four modes. When a program is loaded into the program RAM using one or more locations in the slew RAM to access internal coefficient data, the target/slew RAM is used by the DSP. Typically, these coefficients are used for volume controls or smooth cross-fading effects, but they can also be used to update any value in the parameter RAM. Each of the 64 locations in the slew RAM is linked to a corresponding location in the target RAM. When a new value is written to the target RAM using the control port, the corresponding slew RAM location begins to ramp toward the target. The value is updated once per audio frame (LRCLK period). The target RAM is 34 bits wide. The lower 28 bits contain the target data in 5.23 format for the linear and exponential (constant dB and RC) ramp types. For constant time ramping, the lower 28 bits contain 16 bits in 2.14 format and 12 bits to set the current step. The upper six bits are used to determine the type and speed of the ramp envelope in all modes. The format of the data write for linear and exponential formats is shown in Table 12. Table 13 shows the data write format for the constant time ramping. In normal operation, write data to the target/slew RAM using the safe load registers as described in the Safe Load Registers section. A mute slew RAM bit is included in the audio core control register to simultaneously set all the slew RAM target values to 0. This is useful for implementing a global multichannel mute. When this bit is deasserted, all slew RAM values return to their original premuted states. Table 12. Linear, Constant dB, and RC Ramp Data Write Byte 0 Byte 1 Bytes [2:4] 000000, curve_type [1:0] time_const [3:0], data [27:24] data [23:0] Table 13. Constant Time Ramp Data Write Byte 0 Byte 1 Bytes [2:4] 000000, curve_type [1:0] update_step [0], #_of_steps [2:0], data [15:12] data [11:0], reserved [11:0] There are four types of ramping curves: • Linear. The value slews to the target value using a fixed step size. • Constant dB. The value slews to the target value using the current value to calculate the step size. The resulting curve has a constant rise and decay when measured in decibels. • RC. The value slews to the target value using the difference between the target and current values to calculate the step size, resulting in a simple RC response. • Constant Time. The value slews to the target value in a fixed number of steps in a linear fashion. The control port mute has no effect on this type of ramping curve. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |