Arduino SPI with AFE4490

with texas instrument's Analogue Front End chip AFE4490.

A link would be useful.

#include "AFE4490.h"

Where did you get this library? Where do you tell it which pins the device is connected to? The values for the Mega ARE the SPI pins for the Mega. The values you are using are NOT the SPI pins for the 328-based Arduinos. Why did you change the values?