Сергій Слободян Posted December 11, 2017 Posted December 11, 2017 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. 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
felipeduque Posted September 5, 2018 Posted September 5, 2018 I2S left-justify requires audio_format = 3. As far as I'm concerned, there is no audio_format = 0. But I think you may run into hardware issues with I2S on OPi zero. See this post.
Recommended Posts