I'm trying to use the SPI port on the DM644x (I'm modifying the kernel to allow the DM644x to access the SPI port), but I'm not sure which SPI write and read routines to use. Should I use the bitbang routines? Does this tie up the processor unnecessarily? I am trying to write to the SPI port for a CMOS image sensor that uses SPI from a kernel-level driver. I'm trying to copy routines that do similar things but use I2C. I'd appreciate any insight into this.
Thanks,
Brian