View: 4552|Reply: 0

OPI Zero PCM sound with Left Justify (not I2S!) not working

[Copy link]

1

threads

1

posts

13

credits

Novice

Rank: 1

credits
13
Published in 2017-12-13 18:04:26 | Show all floors |Read mode
        Hello!
        I want to connect to the I2S the DAC PT8211. But it has an another coding format - left justified (Sony) 16 bit - not true I2S. I have already put a 16-bit frame in script.fex, but I can not do the LJ. On the test sine signal, the tip of the sine is turned upside down.
       
        Tell me how to change the output format of the stream from I2S to the Japaneese Left Justify?

        This part of my fex:

        [pcm0]
        daudio_used = 1
        daudio_master = 1
        daudio_select = 1
        audio_format = 0
        signal_inversion = 1
        mclk_fs = 64
        sample_resolution = 16
        slot_width_select = 16
        pcm_lrck_period = 16
        pcm_lrckr_period = 1
        msb_lsb_first = 0
        sign_extend = 0
        slot_index = 0
        slot_width = 16
        frame_width = 0
        rx_data_mode = 0
        i2s_mclk = portA18<2><1><default><default>
        i2s_bclk = portA19<2><1><default><default>
        i2s_dout0 = portA20<2><1><default><default>
        i2s_din = portA21<2><1><default><default>

        Armbian 3.14 sun8i

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list