Please be aware of all shipping deadlines before placing your order - we cannot guarantee orders will arrive before Christmas!

STA013 little problem
Moderators: adafruit_support_bill, adafruit

STA013 little problem

by spazio on Sat Mar 10, 2007 8:01 am

Hi! I'm building a player with sta013 atmega128 and MMC card. It sounds fine, but there is a problem with some files. sta013 requests data, mega sends some (1 frame or 1 sta013 buffer may be) and than sta013 outputs clock signal of 14,7something MHz on it's DATA_REQ pin only!? Mega never exits it's interrupt routine, so it also stops running. Only a restart from power fixes it. Why some files play fine everitime, and some 1 of 10? It's not the speed Mega sends data quick enough.
spazio
 
Posts: 2
Joined: Sat Mar 10, 2007 7:12 am

by nzmike on Sun Sep 02, 2007 9:14 pm

The DATA_REQ line can bet set as a clock in a different operational mode (STA013 master mode). This can be changed by writing to configuration registers on the STA013. Double check and make sure it is set to the right mode.
nzmike
 
Posts: 2
Joined: Sun Sep 02, 2007 9:10 pm