vs1003 max speed

Designing hardware that uses VLSI Solution's devices as slave codecs such as an external MP3 decoder chip for a host microcontroller.
Post Reply
chendong3160
Senior User
Posts: 49
Joined: Thu 2011-10-20 5:03

vs1003 max speed

Post by chendong3160 » Tue 2019-05-28 12:22

HI.
I set vs1003 clock reg is 0xe000, the max write spi speed is 4.5*12.288/4=11m, but when mcu set spi 11m, vs1003 is not work. but 1063 is ok.
why? thanks!

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2717
Joined: Tue 2010-06-22 13:43

Re: vs1003 max speed

Post by Panu » Tue 2019-05-28 13:41

Hmm, VS1003 datasheet says 4.0X is maximum... can you check if it works at 4X ? (Maybe it's the core that fails, not the SPI bus)

What is the maximum SPI speed that DOES work in your board with the VS1003 and your MCU?

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

chendong3160
Senior User
Posts: 49
Joined: Thu 2011-10-20 5:03

Re: vs1003 max speed

Post by chendong3160 » Tue 2019-05-28 17:02

vs1003 clock is correct. I read it after I set the clock register.the value is 0xe000. but vs1003 is not work. But this code is available on 1063.

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

Re: vs1003 max speed

Post by pasi » Mon 2019-06-17 10:46

vs1003b and vs1063a use a different manufacturing process, their specifications differ. Also the CLOCKF register settings differ slightly.

In vs1003b SCI_CLOCKF 0xe000 is 4.5x. 4.5x 12.288MHz = 55.3MHz is over the 52MHz maximum specification for vs1003b.
In vs1053a SCI_CLOCKF 0xe000 is 5.0x. 5.0x 12.288MHz = 61.44MHz is well within the 67.6MHz maximum specification for vs1063a.

With vs1003b and 12.288MHz crystal the highest value you can use is 0xc000 for SCI_CLOCKF.
Visit https://www.facebook.com/VLSISolution VLSI Solution on Facebook

Post Reply