I'm using a 7200 board from Embedded Arm. The board hosts the linux kernel 2.6 and mount an EP9302 arm9. We need to use the SPI interface in order to communicate with an accelerometer (the LIS3DSH) and some PT100 (MAX31865).
Our approach to the problem is literally based on bitbanging the EP9302 registers like in this example provided by the Embedded Arm (file tempSensor.C at ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7200-linux/samples/). Note that the sensor in this case is "embedded" in the board itself. Finally we program in C.
Unfortunately all our attempts have failed. So question: Do you know how to use SPI on the EP93xx? Any code or example?