Boosting VS1053 SDI speed

Writing software for systems that use VLSI Solution's devices as slave codecs to a host microcontroller.
Post Reply
sg61
User
Posts: 6
Joined: Mon 2010-08-23 22:29

Boosting VS1053 SDI speed

Post by sg61 » Sat 2010-09-18 18:03

Hi,

According to datasheet max SPI speed for write is CLKI/4 = 3MHz. If I use a 24.576MHz crystal (and set SM CLK RANGE bit), what will be the SPI max speed ? 3 or 6 MHz ?

Thanks.

User avatar
pasi
VLSI Staff
Posts: 1466
Joined: Thu 2010-07-15 16:04

Re: Boosting VS1053 SDI speed

Post by pasi » Tue 2010-09-28 20:53

sg61 wrote:If I use a 24.576MHz crystal (and set SM CLK RANGE bit), what will be the SPI max speed ? 3 or 6 MHz ?
When you set the CLK_RANGE bit you effectively and in actuality divide the input clock by 2, so the whole chip sees only 12.288MHz clock. So, after reset you should use max 3MHz because CLKI is 12.288MHz. After you have written CLOCKF and it has taken effect, you can switch to higher SPI clock.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

sg61
User
Posts: 6
Joined: Mon 2010-08-23 22:29

Re: Boosting VS1053 SDI speed

Post by sg61 » Wed 2010-09-29 22:39

on thanks, it works : Q=12.288MHz, MULT=4.5x, ADD=0 => Fc=55.296MHz, Fspi = 6.67MHz (it don't work at 10MHz, signal integrity is not good)

xuanvn
User
Posts: 17
Joined: Wed 2013-12-25 6:02

Re: Boosting VS1053 SDI speed

Post by xuanvn » Wed 2014-02-26 5:52

Hi,

I got a similar problem. Can you tell me how to calculate the SPI Speed of VS1053?
I only found on the datasheet of VS1053 (page 22) that the maximum speed for SCI read is CLKI/7. No where mention the max SDI speed is CLKI/4 ???

Thanks in advance.

User avatar
pasi
VLSI Staff
Posts: 1466
Joined: Thu 2010-07-15 16:04

Re: Boosting VS1053 SDI speed

Post by pasi » Wed 2014-02-26 17:25

It seems not be be said directly, but tWL and tWH are both 2 x CLKI, so the max SDI speed is CLKI/4.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply