OPi Zero I2S Left Justify


Recommended Posts

Hello!

I want to connect to the I2S the DAC PT8211. But it has an another coding format - left justified (Sony) 16 bit. 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.

rbd1atwkxdjoyiqfm789eucr8.jpg

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 = port:PA18<2><1><default><default>
i2s_bclk = port:PA19<2><1><default><default>
i2s_dout0 = port:PA20<2><1><default><default>
i2s_din = port:PA21<2><1><default><default>

 

Armbian 3.14 sun8i

 

 

Link to post
Share on other sites
Donate and support the project!

Guest
This topic is now closed to further replies.