Wave shield spi clk speed on mega2560

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
stmarco
 
Posts: 5
Joined: Thu May 05, 2011 5:51 am

Wave shield spi clk speed on mega2560

Post by stmarco »

Hi,

i've been experimenting with the wave shield on an Arduino Uno with the wave_hc lib and everything works fine.
now i switched to an Arduino Mega 2560 (ADK) and made the spi pin adjustments (50,51,52,53)

the problem i'm having is when i load a test sketch that plays the wav files in a loop everything plays with a very reduced speed (16x slower)

the clock speed SPI CLK with the Uno is higher than with the mega

is there a software part i need to adjust?

thanx

Marco

stmarco
 
Posts: 5
Joined: Thu May 05, 2011 5:51 am

Re: Wave shield spi clk speed on mega2560

Post by stmarco »

Problem Solved :D :D :D

the fusebits of my atmega where wrong -> the atmega was running on internal oscillator instead of crystal -> things went much to slow

u changed the fusebits with avr studio

problem solved

:lol:

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”