Hi folks,
I'm developing a custom SPI driver (char device) on a MPC5200b, the microcontroller linked as slave implements a protocol that must follow strict timing constraints. I need to receive and send messages every 6msec. Actually there is a user space program that synchronizes the two units, but I would prefer to eliminate it and move the relative code into the kernel space. Is it possible to have a non returning function, with a sort of while(1) inside?

Thanks for the help

Paolo