[ELDK] spidriver

Bharathi K bharathik at icommtele.com
Mon Oct 24 08:43:57 CEST 2011


 

I am trying to develop spi driver  for mpc885 processor 

I am  able to write to the device  , but in master mode when I am trying to
read from the device  We are getting segmentation fault,As it is master  we
are generating the clock by dummy write 

 

If I am  trying to write using memset ,I am not getting any segmentation
fault.

 I think it is the alignment problem 

 

I am attaching the code we are using 

Please give me the suggestion

 

Regards

Bharathi

 

 

 

 

 



More information about the eldk mailing list