sorry my mistake the code is attached now. the spmode register is in loopback mode to test the driver. the problem is when we set the rx_buffer_desc. to 0xb000 it does not return to empty state after the writing has finished. the writing part is working (I can see it from oscilloscope) thanks ----- Original Message ----- From: "Yigit Can" <yigit.can@karel.com.tr> To: "linux c programming" <linux-c-programming@vger.kernel.org> Sent: Wednesday, June 25, 2003 5:29 PM Subject: SPI driver > > Hello, > > I'm trying to write an SPI driver for 850_ppc kernel > > I have written some code according to the datasheet and some samples. > > I can send data but I am not able to receive any data > > any comments ? > > Thank you > > Yigit >
Attachment:
cpm_spi.c
Description: Binary data