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.

3254 serial data format (Signed? Unsigned?)

Hi,

I could not find any documentation regarding the difference between the serial data formats on 3254 codecs in

  • One Clock delayed Left Justified Format (Data Unsigned or signed?)
  • I2S Format (Data Unsigned or signed?)

By the nature of the I2S, the serial data should be in 2's complement format. (is that the case in 3254??)

But if one clock delayed Left Justified mode is selected will the data format be unsigned or signed (twos complement)?

We'll be using I2S format on 3254. We need to make sure that the data we get from 3254 is in 2's complement form.

Can we clarify this? Or is there a document stating the data formats of each serial data selection on 3254? (I2S, Left Justified, Right Justified...)

  • Hi, igok,

    The data format for all the protocols is 2's complement (signed). The data range is from 0x8000 to 0x7FFF and the mid-range is 0x0000 (for a 16-bit word length). Even if there's a clock delay (or data offset), the data format is respected and the MSB will be used for the sign.

    I hope this helps you. If you still have questions or comments, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Thanks for the information and the quick response