I’m currently trying to configure the i2s and everything’s working fine except the FSYNC OFFSET which i can’t seem to be able to change usign amixer API. Using the dsp-a codec mode, we can have a 1-bit delay but we need a 2-bit delay. So my thoughts are to go directly inside the register fields controlling the offset.
For I2S1 as an example, the address is 0x02901000 and the offset following the TRM is 0x24: [for now, I cant seem to be able to add an image…]
So maybe i should just use busybox devmem 0x02901024 w 0x00000200 (since data offset are located at bit 18:8)?
I added the print line to the kernel, followed the same building steps as before and nothing appears in both flash.log and dmesg.log. I tried modifying i2s codec function using alsamixer but it did not print the “Data offset” line.
What are the next steps to figure out why it does not change the register for data offset?
If print is not observed that means the modified i2s driver is not flashed.
I2S driver is a module, did you modify it to be part of kernel image itself?
If not, please make sure to update the *.ko module.
Also, please note that the print will be available only if you are setting the I2S format to dsp_a.
If still it doesn’t work please share the mixer settings.