I am looking at taking another stab at using SPI with EMC. Originally, I wanted to port the Rutex Windows driver and utilities to Linux. But for now, I need to take baby steps towards that goal.
I think controlling a spindle VFD (0 to +10V) with a MAX5312 ADC on the parallel port might be doable. I found an SPI driver: http://www.paul.de/downloadables/#spi-driver I could not compile this driver for my 2.6 kernel, but that may not be a big issue since for EMC, I need to have a kernel module for the RT kernel(?). I have studied the driver source, and I have been able to explore SPI I/O through bit banging a parallel port (using 32 bytes to transfer one 16 bit word seems a waste). So now, I guess I need to learn how to use HAL's comp utility to compile a max5312_parport.ko file which would contain a function for each pin I need to use? I was thinking of studying some of the currently installed drivers, but so far I have only found the .ko files. Are there any .c versions? Thank you all for any help. Kirk Wallace ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users