12.2. AIΒΆ

Debugging Information

/ # cat /proc/audio_debug/cviteka_adc ------------- CVI AI ATTRIBUTE ------------- AiDev Workmode SampleRate BitWidth  0 slave 128000 16 ------------- CVI AI STATUS ------------- I2S0 is off SDMA clk is off ADC is off (0) L-Mute R-Mute  no no L-Vol R-Vol  0 0 

Debugging Information Analysis

recordcurrentAudio inputDeviceParameterandStatusInformation.

Parameter Description

Parameter

Description

AiDev

AIDevice number

Workmode

AIOperating mode:

master: I2S master mode

slave: I2SfromMode

SampleRate

Sample rate. Range [8k ~ 48K]

BitWidth

Sampling precision. Range: [16bit]

I2S0

I2S status for ADC codec connection

on: Enable

off: Close

SDMA clk

sysDMA clockStatus

on: Enable

off: Close

ADC

ADC codec Status

0x0: Close

0x3: Enable

L-Mute

leftAudio ChannelMuteMode:

yes: MuteModeEnable

no: MuteModeClose

R-Mute

rightAudio ChannelMuteMode:

yes: MuteModeEnable

no: MuteModeClose

L-Vol

leftAudio Channel. Range [0~24]

R-Vol

rightAudio Channel. Range [0~24]