so after days of trying to get SPI working on my ATMega8 i capitulate and ask you for help. I've connected a VS1001k trough SPI with my Mega8 like it was done in the yampp7 (www.yampp.com) project. After writing a byte to SPDR register i can wait till i'm 80 for the SPIF Flag.
I've configured MOSI, SS and SCK as Outputs while MISO is an Input.
I've set the SPE and the MSTR Bit in the SPCR register.
I've tryed setting SS as Input or Output, pulled low and pulled high,... but the programm hangs alsways when i'm testing the SPIF bit...