This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320DAC3203EVM-K: Adaptive Filtering Feature

Part Number: TLV320DAC3203EVM-K

Hi Ivan,

I am again working on a script with Adaptive Filtering, using the EVM as start point.

While checking everything, I discovered the following lines on the command interface:

(this will be added to the command interface when I program the device for the use of the Adaptive Filtering Feature)

w 30 00 2C 04
w 30 00 2C
w 30 0C 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00

here,
w 30 00 2C 04
The script seems to change to Page 44, but then adds '04' which is a Reserved register (?)

The DAC3203 would then go into Auto Increment mode, but it has nothing to write into the register,
because the script changes again into page 44:

w 30 00 2C

and now, yes, writes into the corresponding registers
w 30 0C 00 00 00 00 0A BE 8D 00 00 00 00 00 00 00 00 00 00 00 00 00

Am I missing something here?

Anyway, the DAC3203 seems to catch this and works fine, but I want to be sure, not to add any potential bug into the code.

Thanks for the help and best regards,

Gustavo

  • Hi Gustavo,

    Let me clarify on what the GUI writes with this command line: w 30 00 2c 04
    You're correct that the script changes to page 44 by writing 0x2c into register 0. However, the value of 0x04 is not a register address, but the data to be written to the next register, in this case register 1 in page 44. This enables bit 2 from register 1 in page 44, which is "Adaptive filtering enabled for DAC".

    This is OK and should not cause any issues to implement in your script.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Thanks Ivan! 
    You are right, my mistake!
    This is driving me crazy ;)
    Best regards and thanks again,

    Gustavo