Hi,
I am using AIC3268 miniDSP to create a stereo multiplexer component for mux select.
There are 3 stereo channel inputs and one stereo channel output in the mux.
The below is mux properties in the PurePath Studio GDE:
Component Interface 1 {Coef=0x1B}
DSPCoefBlockStartAddr 0x1B
DSPCoefBlockStartLeng 0x1
I2CBook 0x50
I2CPage 0x1
I2CRegister 0x74
I have some questions about I2C interface of mux:
(1) In the "help" document of stereo multiplexer component, there are a Configurable Properties(Run Time): MuxSelect
How could I modify this properties(select input channel : 1 or 2 or 3) in our kernel driver?
I have tried to read the MuxSelect property via I2C interface as below:
aic326x_codec_read[0x500174]: book 80, page 1, offset 0x74, value 0
aic326x_codec_read[0x500175]: book 80, page 1, offset 0x75, value 0
aic326x_codec_read[0x500176]: book 80, page 1, offset 0x76, value 3
3 shows the default input channel of the mux, why it is in offset 0x76? 0x74 is MSB, 0x76 is LSB? The register size of miniDSP is not 4 Bytes(0x74 0x75 0x76 0x77)?
(2) How could I write the register of miniDSP via I2C interface ?
Are there any examples or document?
Thanks!
BR,
Steven