pasi wrote:Mister110 wrote:I can read and write these 699 words so I haven't any problem reading AICTRL0 register.
I mean do the VU meter values change in AICTRL0?
And you do get the line /mic input signal played at the left+right outputs?
I'm sorry, you wrote AICTRL0 and I read SCI_HDAT1. So, for your first question about AICTRL0, I always read "0" during recording.
To see if there's any problem with this register or if I have a problem with my write/read VSregister function, I tried a "sine test":
Code: Select all
VS_writeRegister(SCI_AUDATA, 0xAC45); //Fs = 44'101Hz
VS_writeRegister(SCI_AICTRL0, 0x0500); //Left channel (861Hz)
VS_writeRegister(SCI_AICTRL1, 0x0500); //Right channel (861Hz)
VS_writeRegister(SCI_AIADDR, 0x4020); //start test
But there isn't any problem. The test starts and I can hear my 861Hz sinus. When I read SCI_AICTRL0 or SCI_AICTRL1, I find 0x0500 so there isn't any problem with my write/read VS register function.
For your second question, I can hear left and right outputs when I set line/mic. More noise is present on left channel but input signal played at both outputs.