I2S audio driver in Master mode,HOW TO set the BCLK parameter

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
winwan
Senior User
Posts: 79
Joined: Fri 2014-07-04 15:51

I2S audio driver in Master mode,HOW TO set the BCLK parameter

Post by winwan »

I2S audio driver in Master mode, I want to set the BCLK parameter, X*fs, such as 32fs,64fs,128fs....... At present, there seems to be no interface for this setting, which is very inconvenient
Hannu
VLSI Staff
Posts: 530
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: I2S audio driver in Master mode,HOW TO set the BCLK parameter

Post by Hannu »

BCK is bit the clock. It is always 2*16 or 2*32 time Fs

You want MCLK to be X*fs. MCLK is 12.288 MHz. 48 kHz sampling rate is 256 times lower than MCLK 96 kHz is 128.
winwan
Senior User
Posts: 79
Joined: Fri 2014-07-04 15:51

Re: I2S audio driver in Master mode,HOW TO set the MCLK parameter

Post by winwan »

Sorry, wrong number
I2S audio driver in Master mode, I want to set the MCLK parameter, X*fs, such as 32fs,64fs,128fs....... At present, there seems to be no interface for this setting, which is very inconvenient
Hannu
VLSI Staff
Posts: 530
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: I2S audio driver in Master mode,HOW TO set the BCLK parameter

Post by Hannu »

MCLK is fixed to XTALI. Also the I2S HW is clocked from XTALI. That way you get good clocking for your external DAC. PLL based clocking options wouldn't be as good as crystal locked.

If you want specific N*fs MCLK, change the Fs.
Post Reply